03-23-2007 08:53 AM
I am attempting to monitor all of my switch ports for input/output errors via RMON probes that will send a trap to my HP OpenView box if the threshold is reached. I'm having trouble with the MIB, according to Cisco doc, the switches should be using the IF-MIB, in which ifInErrors should be a valid OID, so my command is:
rmon alarm 2 ifInErrors.2 10 delta rising-threshold 5 1 falling-threshold 10000 owner config
This should monitor Fa0/1 on a 3548 switch....I receive the error:
Unknown object: ifInErrors.2
I can run a MIB browser and ifInErrors.<interface-index> shows up with the correct values for the input errors, but the switches will not take the command. When I telnet to the switch and run "show snmp mib | inc ifInError" nothing shows up (it does on the switches that work). I have also tried putting in the OID .1.3.6.1.2.1.2.2.1.14.2 with the same result.
My guess is that this is an IOS error since my switches with a newer IOS are working fine....what is throwing me is that I have Cacti and Cricket monitoring these switches and they are graphing the errors fine.
Any ideas would be appreciated....thanks.
03-23-2007 09:04 AM
Not all MIB objects are compiled into IOS by their name (and it's inconsistent across versions of IOS). Therefore, you are safest just to use fully-qualified OIDs.
For ifInErrors, that is 1.3.6.1.2.1.2.2.1.14.
03-23-2007 09:15 AM
Thanks....works great. I had tried using the fully qualified OID earlier, but I think I started it with a ".". I just ran it on a 3750 and the running config shows ifEntry.14.10101.
Thanks for the help!
08-24-2008 06:53 AM
Hi
Im also trying to monitor interface errors on my old 3548XL's with IOS ver. 12.0.(5)WC17.
I have tried browsing the MIB: 1.3.6.1.2.1.2.2.1.14 which works fine, but when i try to create an rmon alarm with the following command:
rmon alarm 1 1.3.6.1.2.1.2.2.1.14 60 delta rising-threshold 1 2 falling-threshold 0 owner MySelf
I get the error: "Alarm Creation Failure"
Anybody able to guide me how to get my rmon alarm to work ?
08-24-2008 08:03 AM
You need to specify an ifIndex. For example:
rmon alarm 1 1.3.6.1.2.1.2.2.1.14.1 60 delta rising-threshold 1 2 falling-threshold 0 owner MySelf
08-24-2008 08:21 AM
Thanks for quick reply jclarke!
That means I will needto make a rmon line for every interface I want to monitor ?
Isn't there a "catch all interfaces" statement ?
I want to get an alert fired if any of my switch interfaces starts to get interface errors..
08-24-2008 08:46 AM
You will need to create one alarm per interface.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide