Random Project

Missing some code

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.