Page 1 of 1

check_disk and NFS timeouts

Posted: Wed Apr 09, 2014 8:48 pm
by handy
Hi,


When will the official Nagios plugins release channel include the patch to properly timeout when NFS (for example, other remote filesystems may also be applicable) is unavailable?

There was a patch I found, some time ago. It's this one:

https://nagios-plugins.org/archive/deve ... 09137.html

This seems like a dead obvious, useful and probably mandatory change.

Without it, we have (as do no doubt many others out there) plugin processes climb through the roof and push the load avg. of a machine up if there's any sort of NFS/network outage. This must break a presumably fundamental law of "thy monitoring system should not impact thy machine"

My apologies if it is already in, or if this is an FAQ but I've reviewed the 2.0 Change Log and can see no mention of it.

Re: check_disk and NFS timeouts

Posted: Thu Apr 10, 2014 10:36 am
by sreinhardt
I can't say that we were aware of this being an issue, but can definitely understand where it should be resolved. You certainly do not have to, but could you make an issue on the github account so that you may follow as we patch it? https://github.com/nagios-plugins/nagios-plugins/issues

Re: check_disk and NFS timeouts

Posted: Thu Apr 10, 2014 1:38 pm
by handy
Hi,


Thanks for the quick reply.

I'm happy to create an issue, as you request - but did you know there was a previous issue there during December 2013? It used to be here:

https://github.com/nagios-plugins/nagio ... issues/867

And now it's gone. There appears to have been a "shake up" (for lack of a better word) of the issue list, which is no doubt to do with the move to a new major release (2.0) ?

Although you can't obviously view that issue any more, you can find referring info:

http://comments.gmane.org/gmane.network ... devel/8186

waja | 1 Oct 09:01 2013
[nagios-plugins] check_disk: no longer hangs on hanging filesystems (#1186)

Just turning attached patch of github issue #867 into a push request.
You can merge this Pull Request by running
git pull https://github.com/waja/nagios-plugins github867

Or view, comment on, or merge it at:

https://github.com/nagios-plugins/nagio ... /pull/1186
Commit Summary

check_disk: no longer hangs on hanging filesystems

File Changes

M configure.in (12)
M plugins/Makefile.am (2)
M plugins/check_disk.c (40)

Patch Links:

https://github.com/nagios-plugins/nagio ... 1186.patch
https://github.com/nagios-plugins/nagio ... /1186.diff




What happened?

Re: check_disk and NFS timeouts

Posted: Fri Apr 11, 2014 9:51 am
by sreinhardt
Perfect, I will take a look at the patches, make sure it applies without issues and get it in for 2.0.1 which should be out soon. The change in issues on github is actually due to the monitoring-plugins and nagios-plugins separation. The issue is available via their github pages.

Re: check_disk and NFS timeouts

Posted: Sun Apr 13, 2014 4:22 am
by handy
Thanks heaps, that sounds great.

Re: check_disk and NFS timeouts

Posted: Mon Apr 14, 2014 3:56 pm
by sreinhardt
You're welcome! I'll post back here or edit this once we get it in!