How to attache a file or get content of file using File Sensor?
Modified on 2025-06-10 13:59:51 +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.
How to attache a file or get content of file using File Sensor?
We would like to monitor a file using file sensor, if a file exists then PRTG will notify/Alert with the attachement of that file.
Is there a way to attached a file using custom notification?
or read the content of that file and place in the Alert Message?
Thanks.
Article Comments
The only way to do this would be to write a custom script to attach and send this file to an email. You could then use a notification that would run the script to send the file with the email as a notification. Custom Notifications
Dec, 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.
The only way to do this would be to write a custom script to attach and send this file to an email. You could then use a notification that would run the script to send the file with the email as a notification. Custom Notifications
Dec, 2013 - Permalink