Linux Servers with NFS mount

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Linux Servers with NFS mount

Post by TBT »

We have several Linux Servers mounting a common share. If the share (NAS device) goes off-line, it appears all Host and Service checks for said Linux servers fail with time-out or no response errors. Can anyone explain this behavior?
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Linux Servers with NFS mount

Post by mcapra »

How are you monitoring these machines? If it's via NRPE, is the NRPE or xinetd binary located on the NFS mount?
Former Nagios employee
https://www.mcapra.com/
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Re: Linux Servers with NFS mount

Post by TBT »

Guess that would be helpful too. We're using SNMP.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Linux Servers with NFS mount

Post by mcapra »

Are you able to send over a system profile? Or at least some samples of the check commands being run. The snmpd.conf from one of the machines (sanitized of course) may also be helpful.
Former Nagios employee
https://www.mcapra.com/
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Re: Linux Servers with NFS mount

Post by TBT »

mcapra wrote:Are you able to send over a system profile? Or at least some samples of the check commands being run. The snmpd.conf from one of the machines (sanitized of course) may also be helpful.
We're using the Linux SNMP wizard to add a check, along with a mount point (on /). Have the mount go off-line and you should be able to replicate this issue.

Additional notes: This typically happens when the mount point is unavailable due to time-out (gone stale, not unmounted purposely). Also, as mentioned the mount point is /dir not the conventional /mnt/dir.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Linux Servers with NFS mount

Post by tgriep »

If all of the SNMP checks to a remote host fails when the share on the remote host is down, sounds like the SNMP Daemon on the remote server stopped responding to the Nagios server.
Can you login to one of the remote systems that had the issue, check the /var/log/messages file to see if the SNMP daemon crashed or logged an error?
Be sure to check out our Knowledgebase for helpful articles and solutions!
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Re: Linux Servers with NFS mount

Post by TBT »

tgriep wrote:If all of the SNMP checks to a remote host fails when the share on the remote host is down, sounds like the SNMP Daemon on the remote server stopped responding to the Nagios server.
Can you login to one of the remote systems that had the issue, check the /var/log/messages file to see if the SNMP daemon crashed or logged an error?
By remote system you mean one of the servers that has the NFS mount, correct? Nothing of interest in /var/log/messages
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Linux Servers with NFS mount

Post by scottwilkerson »

Out of curiosity, can you still run snmpwalk or snmpget commands against this host when it is in this state?

e.g.

Code: Select all

snmpwalk -v 2c -c public your.host.com
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
TBT
Posts: 625
Joined: Wed May 18, 2011 1:26 pm

Re: Linux Servers with NFS mount

Post by TBT »

scottwilkerson wrote:Out of curiosity, can you still run snmpwalk or snmpget commands against this host when it is in this state?

e.g.

Code: Select all

snmpwalk -v 2c -c public your.host.com
We'll have to recreate the issue and report back.
Nagios XI 2024R2.2.1 (8 Servers)
Nagios Fusion 2024R1.0.2
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Linux Servers with NFS mount

Post by cdienger »

Thanks. Please update us once you do.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked