Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
u.joss
byu.joss, May 11, 2017
Thanks for the script.
I had an additional requirement where a missing file is OK.
I therefore extended the script with the optional parameters -x or -X to define the response on missing files.
-x, --fail-on-not-exists
Returns WARN if the file does not exist.
-X, --ok-on-not-exists
Returns OK if the file does not exist.
If somebody is interested in that, you can find it here: https://github.com/ursjoss/check_fileage
I had an additional requirement where a missing file is OK.
I therefore extended the script with the optional parameters -x or -X to define the response on missing files.
-x, --fail-on-not-exists
Returns WARN if the file does not exist.
-X, --ok-on-not-exists
Returns OK if the file does not exist.
If somebody is interested in that, you can find it here: https://github.com/ursjoss/check_fileage