Is there a sensor that retrieves the "creation date" of a file?


Article Comments

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.

Hello,

out of the box there is no such sensor. You might want to program such sensor yourself. It could be done with powershell. The script that has to return the result in a compatible format, using an Exe/Script custom sensor to get the data into PRTG.

Note that sensor data cannot be a date, only a number. Because of this, you might either want to return a date string as sensor message (but this is not stored as part of the historic data) or compute the age of the file and return the age.


Jul, 2020 - Permalink