I am running a Nagios server and need to check the status of a few NFS shares. I would check directly on the NFS server, but it does not have access to the public network that the other servers are on. Which leaves, as my only option, to check the NFS mount points on the clients, since they and the Nagios server are on the public network.
I have tried check_disk, but the options I am feeding into check_disk are not working. Can anyone be of any assistance? I did a search on this forum and found a couple of posts, but no answers with a way to do this. I hope someone can be of help with this issue.
Mack
NFS Check
Re: NFS Check
Are you able to provide a bit more information on what you have tried and what you have set up?
If you are trying to look at disk space then ensure you have NRPE on the remote server and it has a command definition with something like check_disk -p /path/to/mount/ -w 10 -c 20. If you want to check that an NFS share is actually mounted then this looks promising (though I haven't used it myself yet) http://exchange.nagios.org/directory/Pl ... ts/details.
If you are trying to look at disk space then ensure you have NRPE on the remote server and it has a command definition with something like check_disk -p /path/to/mount/ -w 10 -c 20. If you want to check that an NFS share is actually mounted then this looks promising (though I haven't used it myself yet) http://exchange.nagios.org/directory/Pl ... ts/details.