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)
issue WARNING: SNMP error: No response from remote host
Re: issue WARNING: SNMP error: No response from remote host
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.
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
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.
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
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,
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
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.
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
Re: issue WARNING: SNMP error: No response from remote host
Hi mjimalv,
This is Cisco switch, the "nc" and "nmap" won't work for switch.
thanks,
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
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.
Try that out and let us know
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
Code: Select all
nmap switchIP -p 161 -sURe: issue WARNING: SNMP error: No response from remote host
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'"?
[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
Looks like you opened up a support ticket.
I'll be closing this and you can continue from there.
I'll be closing this and you can continue from there.