File check isn't working
Posted: Fri Aug 26, 2016 8:02 am
I have a check which monitors a directory to make sure it is empty. If any files are present a notification should be sent. It used to work but not sure if after upgrade it stopped as I don't know when it stopped.
I have a file present called notify.txt. I am running Nagios XI 5.2.9.
Code: Select all
./check_nrpe -H lafwasp -t 55 -c check_files -a path=D:/ClassPathFiles/webservices/EAppSubmissinoServices/FileNotifications/ warning=count=1 critical=count=1
No drives found|'count'=0;1;1