Announcement

Collapse
No announcement yet.

import mib cisco - no translation

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • import mib cisco - no translation

    Hi,
    I am on Centos 6.6 - Centreon 2.7.4.
    I configure a service trap for switchs and a passive trap template as described in the official doc. I have linked trap with the service. I receive status from switch in /var/log/snmptrapd.log but nothing in the eventlog from Centreon Web interface. Actually the .1.3.6.1.4.1.9.9.43.1.1.6.1.3.21 oid and others aren't translated.
    When I look more closely in google, it's a Ciscotrap-mib. I download from https://sourceforge.net/p/netdisco/m...NERAL-TRAPS.my
    But when I import him I see some errors.
    Why the importation doesn't work?
    thanks,
    seta28
    Last edited by seta28; 30 August 2016, 14:01.

  • #2
    the result from importation:
    Moving traps in DataBase...
    2016-08-30 11:46:19 - snmptranslate version: NET-SNMP version: 5.5
    2016-08-30 11:46:19 - mib name: CISCOTRAP-MIB
    2016-08-30 11:46:19 - Processing MIB: CISCOTRAP-MIB
    2016-08-30 11:46:19 - #
    2016-08-30 11:46:19 - skipping a TRAP-TYPE / NOTIFICATION-TYPE line - probably an import line.
    2016-08-30 11:46:19 - #
    2016-08-30 11:46:19 - Line: 21
    2016-08-30 11:46:19 - TRAP-TYPE: coldStart
    2016-08-30 11:46:19 - Variables: sysUpTime whyReload
    2016-08-30 11:46:19 - Looking up via snmptranslate: CISCOTRAP-MIB::coldStart
    Unlinked OID in CISCOTRAP-MIB: snmp# ::= { snmp 0 }
    Undefined identifier: snmp near line 74 of /tmp/phpABGyy5
    Unlinked OID in CISCOTRAP-MIB: snmp# ::= { snmp 0 }
    Undefined identifier: snmp near line 64 of /tmp/phpABGyy5
    Unlinked OID in CISCOTRAP-MIB: snmp# ::= { snmp 0 }
    Undefined identifier: snmp near line 50 of /tmp/phpABGyy5
    Unlinked OID in CISCOTRAP-MIB: snmp# ::= { snmp 0 }
    Undefined identifier: snmp near line 40 of /tmp/phpABGyy5
    Unlinked OID in CISCOTRAP-MIB: snmp# ::= { snmp 0 }
    Undefined identifier: snmp near line 30 of /tmp/phpABGyy5
    2016-08-30 11:46:19 - OID: .1.3.6.1.2.1.11.0.0
    2016-08-30 11:46:19 - #
    2016-08-30 11:46:19 - Line: 31
    2016-08-30 11:46:19 - TRAP-TYPE: linkDown
    2016-08-30 11:46:19 - Variables: ifIndex ifDescr ifType locIfReason
    2016-08-30 11:46:19 - Looking up via snmptranslate: CISCOTRAP-MIB::linkDown
    Unlinked OID in CISCOTRAP-MIB: snmp# ::= { snmp 0 }
    Undefined identifier: snmp near line 74 of /tmp/phpABGyy5
    Unlinked OID in CISCOTRAP-MIB: snmp# ::= { snmp 0 }
    Undefined identifier: snmp near line 64 of /tmp/phpABGyy5
    Unlinked OID in CISCOTRAP-MIB: snmp# ::= { snmp 0 }
    Undefined identifier: snmp near line 50 of /tmp/phpABGyy5
    Unlinked OID in CISCOTRAP-MIB: snmp# ::= { snmp 0 }
    Undefined identifier: snmp near line 40 of /tmp/phpABGyy5
    Unlinked OID in CISCOTRAP-MIB: snmp# ::= { snmp 0 }
    Undefined identifier: snmp near line 30 of /tmp/phpABGyy5
    2016-08-30 11:46:19 - OID: .1.3.6.1.2.1.11.0.2
    2016-08-30 11:46:19 - #
    2016-08-30 11:46:19 - Line: 41
    2016-08-30 11:46:19 - TRAP-TYPE: linkUp
    2016-08-30 11:46:19 - Variables: ifIndex ifDescr ifType locIfReason
    2016-08-30 11:46:19 - Looking up via snmptranslate: CISCOTRAP-MIB::linkUp
    Unlinked OID in CISCOTRAP-MIB: snmp# ::= { snmp 0 }
    Undefined identifier: snmp near line 74 of /tmp/phpABGyy5
    Unlinked OID in CISCOTRAP-MIB: snmp# ::= { snmp 0 }
    Undefined identifier: snmp near line 64 of /tmp/phpABGyy5
    Unlinked OID in CISCOTRAP-MIB: snmp# ::= { snmp 0 }
    Undefined identifier: snmp near line 50 of /tmp/phpABGyy5
    Unlinked OID in CISCOTRAP-MIB: snmp# ::= { snmp 0 }
    Undefined identifier: snmp near line 40 of /tmp/phpABGyy5
    Unlinked OID in CISCOTRAP-MIB: snmp# ::= { snmp 0 }
    Undefined identifier: snmp near line 30 of /tmp/phpABGyy5
    2016-08-30 11:46:19 - OID: .1.3.6.1.2.1.11.0.3
    2016-08-30 11:46:19 - #
    2016-08-30 11:46:19 - Line: 51
    2016-08-30 11:46:19 - TRAP-TYPE: authenticationFailure
    2016-08-30 11:46:19 - Variables: authAddr
    2016-08-30 11:46:19 - Looking up via snmptranslate: CISCOTRAP-MIB::authenticationFailure
    Unlinked OID in CISCOTRAP-MIB: snmp# ::= { snmp 0 }
    Undefined identifier: snmp near line 74 of /tmp/phpABGyy5
    Unlinked OID in CISCOTRAP-MIB: snmp# ::= { snmp 0 }
    Undefined identifier: snmp near line 64 of /tmp/phpABGyy5
    Unlinked OID in CISCOTRAP-MIB: snmp# ::= { snmp 0 }
    Undefined identifier: snmp near line 50 of /tmp/phpABGyy5
    Unlinked OID in CISCOTRAP-MIB: snmp# ::= { snmp 0 }
    Undefined identifier: snmp near line 40 of /tmp/phpABGyy5
    Unlinked OID in CISCOTRAP-MIB: snmp# ::= { snmp 0 }
    Undefined identifier: snmp near line 30 of /tmp/phpABGyy5
    2016-08-30 11:46:19 - OID: .1.3.6.1.2.1.11.0.4
    2016-08-30 11:46:19 - #
    2016-08-30 11:46:19 - Line: 65
    2016-08-30 11:46:19 - TRAP-TYPE: egpNeighborLoss
    2016-08-30 11:46:19 - Variables: egpNeighAddr
    2016-08-30 11:46:19 - Looking up via snmptranslate: CISCOTRAP-MIB::egpNeighborLoss
    Unlinked OID in CISCOTRAP-MIB: snmp# ::= { snmp 0 }
    Undefined identifier: snmp near line 74 of /tmp/phpABGyy5
    Unlinked OID in CISCOTRAP-MIB: snmp# ::= { snmp 0 }
    Undefined identifier: snmp near line 64 of /tmp/phpABGyy5
    Unlinked OID in CISCOTRAP-MIB: snmp# ::= { snmp 0 }
    Undefined identifier: snmp near line 50 of /tmp/phpABGyy5
    Unlinked OID in CISCOTRAP-MIB: snmp# ::= { snmp 0 }
    Undefined identifier: snmp near line 40 of /tmp/phpABGyy5
    Unlinked OID in CISCOTRAP-MIB: snmp# ::= { snmp 0 }
    Undefined identifier: snmp near line 30 of /tmp/phpABGyy5
    2016-08-30 11:46:19 - OID: .1.3.6.1.2.1.11.0.5
    2016-08-30 11:46:19 - #
    2016-08-30 11:46:19 - Line: 77
    2016-08-30 11:46:19 - TRAP-TYPE: reload
    2016-08-30 11:46:19 - Variables: sysUpTime whyReload
    2016-08-30 11:46:19 - Looking up via snmptranslate: CISCOTRAP-MIB::reload
    Unlinked OID in CISCOTRAP-MIB: snmp# ::= { snmp 0 }
    Undefined identifier: snmp near line 74 of /tmp/phpABGyy5
    Unlinked OID in CISCOTRAP-MIB: snmp# ::= { snmp 0 }
    Undefined identifier: snmp near line 64 of /tmp/phpABGyy5
    Unlinked OID in CISCOTRAP-MIB: snmp# ::= { snmp 0 }
    Undefined identifier: snmp near line 50 of /tmp/phpABGyy5
    Unlinked OID in CISCOTRAP-MIB: snmp# ::= { snmp 0 }
    Undefined identifier: snmp near line 40 of /tmp/phpABGyy5
    Unlinked OID in CISCOTRAP-MIB: snmp# ::= { snmp 0 }
    Undefined identifier: snmp near line 30 of /tmp/phpABGyy5
    2016-08-30 11:46:19 - OID: .1.3.6.1.4.1.9.0.0
    2016-08-30 11:46:19 - #
    2016-08-30 11:46:19 - Line: 87
    2016-08-30 11:46:19 - TRAP-TYPE: tcpConnectionClose
    2016-08-30 11:46:19 - Variables: tslineSesType tcpConnState loctcpConnElapsed loctcpConnInBytes loctcpConnOutBytes tsLineUser
    2016-08-30 11:46:19 - Looking up via snmptranslate: CISCOTRAP-MIB::tcpConnectionClose
    Unlinked OID in CISCOTRAP-MIB: snmp# ::= { snmp 0 }
    Undefined identifier: snmp near line 74 of /tmp/phpABGyy5
    Unlinked OID in CISCOTRAP-MIB: snmp# ::= { snmp 0 }
    Undefined identifier: snmp near line 64 of /tmp/phpABGyy5
    Unlinked OID in CISCOTRAP-MIB: snmp# ::= { snmp 0 }
    Undefined identifier: snmp near line 50 of /tmp/phpABGyy5
    Unlinked OID in CISCOTRAP-MIB: snmp# ::= { snmp 0 }
    Undefined identifier: snmp near line 40 of /tmp/phpABGyy5
    Unlinked OID in CISCOTRAP-MIB: snmp# ::= { snmp 0 }
    Undefined identifier: snmp near line 30 of /tmp/phpABGyy5
    2016-08-30 11:46:19 - OID: .1.3.6.1.4.1.9.0.1
    2016-08-30 11:46:19 - Done
    2016-08-30 11:46:19 - Total translations: 7
    2016-08-30 11:46:19 - Successful translations: 7
    2016-08-30 11:46:19 - Failed translations: 0

    Generate Traps configuration files from Monitoring Engine configuration form!

    Comment

    Working...
    X