Appliance SNMP agent losing connection with NMS

ISSUE

There is a condition where NFS shares present may timeout SNMP communication between the Unitrends appliance and an NMS software.
 

RESOLUTION

The solution is to add the following entry “skipNFSInHostResources true” in /etc/snmp/snmpd.conf and restart snmpd service. The full information on this can be found below:
 

SNMP request timeouts when NFS share on remote server is hanging.

root# snmpwalk -v2c -cpublic localhost
Timeout: No Response from localhost
root#

A feature called skipNFSInHostResources was added to skip NFS mounts from filesystem lookup to prevent issues in case the remote resource is not available, from manpage of snmpd.conf:

skipNFSInHostResources true
controls whether NFS and NFS-like file systems should be omitted from the hrStorageTable (true or 1) or not (false or 0, which is the default).
If the Net-SNMP agent gets hung on NFS-mounted filesystems, you can try setting this to ‘1’.

The solution is to add the following entry “skipNFSInHostResources true” in /etc/snmp/snmpd.conf and restart snmpd service.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Contact us