NetApp NAS

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: NetApp NAS

Post by WillemDH »

Weird, for me it says "No files found|'count'=0;0;0"
I'm on 0.5.0.25 atm..
Nagios XI 5.8.1
https://outsideit.net
jkinning
Posts: 747
Joined: Wed Oct 09, 2013 2:54 pm

Re: NetApp NAS

Post by jkinning »

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

Re: NetApp NAS

Post by jkinning »

Ok, I had them place a file in the directory and I think this will work as I got a critical alert.

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
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!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: NetApp NAS

Post by tmcdonald »

Will this work out for you? If so, are we alright to close the thread?
Former Nagios employee
jkinning
Posts: 747
Joined: Wed Oct 09, 2013 2:54 pm

Re: NetApp NAS

Post by jkinning »

This is working so feel free to close.
Locked