Monday, August 11, 2008

Simple Cisco Router Management Pack for SCOM 2007

I've written a simple "proof-of-concept" management pack to monitor some of my Cisco routers. The MP is configured to discover a Cisco 2600, 2800, and 2801 router. Currently it will monitor up to 4 interfaces for up/down port status, errors and incoming/outgoing bps. It will also monitor some general environmental conditions (fan & temperature state).

Note that this is an extremely simple management pack. It will not discover all of your interfaces or anything like that. For my purposes, I simply hard-coded rules for interfaces 1-4 and used overrides to enable or disable them depending on the device.

Unfortunately, after going through the process of creating this SNMP management pack, I've come to the conclusion that it is really too much work. If you can afford one of the 3rd party SNMP management tools (like Quest System Center or Jalasoft Xian Network Manager), you'll find your job much easier.

For more details on writing your own SNMP management packs, check out my previous article: Example SNMP Management Pack for SCOM 2007.

Here's a screenshot of the performance view



You can download my sample Cisco management pack here:

RBH.Cisco.Routers.Management.Pack.xml

*Reminder: it is unlikely that this management pack will work on your system without tweaking the XML. This management pack also requires Raphael Burri's SNMP Discovery Provider, which I discuss in my article: Example SNMP Management Pack for SCOM 2007.

This sample management pack is licensed under the Creative Commons Attribution 3.0 License. To view a copy of this license, visit http://creativecommons.org/licenses/by/3.0/ or send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.

11 comments:

Chad Rogers said...

Hi Scott
It seems that the link that hosts the Cisco Routers MP does not work.

http://www.flakshack.com/blog/RBH.Cisco.Routers.Management.Pack

If possible, where else can we get it from?

Thanks,
Chad

Scott said...

Sorry, I forgot to add the .XML on the link. It works now.

Алексей said...

Thanks for your article and the MP example. But there's some trouble with MP: while testing it i found that there's no possibility to monitor incoming\outcoming bps, which you described.
Can you please give the full MP version, or tell what needs to be done.
For monitoring we use Cisco 2801.

Scott said...

There isn't another management pack to give you; this is it. Unfortunately, it is possible that even similarly branded Cisco routers might provide different sets of SNMP counters depending on the exact hardware and IOS versions.

If you really want to make this work, your best bet is to get an SNMP browser. I use OIDView Professional, but the free iReasoning MIB Browser will also work. Look through the browser to identify which SNMP OIDs you want to monitor, then just modify the management pack to examine those OIDs. The Cisco SNMP Object Navigator can be helpful in identifying what each OID does.

Your other option is to purchase one of the management packs listed in the article.

leu said...

Hello, Scott!
I add mp in OpsMng07.
How i can find my router?

Scott said...

After adding the management pack, you'll need to use the Discovery wizard to add the routers to your Network Devices list. Keep in mind that if your router is a slightly different model than mine (very possible), then it will not be discovered properly. In this case, you'll need to edit the XML file manually as described in the other articles.

leu said...

Thank you? Scott!
where can i find mp for switch HP ProCurve 2650,2626,2512,2524?
And can you get additional information for write this mp?

Eugene said...

Dear,developer!
I want to write some mp for my network devices, for example, switchs- Hp ProCurve.
Can you get some lessons or instructions (step-by-step) how to create mp or mp for Hp ProCurve switches!?
Thank you!
my e-mail: leu@list.ru
or
eleytan@pgsouz.ru

Stéphane said...

Hello,

I tried your MP with a Cisco 7200 but I had no return in the Monitoring Tab. I have no choice in the Legend Window. I have installed the SNMP MP.

Have you any idea about my problem ?

Scott said...

This management pack will not discover a Cisco 7200. This article is meant as an EXAMPLE only to help people who want to create their own management packs. If you are looking for a drop-in solution, you should check out Quest System Center or Jalasoft Xian.

Harman said...

Hello Eugene,

Can you give me a link to download management pack to monitor my procurve switches.