Page 2 of 2

Re: check_cisco.pl with CISCO ASR 9010 Router

Posted: Tue Apr 22, 2014 11:01 am
by lmiltchev
Thanks, BanditBBS!

Re: check_cisco.pl with CISCO ASR 9010 Router

Posted: Tue Apr 22, 2014 10:58 pm
by phyo
BanditBBS wrote:Have you done an SNMP Walk to see what the data values are?
Here is the result of snmpwalk with mib browser.
Image
There are 3 values(.1, .6 and .7) for Memory pool and memory used. Which value should use?

Re: check_cisco.pl with CISCO ASR 9010 Router

Posted: Wed Apr 23, 2014 9:44 am
by sreinhardt
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.

Re: check_cisco.pl with CISCO ASR 9010 Router

Posted: Wed Apr 23, 2014 9:05 pm
by phyo
sreinhardt 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.
Sorry, I wrongly copy the link. The correct plugin link that I used is

Code: Select all

http://exchange.nagios.org/directory/Plugins/Hardware/Network-Gear/Cisco/Check-Cisco-Catalyst/details
My planing is I want to monitor the status of Cisco ASR9010 router. I can use other plugin also if they can monitor the ASR9010 status. So if you know other plugin, pls let me know. I will test and use.

Re: check_cisco.pl with CISCO ASR 9010 Router

Posted: Wed Apr 23, 2014 9:19 pm
by BanditBBS
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.

Re: check_cisco.pl with CISCO ASR 9010 Router

Posted: Thu Apr 24, 2014 9:37 am
by sreinhardt
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.

Re: check_cisco.pl with CISCO ASR 9010 Router

Posted: Tue Jul 01, 2014 2:11 am
by phyo
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.

Re: check_cisco.pl with CISCO ASR 9010 Router

Posted: Tue Jul 01, 2014 10:22 am
by sreinhardt
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.

Re: check_cisco.pl with CISCO ASR 9010 Router

Posted: Wed Jul 02, 2014 2:24 am
by phyo
The original plugin is check_cisco_ips.pl.

Code: Select all

http://exchange.nagios.org/directory/Plugins/Uncategorized/Software/SNMP/Cisco-IPS-SNMP-Checks/details
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.

Re: check_cisco.pl with CISCO ASR 9010 Router

Posted: Wed Jul 02, 2014 1:42 pm
by sreinhardt
Awesome, glad it's working now!