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


Article Comments

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