Linux-Unix File Age

This template returns the age of a file on the target computer.

Prerequisites: SSH and Perl installed on the target server.

Credentials: Root user on target server.


Monitored Components

Linux-Unix File Age

This monitor returns the number of hours that have passed since the last file modification.

Note: Before using this monitor, the correct arguments should be set. This monitor requires the following arguments:

perl ${SCRIPT}
path_to_file
where
path_to_file
This is the full path to the target file. Regular expressions are not allowed.

Following is an example using the Scripts Arguments field:
perl ${SCRIPT}  /tmp/product.log


Last updated 12/2/2014