check_cisco.pl with CISCO ASR 9010 Router
Re: check_cisco.pl with CISCO ASR 9010 Router
Thanks, BanditBBS!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: check_cisco.pl with CISCO ASR 9010 Router
Here is the result of snmpwalk with mib browser.BanditBBS wrote:Have you done an SNMP Walk to see what the data values are?

There are 3 values(.1, .6 and .7) for Memory pool and memory used. Which value should use?
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: check_cisco.pl with CISCO ASR 9010 Router
phyo are you planning on using bandits plugin now or still the one you listed before? Also are you 100% sure that the one you linked:
Is the correct one? This does not seem to have anything but interface checks and the help output is completely different.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: check_cisco.pl with CISCO ASR 9010 Router
Sorry, I wrongly copy the link. The correct plugin link that I used issreinhardt wrote:phyo are you planning on using bandits plugin now or still the one you listed before? Also are you 100% sure that the one you linked:Is the correct one? This does not seem to have anything but interface checks and the help output is completely different.
Code: Select all
http://exchange.nagios.org/directory/Plugins/Hardware/Network-Gear/Cisco/Check-Cisco-Catalyst/detailsRe: check_cisco.pl with CISCO ASR 9010 Router
That walk sure is showing 99% used on average over 1, 5 and 10 minutes so I bet one of those is what the plugins are using, so they are reporting what the device is telling them. It may not be right, but not much can be done if the snmp doesn't supply the proper information.
At this point, at my company, I'd have the network team contact Cisco with a support call complaining the snmp isn't showing the correct usage. They would then be able to answer if it is a bug or whatever. So if you have the device covered by Cisco Smartnet, I would definitely recommend that call.
At this point, at my company, I'd have the network team contact Cisco with a support call complaining the snmp isn't showing the correct usage. They would then be able to answer if it is a bug or whatever. So if you have the device covered by Cisco Smartnet, I would definitely recommend that call.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: check_cisco.pl with CISCO ASR 9010 Router
My thoughts exactly bandit. If that isn't the case, maybe you could show another snmpwalk of the same oid, and the cisco command to show current utilization from within a minute or two of each other.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: check_cisco.pl with CISCO ASR 9010 Router
After contacting with Cisco, finally I got the OID of ASR9010 memory used and free.
Here are the OID of ASR9010 used memory and free memory.
You can get the mapping between index and line cards CPU: snmpwalk 1.3.6.1.2.1.47.1.1.1.1.7
Base on the above snmpwalk output, you can change accordingly : 1.3.6.1.4.1.9.9.221.1.1.1.1.18.38557239.1(used meory) and 1.3.6.1.4.1.9.9.221.1.1.1.1.20.38557239.1(free memory)
In this OID, 38557239 is represent to module 0/RSP0/CPU0.
Here are the OID of ASR9010 used memory and free memory.
You can get the mapping between index and line cards CPU: snmpwalk 1.3.6.1.2.1.47.1.1.1.1.7
Base on the above snmpwalk output, you can change accordingly : 1.3.6.1.4.1.9.9.221.1.1.1.1.18.38557239.1(used meory) and 1.3.6.1.4.1.9.9.221.1.1.1.1.20.38557239.1(free memory)
In this OID, 38557239 is represent to module 0/RSP0/CPU0.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: check_cisco.pl with CISCO ASR 9010 Router
Awesome! Did you alter the plugin you are using to reflect the proper oids, or did you need some help with that? If you did, just to clarify which plugin are you currently using, bandits or the original one? Sorry if I missed it somewhere.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Re: check_cisco.pl with CISCO ASR 9010 Router
The original plugin is check_cisco_ips.pl.
I create a copy of check_cisco_ips.pl and rename as check_asr_mem0.pl and change the OID accordingly. So I created 4 copies of check_cisco_ips.pl because in my project there are two ASR9010 and two RSP on each ASR9010.
Thanks.
Code: Select all
http://exchange.nagios.org/directory/Plugins/Uncategorized/Software/SNMP/Cisco-IPS-SNMP-Checks/detailsThanks.
-
sreinhardt
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: check_cisco.pl with CISCO ASR 9010 Router
Awesome, glad it's working now!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.