Page 1 of 1
issue WARNING: SNMP error: No response from remote host
Posted: Mon May 07, 2018 3:56 pm
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)
Re: issue WARNING: SNMP error: No response from remote host
Posted: Tue May 08, 2018 10:17 am
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.
Re: issue WARNING: SNMP error: No response from remote host
Posted: Tue May 08, 2018 11:52 am
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
Re: issue WARNING: SNMP error: No response from remote host
Posted: Tue May 08, 2018 6:03 pm
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,
Re: issue WARNING: SNMP error: No response from remote host
Posted: Tue May 08, 2018 6:13 pm
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.
Re: issue WARNING: SNMP error: No response from remote host
Posted: Wed May 09, 2018 12:23 pm
by stezeng
Hi mjimalv,
This is Cisco switch, the "nc" and "nmap" won't work for switch.
thanks,
Re: issue WARNING: SNMP error: No response from remote host
Posted: Wed May 09, 2018 12:39 pm
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
Re: issue WARNING: SNMP error: No response from remote host
Posted: Wed May 09, 2018 12:54 pm
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'"?
Re: issue WARNING: SNMP error: No response from remote host
Posted: Wed May 09, 2018 4:57 pm
by kyang
Looks like you opened up a support ticket.
I'll be closing this and you can continue from there.