Hung NFS mounts

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
kbauma01
Posts: 54
Joined: Wed May 25, 2022 6:39 am

Hung NFS mounts

Post by kbauma01 »

Every once in a while (mainly when our NAS is upgraded or patched, ~2x/year) we have some mounts that hang. The only way we find out is running a script during the upgrade that does a df -h, which doesn't come back so we know which server to fix.

Is there a way to essentially check a NAS mount via df -h? I tried the NFS wizard and that doesn't work for this. I also tried some plugins from the exchange with no luck.

Running Red Hat 8, Nagios XI 2024R1.2.1

Thanks.
jsimon
Posts: 343
Joined: Wed Aug 23, 2023 11:27 am

Re: Hung NFS mounts

Post by jsimon »

Hi @kbauma01,

I don't believe we have a wizard that does exactly what you're looking for here. If you can't find anything on exchange but you already have a script you run to accomplish this, my next suggestion would be to turn a version of your script into a Nagios Plugin and use that! I've included a link to our plugin development guidelines below:

https://nagios-plugins.org/doc/guidelines.html
sgardil
Posts: 355
Joined: Wed Aug 09, 2023 9:58 am

Re: Hung NFS mounts

Post by sgardil »

Like jsimon mentioned you will need to create a plugin to do so but since you already have a script to check this, it shouldn't be too complicated to turn it into a plugin that will work. After you have the plugin you should be able to deploy it on the servers with the NAS's and then run the plugin via an agent. To link it to your XI you can make a service and give it the check to get the information from the agent.
Post Reply