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.

9 comments:
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
Sorry, I forgot to add the .XML on the link. It works now.
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.
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.
Hello, Scott!
I add mp in OpsMng07.
How i can find my router?
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.
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?
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
Post a Comment