Hello
I've configured snmptrapd and snmptt according to:
But i have problems with MIBs conversion. For most cisco mibs i receive errors. I only succeed with 5 of then which gave me snmptt file:
but ....it does not work. When i receive trap from my cisco 3560 (interface up or down), i get's parsed by snmptrapd correctly and passed to snmptt, but snmptt can not understeand it, some logs from snmptt debug:
In the end i do not see these traps on smptt logfile (just in debug),
adding EXEC command for zabbix sender does not help at this stage.
Any ideas ? maybe someone already has snmptt file for cisco ?
Thanx
I've configured snmptrapd and snmptt according to:
But i have problems with MIBs conversion. For most cisco mibs i receive errors. I only succeed with 5 of then which gave me snmptt file:
Code:
EVENT bgpEstablished .1.3.6.1.2.1.15.7.0.1 "Status Events" Normal FORMAT The BGP Established event is generated when $* SDESC The BGP Established event is generated when the BGP FSM enters the ESTABLISHED state. Variables: 1: bgpPeerLastError 2: bgpPeerState EDESC # # # EVENT bgpBackwardTransition .1.3.6.1.2.1.15.7.0.2 "Status Events" Normal FORMAT The BGPBackwardTransition Event is generated $* SDESC The BGPBackwardTransition Event is generated when the BGP FSM moves from a higher numbered state to a lower numbered state. Variables: 1: bgpPeerLastError 2: bgpPeerState EDESC # # # EVENT linkDown .1.3.6.1.6.3.1.1.5.3 "Status Events" Normal FORMAT A linkDown trap signifies that the SNMP entity, acting in $* SDESC A linkDown trap signifies that the SNMP entity, acting in an agent role, has detected that the ifOperStatus object for one of its communication links is about to enter the down state from some other state (but not from the notPresent state). This other state is indicated by the included value of ifOperStatus. Variables: 1: ifIndex 2: ifAdminStatus 3: ifOperStatus EDESC # # # EVENT linkUp .1.3.6.1.6.3.1.1.5.4 "Status Events" Normal FORMAT A linkUp trap signifies that the SNMP entity, acting in an $* SDESC A linkUp trap signifies that the SNMP entity, acting in an agent role, has detected that the ifOperStatus object for one of its communication links left the down state and transitioned into some other state (but not into the notPresent state). This other state is indicated by the included value of ifOperStatus. Variables: 1: ifIndex 2: ifAdminStatus 3: ifOperStatus EDESC
Code:
Trap received from 10.200.12.10: IF-MIB::linkDown 0: hostname 1: ip address 2: uptime 3: trapname / OID 4: ip address from trap agent 5: trap community string 6: enterprise 7: securityEngineID (snmptthandler-embedded required) 8: securityName (snmptthandler-embedded required) 9: contextEngineID (snmptthandler-embedded required) 10: contextName (snmptthandler-embedded required) 0+: passed variables Value 0: 10.200.12.10 Value 1: 10.200.12.10 Value 2: 383:5:36:30.90 Value 3: IF-MIB::linkDown Value 4: 10.200.12.10 Value 5: Value 6: Value 7: Value 8: Value 9: Value 10: Agent dns name: 10.200.12.10 Ent Value 0 ($1): IF-MIB::ifIndex.10008=10008 Ent Value 1 ($2): IF-MIB::ifAdminStatus.10008=up Ent Value 2 ($3): IF-MIB::ifOperStatus.10008=down Ent Value 3 ($4): IF-MIB::ifDescr.10008=FastEthernet0/8 Ent Value 4 ($5): IF-MIB::ifType.10008=ethernetCsmacd Ent Value 5 ($6): SNMPv2-SMI::enterprises.9.2.2.1.1.20.10008=down Ent Value 6 ($7): SNMP-COMMUNITY-MIB::snmpTrapAddress.0=10.200.12.10 Ent Value 7 ($8): SNMP-COMMUNITY-MIB::snmpTrapCommunity.0=public Ent Value 8 ($9): SNMPv2-MIB::snmpTrapEnterprise.0=SNMPv2-SMI::enterprises.9.1.634 Exact match of trap NOT found in EVENT hash table Looking for wildcards in the EVENT hash table Drilling down looking for wildcards in the EVENT hash table IF-MIB::linkDown.* Drilling down looking for wildcards in the EVENT hash table IF-MIB::linkDown.* .........
adding EXEC command for zabbix sender does not help at this stage.
Any ideas ? maybe someone already has snmptt file for cisco ?
Thanx