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:
The same error persist.
rmon alarm 10 ifEntry.22.214.171.124.126.96.36.199.188.8.131.52.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 184.108.40.206.220.127.116.11.18.104.22.168.6 60 absolute rising-threshold 1 1 falling-threshold 0 2
And not see any errors.
Get the ifIndex by walking ifDescr, then use rs232PortIndex to map the ifIndex to the RS232 port. The output will be something like:
22.214.171.124.126.96.36.199.188.8.131.52 = 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 184.108.40.206.220.127.116.11.18.104.22.168 60 absolute rising-threshold 1 falling-threshold 2
Alarm creation failure
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:
Of course, your router may not support this object. You should walk the entire RS-232-MIB to see if that object is support.