I have set up a file monitor for a log file created by a script I wrote. I found this thread: https://kb.paessler.com/en/topic/12003-is-it-possible-to-monitor-a-text-log-file-with-prtg
But the problem I have is that I can't get the monitor to go back to normal state after it has triggered. I have set it to only send the latest lines, but once it has found a line with the text I'm looking for, the monitor goes to a warning state and stays there, even after it has read lines in that do not contain the target text.
I need the monitor to trigger once when it sees an error and then return to normal when it has seen non-error lines go into the log file.
Is this possible?