Weird, for me it says "No files found|'count'=0;0;0"
I'm on 0.5.0.25 atm..
NetApp NAS
Re: NetApp NAS
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: NetApp NAS
If I just use path='\\cinnas1p\bloomberg' I get the critical and it says
CRITICAL: 0/86 files
Is there something else I need to add to go down another directory to path='\\cinnas1p\bloomberg\dead'?
CRITICAL: 0/86 files
Is there something else I need to add to go down another directory to path='\\cinnas1p\bloomberg\dead'?
Re: NetApp NAS
Ok, I had them place a file in the directory and I think this will work as I got a critical alert.
So, I guess the No drives found|'count'=0;0;0 is normal behavior which I don't really care about. All I want is if there is a file in the directory let the people know.
Thanks for you assistance!
Code: Select all
check_nrpe -H cinzl01p -t 60 -c check_files -a path='\\cinnas1p\bloomberg\dead\' pattern=*.* 'critical=count>0' 'empty-state=ok'
CRITICAL: 0/1 files (test1.txt)|'count'=1;0;0
Thanks for you assistance!
Re: NetApp NAS
Will this work out for you? If so, are we alright to close the thread?
Former Nagios employee
Re: NetApp NAS
This is working so feel free to close.