Home Directory

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Directory

jhirbour

Reviews(1)
byjhirbour, November 20, 2013
Line 10 of this check_file_ages_in_dirs.sh has:
" . $PROGPATH/utils.sh"

This file is not in the download that I can see.

In order to get this plugin working I needed to do the following:

1. Comment out the utils.sh "#. $PROGPATH/utils.sh"
2. Add the following below where utils.sh was
"
STATE_OK=0
STATE_WARNING=1
STATE_CRITICAL=2
STATE_UNKNOWN=3
"

This makes the plugin work.
Owner's reply

utils.sh is now provided with the package if you need it, RHEL/CentOS systems provide this file as part of the nagios-plugins package.