08-27-2007 11:10 AM
When I configure rmon alarm: rmon alarm 1 ifEntry.10.33.5 60 absolute rising-threshold 1 1 falling-threshold 0 2
this return me: Alarm creation failure
I checked and my IOS 12.4.4.T1 support this MIB. Some tip ?
08-27-2007 11:57 AM
This object is ifInOctets, and has nothing to do with the RS232-MIB. You also have an invalid index. ifInOctets is ifEntry.10. The ifTable is indexed by one index (ifIndex). You have two indexes (.33.5). You need to find out which interface you wish to monitor, and set the index accordingly. The following two are valid assuming your device has both ifIndex 5 and ifIndex 33:
rmon alarm 1 ifEntry.10.5 60 absolute rising-threshold 1 1 falling-threshold 0 2
rmon alarm 1 ifEntry.10.33 60 absolute rising-threshold 1 1 falling-threshold 0 2
But these two alarms make no sense since ifInOctets is a counter. You need to use a delta threshold instead of an absolute:
rmon alarm 1 ifEntry.10.5 60 delta rising-threshold 1 1 falling-threshold 0 2
rmon alarm 1 ifEntry.10.33 60 delta rising-threshold 1 1 falling-threshold 0 2
This says that if the interface gets one octet over the course of 60 seconds, then raise an alarm. If the rate of change falls to 0 octets over the 60 second period, then re-arm the alarm.
08-27-2007 12:28 PM
Clark... I don't understand,
I need to check if my interfaces will have signals DCD,DTR,DSR etc flapping... This MIB rs232 (Rs232InSigEntry)make this but I can't configure because my router return the erros above.
08-27-2007 12:38 PM
Then your initial configuration was very wrong. As I said, your initial configuration was looking at ifEntry.10.33.5 which is an invalid OID. If you want to look at rs232InSigState for DCD for RS-232 port 10 (for example), the OID will be:
1.3.6.1.2.1.10.33.5.1.2.10.6
08-27-2007 01:02 PM
JClarke
The same error persist.
rmon alarm 10 ifEntry.1.3.6.1.2.1.10.33.5.1.2.10.6 absolute
rising-threshold 1 1 falling-threshold 0 2
Alarm creation failure
08-27-2007 01:13 PM
Exactly what are you typing into the router? Because the OID above is clearly wrong. Assuming RS232 port 10 exists, you should be able to type:
rmon alarm 10 1.3.6.1.2.1.10.33.5.1.2.10.6 60 absolute rising-threshold 1 1 falling-threshold 0 2
And not see any errors.
08-27-2007 01:32 PM
Where can I see an index to V35 interface 0/0/0 inside a 2811 router ? In fact this is a interface that I will try to monitor.
Tks,
08-27-2007 01:35 PM
Get the ifIndex by walking ifDescr, then use rs232PortIndex to map the ifIndex to the RS232 port. The output will be something like:
1.3.6.1.2.1.10.33.2.1.1.10 = 13
Where the last 10 is the rs232PortIndex and the 13 is the ifIndex.
08-27-2007 02:01 PM
R1#sh snmp mib ifmib ifindex ser 0/0/0
Serial0/0/0: Ifindex = 3
!
R1(config)#rmon alarm 10 1.3.6.1.2.1.10.33.2.1.1.3 60 absolute rising-threshold 1 falling-threshold 2
Alarm creation failure
!
so...
The IOS support the mib
The index is now correct
but doesn't work
08-27-2007 02:09 PM
This is not the correct OID, either. The OID listed here is for rs232InSigPortIndex 1, pin DSR. What you want to monitor DCD for index 3 is:
1.3.6.1.2.1.10.33.2.1.3.6
Of course, your router may not support this object. You should walk the entire RS-232-MIB to see if that object is support.
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