cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1137
Views
0
Helpful
9
Replies

rs-232 MIB

a.azambuja
Level 1
Level 1

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 ?

9 Replies 9

Joe Clarke
Cisco Employee
Cisco Employee

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.

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.

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

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

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.

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,

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.

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

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: