Page 1 of 1

NCPA and a NFS mount point to monitor

Posted: Thu Dec 03, 2015 11:10 am
by jcwuerfl
I'm using the NCPA client but it doesn't look like that can detect an NFS mount point?

Would anyone know of a good way that I would be able to check to see if the NFS mount point is mounted on a red hat server and check the free space is so we can alert on if the mount point is filling up and going above our warning and critical thresholds?

Thanks!

Re: NCPA and a NFS mount point to monitor

Posted: Thu Dec 03, 2015 4:54 pm
by rkennedy
Does the Nagios server have a direct communication with the NFS server?

Would this plugin work for you? https://exchange.nagios.org/directory/P ... le/details

Re: NCPA and a NFS mount point to monitor

Posted: Fri Dec 04, 2015 7:46 am
by jcwuerfl
Looks close but sounds like for that to work you need to run nfsd as root / suid which I'm not thinking I want to open that can of worms. So actually I created a script to do it over ssh so that will work for now. Would like the nrpe agent to support NFS mounts though, that would be better.

Re: NCPA and a NFS mount point to monitor

Posted: Fri Dec 04, 2015 11:07 am
by hsmith
Would it be possible for you to submit a feature request to our GitHub? Our C Developer has been doing some great stuff with NRPE lately. You can submit something here: https://github.com/NagiosEnterprises/nrpe/issues