File check isn't working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jkinning
Posts: 747
Joined: Wed Oct 09, 2013 2:54 pm

File check isn't working

Post 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.
jkinning
Posts: 747
Joined: Wed Oct 09, 2013 2:54 pm

Re: File check isn't working

Post by jkinning »

Disregard...I had a typo in my path. Doh! :shock:
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: File check isn't working

Post by lmiltchev »

No problem. This happens. :)
I am locking the thread.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked