Page 1 of 1

File check isn't working

Posted: Fri Aug 26, 2016 8:02 am
by jkinning
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.

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
I have a file present called notify.txt. I am running Nagios XI 5.2.9.

Re: File check isn't working

Posted: Fri Aug 26, 2016 9:20 am
by jkinning
Disregard...I had a typo in my path. Doh! :shock:

Re: File check isn't working

Posted: Fri Aug 26, 2016 9:23 am
by lmiltchev
No problem. This happens. :)
I am locking the thread.