I have a tool that outputs a numeric value into a txt document and I need a way to monitor it. There will only ever be 1 value in the file as the contents are blanked out every time it runs. The File Content sensor seems like it would only alert me when there is a change rather then what the value is. Any help is appreciated.
Monitoring the contents of a file?
Modified on 2025-06-10 16:08:00 +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.
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.
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 zack949,
The File Content Sensor is able to search after a specific string in a file. However, if the value varies, the Sensor is not able to find that value.
In this case, I recommend using an EXE/Script Sensor to extract the value and send it to PRTG.
Best Regards,
Moritz Heller
Paessler Support Team
Aug, 2019 - Permalink