-
name: puppet
- nrpe: "/usr/lib/nagios/plugins/dsa-check-file-age -f /var/lib/puppet/state/state.yaml"
+ nrpe: "/usr/lib/nagios/plugins/dsa-check-file_age -f /var/lib/puppet/state/state.yaml"
hostgroups: lenny
excludehosts: agnesi
usage 3
fi
-if [ ! -r "$FILE" ]; then
+if [ ! -e "$FILE" ]; then
printf "state file %s is missing or unreadable\n" $FILE
exit 2
fi
+dsa-nagios-checks (74) stable; urgency=low
+
+ * -e is sufficient
+
+ -- Stephen Gran <sgran@debian.org> Thu, 21 May 2009 22:12:34 +0100
+
dsa-nagios-checks (73) stable; urgency=low
* Er, new test needs to be executable