My log file will be continuously extended with new rows. I’d like to implement sensor, which informs me only if new errors happens. Example:
17.02.2016;15:30:24;"JOB1";"BATCH 5003";gestartet;"" 17.02.2016;15:30:24;"JOB2";"BATCH 5005";gestartet;"" 17.02.2016;15:30:25;"JOB1";"BATCH 5003";beendet;"" 17.02.2016;15:30:25;"JOB2";"BATCH 5005";beendet;"" 15.02.2016;15:31:44;”JOB3”;"BATCH PAT Export";FEHLER;"strValue"
Because the configured search text “FEHLER” was logged, the mail about error should be sent by PRTG to me. Only if the next error happens the next mail should be sent me again. The count of “FEHLER” entries is not important for my requirement.
I tried to use the option “Only transmit to PRTG new lines …”. This option counts all rows with the text “FEHLER” and it sends me a mail one time daily if I configure the Threshold Trigger. When I configure the Change Trigger I get no messages although the count of matches was changed.
Is there any possibility to implement my requirement with PRTG Network Monitor?
Article Comments
Thank you. How I understood Paessler will add this requirements to Feature request.
Feb, 2016 - Permalink
Dear dimipilip
At this time, we have no plans to offer such feature, because we are currently focusing on other features which are in higher demand. We might add such sensor option in the future; however as an overall goal, we offer the custom sensor API to allow users to add their own sensors. To phrase it differently, instead of covering every (niche) case, we try to cover the most important metrics and rather improve our custom sensor API than implementing more and more sensors and sensor options.
Feb, 2016 - Permalink
Dear dimipilip
There is no sensor provided with PRTG for this. The option "Only transmit to PRTG new lines at the end of the file" is a mere performance optimization.
If you can write yourself a script (for example in powershell) which only checks new lines, you can use that script as Exe/Script sensor.
Feb, 2016 - Permalink