File Content Sensor with notifications
Modified on 2025-06-10 14:32:18 +0200
Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.
Important: We no longer maintain this article. The information might be out of date.
HI,
I am trialing PRTG and am trying to setup a log file watcher to check for a key word. I have managed to get this to work but as this is a program log, the key word is in the file a lot. So my question is can you just get the sensor to mail out the line with this key word if this occurs again but not show the sensor as in warning state as this will always show as warning.
Thanks
Chris
Article Comments
Hi,
I'm afraid it is not possible to check only for the last occurrence of a keyword. PRTG will always check the whole file for the given term.
Best regards
Jan, 2013 - Permalink
Disclaimer:
The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.
Hi,
I'm afraid it is not possible to check only for the last occurrence of a keyword. PRTG will always check the whole file for the given term.
Best regards
Jan, 2013 - Permalink