SNMP problem with IOS XR
Moderators: Developers, Moderators
SNMP problem with IOS XR
I have Cacti on Fedora 10 and its working fine with cisco routers on my network, but I have some cisco routers running IOS XR and when I add one of theese routers I get :
SNMP Information
SNMP error
and if I change junt for ping I get :
Ping Results
UDP Ping Success (4.98 ms)
What can I do ?
SNMP Information
SNMP error
and if I change junt for ping I get :
Ping Results
UDP Ping Success (4.98 ms)
What can I do ?
Enable snmp on the router and manually verify it's reachable with snmpwalk.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Install net-snmp, then run snmpwalk -h to get a list of commands... Or use whatever SNMP verification tool you're comfortable with.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Well time to start some diagnostics to find out why the Cacti server is unable to get SNMP.
Firewalls?
ACLs?
wrong community?
Firewalls?
ACLs?
wrong community?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
snmpwalk .1.3.6.1.2.1.1.1 from your cacti server. It the device does not spit out any data, thats why cacti is having issues.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Well there you go. You need to troubleshoot that snmp timeout issue from your cacti server to the Cisco router.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
I have no idea, because in my CACTI server every other routers is working fine, only with my router with IOS XR I have this problem, and CACTI have connectivity with this IOS XR router and we have other program who can get snmp from this IOS XR router. Anybody have configured CACTI with IOS XR yet ?
The fact a snmpwalk fails from the cacti server proves its not a Cacti specific failure or issue.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Things to verify: you're using the right version for the SNMP request and you have the right community string (for v1 or v2c) or user/pass credentials (v3). Also check whether the SNMP settings on the remote device have an ACL applied so that only certain hosts are allowed to query.
Typically, when using net-snmp, i'll use the following command to see if it is working:
replacing 'community' with the community string and 'host' with the remote host name. If you want to see if V2c is working, replace the '1' with '2c'. I don't have the v3 options at hand but have them in a notes file somewhere if you'd need help with testing v3.
Typically, when using net-snmp, i'll use the following command to see if it is working:
Code: Select all
snmpwalk -v 1 -c community host .1.3.6.1.2.1.1.5
replacing 'community' with the community string and 'host' with the remote host name. If you want to see if V2c is working, replace the '1' with '2c'. I don't have the v3 options at hand but have them in a notes file somewhere if you'd need help with testing v3.
Who is online
Users browsing this forum: No registered users and 2 guests