issue WARNING: SNMP error: No response from remote host

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
stezeng
Posts: 7
Joined: Wed Nov 15, 2017 11:29 am

issue WARNING: SNMP error: No response from remote host

Post by stezeng »

We got 2 issues: one is: WARNING: SNMP error: No response from remote host, but we can ping the remote host IP

Second one is: No valid data returned (Such Object available on this agent at this OID)
mjimalv
Posts: 3
Joined: Thu Apr 05, 2018 6:22 pm

Re: issue WARNING: SNMP error: No response from remote host

Post by mjimalv »

Hi,

Could you tell me which oid are u using in this case; in many times the response "Such Object available on this agent at this OID" is because the OID you are using is not configurate on the host.

Besides; the snmp may be is not responding cause the host ip doesn't have connection with the UDP ports.
Mariana Jiménez
kyang

Re: issue WARNING: SNMP error: No response from remote host

Post by kyang »

Thanks for the help @mjimalv.

stezeng, adding onto his response. Are you able to do an snmpwalk on that remote host? Match the OID you are using to the OID's in the snmpwalk.

Make sure to put the remote host IP and change the community key.

Code: Select all

snmpwalk remoteHostIP -c communitykey -v2c -On 
stezeng
Posts: 7
Joined: Wed Nov 15, 2017 11:29 am

Re: issue WARNING: SNMP error: No response from remote host

Post by stezeng »

Thanks mjimalv!

The remote host is a Cisco Cat6500 switch, should be UDP 161/162. I enabled SNMP on Cat6k. How do I know the udp port is open?

Don't worry about the OID, it was for some testing purpose.

thanks,
mjimalv
Posts: 3
Joined: Thu Apr 05, 2018 6:22 pm

Re: issue WARNING: SNMP error: No response from remote host

Post by mjimalv »

Hi @stezeng

You can use the "nc" command if your monitoring server is linux; also I think with "nmap" command you can check the UDP Port connections for the remote host ip.
Mariana Jiménez
stezeng
Posts: 7
Joined: Wed Nov 15, 2017 11:29 am

Re: issue WARNING: SNMP error: No response from remote host

Post by stezeng »

Hi mjimalv,

This is Cisco switch, the "nc" and "nmap" won't work for switch.

thanks,
kyang

Re: issue WARNING: SNMP error: No response from remote host

Post by kyang »

I think he means try using nmap from XI to your switch.

Here is an example from my XI to my switch IP: where the IP address listed is your switch IP.

Code: Select all

[root@localhost tmp]# nmap 192.168.5.90 -p 161 -sU

Starting Nmap 6.47 ( http://nmap.org ) at 2018-05-09 12:37 CDT
Nmap scan report for 192.168.5.90
Host is up (0.016s latency).
PORT    STATE SERVICE
161/udp open  snmp

Nmap done: 1 IP address (1 host up) scanned in 0.11 seconds
Try that out and let us know

Code: Select all

nmap switchIP -p 161 -sU
stezeng
Posts: 7
Joined: Wed Nov 15, 2017 11:29 am

Re: issue WARNING: SNMP error: No response from remote host

Post by stezeng »

Thanks Kyang, here is what I got.

[root@localhost ~]# nmap 173.37.48.1 -p 161 -sU

Starting Nmap 6.47 ( http://nmap.org ) at 2018-05-09 10:50 PDT
Nmap scan report for 173.37.48.1
Host is up (0.0020s latency).
PORT STATE SERVICE
161/udp filtered snmp

Nmap done: 1 IP address (1 host up) scanned in 0.15 seconds

So the IP is up, but why still shows "WARNING: SNMP error: No response from remote host '173.37.48.1'"?
kyang

Re: issue WARNING: SNMP error: No response from remote host

Post by kyang »

Looks like you opened up a support ticket.

I'll be closing this and you can continue from there.
Locked