How to check for hanging NFS mount
Posted: Wed Oct 21, 2020 11:14 pm
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
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