SNMP walk error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
manimurugesan
Posts: 145
Joined: Wed Oct 03, 2018 9:15 am

SNMP walk error

Post by manimurugesan »

Hello Team,

i have tried snmpwalk command for isE deivce but i am getting "no longhandling error"snmpwalk timeout
So network end they have confugured with engine id's . they have tested snmpwalk but they are getting response ,i checked from nagios end i am getting "no logghandling error"snmpwalk timeout error.

Can you confirm SNMP port 161 need to be open ?
please tell me about "no logghandling error"snmpwalk timeout error"?
i checked below link but still i am not clear
https://support.nagios.com/forum/viewto ... =7&t=25786.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: SNMP walk error

Post by ssax »

Port 161 UDP needs to be open from the XI server to the remote device.

Are you using SNMP v2c or v3? What do these output?
- Make sure the change the snmpcommunity if using version 2c, if you're using v3 modify the options to match

Code: Select all

snmpwalk -v 2c -c snmpcommunity 192.168.X.X:161
snmpwalk -v3 -u snmpv3user -A 'authpass' -a SHA -X 'privpass' -x AES -l authPriv 192.168.X.X
Do those both timeout?
manimurugesan
Posts: 145
Joined: Wed Oct 03, 2018 9:15 am

Re: SNMP walk error

Post by manimurugesan »

Hello ,

I have checked both it's showing below error.

No log handling enabled - turning on stderr logging
snmpwalk: Timeout
port 161 udp status is "open|filtered"
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: SNMP walk error

Post by ssax »

If you're getting a timeout from the low-level snmpwalk command something is likely wrong with the remote device, you likely have the wrong SNMP community, SNMPv3 user/pass/settings, or a misconfiguration of the SNMP daemon on the remote system, it could also be caused by a whitelist/acl/IPS/firewall interrupting the connection as well. If snmpwalk doesn't work, check your network, remote device, and security devices in the path.

Please try running those commands from another system in the same subnet (or on the same switch) as the remote host so you can see if it's something in the network path blocking it.

Have you talked with your network admins to look at the logs in the devices across the path?
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: SNMP walk error

Post by cdienger »

Try the following to get debug information:

snmpwalk -v 2c -c snmpcommunity 192.168.X.X:161 -D ALL

as well as:

snmpget -v2c -c public 192.168.X.X system.sysUpTime.0
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked