Hi
We have a situations in our environment when a we have NFS mount hung . This usually caused by NFS VM rebooting. We want to be able to check this condition in Nagios.
I have tried to replicate this scenario in my test environment by blocking outbound access to NFS host using iptable rules.
I have run check_disk plugin with timeout set, but it just hangs and not timing out. I was wondering if there is a better way to check - a plugin that would return "Critical" if timed out is reached , not just hang
check_disk version is:
./check_disk -V
check_disk v2.0.3 (nagios-plugins 2.0.3)
Regards,
Genna
How to check for hanging NFS mount
Re: How to check for hanging NFS mount
You may have better luck setting up a check to see if a file(that should always exist) exists on the NFS mount and return a critical if the file is unreadable.
https://support.nagios.com/kb/article/f ... der_exists
https://support.nagios.com/kb/article/f ... der_exists
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.