[Date Prev]   [Date Next] [Thread Prev]   [Thread Next] [Date Index]   [Thread Index]

 

     [nocol-users] Adding MIBs to nocol/trapmon

I have a collection of MIB's, both from cisco and from a UPS company
called Liebert.
i'm assuming that the mib-v2.txt file contains v2 MIBS, how can I convert
between them?

Also, 
a trap containing,

-=-=-=-=-=-=-=-=-=-
Name: system.3.0 -> Timeticks: (1226578415) 141 days, 23:09:44
Name: .iso.org.dod.internet.snmpV2.snmpModules.snmpMIB.snmpMIBObjects.snmpTrap.snmpTrapOID.0
-> OBJECT
IDENTIFIER:      .iso.org.dod.internet.snmpV2.snmpModules.snmpMIB.snmpMIBObjects.snmpTraps.linkUp
Name: interfaces.ifTable.ifEntry.ifIndex.115 -> INTEGER: 115
Name: interfaces.ifTable.ifEntry.ifDescr.115 -> OCTET STRING-
(ascii):  Serial3:15
Name: interfaces.ifTable.ifEntry.ifType.115 -> INTEGER: 23
Name: .iso.org.dod.internet.private.enterprises.cisco.local.linterfaces.lifTable.lifEntry.locIfReason.115
-> OCTET STRING- (ascii):     up
-=-=-=-=-=-=-=-=-=-
on the console of trapmon, gets reported by trapmon as,

-=-=-=-=-=-=-=-=-=-
 [trapmon]: SITE xxxxxxx xxx.xxx.xxx.xxx VAR Name: .iso.org. 0 0 
Trap LEVEL Error LOGLEVEL Error NOCOP down
-=-=-=-=-=-=-=-=-=-

which is the same if its either a link up, or a link down.

Does anyone know how I can increase the verbosity of what trapmon reports,
(even a straight dump of the first section would be better than what we
have currently.) As I'm trying to report the actual status, (be it line x
up, or line x down.

Cheers,

Colin Morey.