This template returns whether or not files exist on the target computer.
Prerequisites: SSH and Perl installed on the target server.
Credentials: Root user on the target server.
Monitored Components
Linux-Unix File Existence
This monitor returns whether files on the target server exist (1) or do not exist (0).
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 full path to target file. Regular expressions are allowed here.
Below is an example using the Scripts Arguments field:
perl ${SCRIPT} /tmp/product*
Last updated 12/2/2014