Announcement

Collapse
No announcement yet.

Probleme importation MIBS HP Prucurve et JUNIPER sur centreon

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

  • Probleme importation MIBS HP Prucurve et JUNIPER sur centreon

    Bonjour à tous,

    j'éssaie depuis quelques jours d'importer des MIBS (HP Procurve et Juniper) que j'ai recupéré directement sur le site support du constructeur.

    J'ai suivi la procédure définis par HP, c'est à dire de respecter la dépendance des MIBS.
    Dans le fichiers snmp.conf, le mibdir pointe bien vers /usr/share/snmp/mibs.

    J'ai mis tous mes fichiers MIB dans le repertoire /usr/share/snmp/mibs puis compilé avec centreon (Configuration > traps SNMP > generer ) qui ne me retourne pas d'erreur.

    Rien n'y fait, lorsque j'importe certaines MIBS (bien evidement celle qui m'interresse le plus :-x ), j'ai "total translations 0", il ne me génere aucune trap.

    HELP ME PLEASE

  • #2
    Es-tu sur que cette MIB décrit bien des traps SNMP ?

    Peux-tu lier ta mib à ce sujet pour que je test ?
    Centreon Syslog Module Manager/Developper
    Centreon E2S Module Manager/Developper
    Centreon Enterprise Server (2.x / 3.x) : Centreon Engine 1.3.x / 1.4.x, Centreon Broker 2.6.x / 2.8.x , Centreon 2.x, Centreon-Syslog 1.5.x, Centreon E2S 2.0
    Nagios 3.x et NDOutil 1.x

    Comment


    • #3
      Bonjour AkHeNaToN,

      Voici un exemple des MIBs que je veux convertir en traps. Comment fait tu pour savoir si elles décrient des traps ?

      Moving traps in DataBase...
      2015-07-21 16:47:48 - snmptranslate version: NET-SNMP version: 5.5
      2015-07-21 16:47:48 - mib name: HP-ICF-OID
      2015-07-21 16:47:48 - Processing MIB: HP-ICF-OID
      2015-07-21 16:47:48 - Done
      2015-07-21 16:47:48 - Total translations: 0
      2015-07-21 16:47:48 - Successful translations: 0
      2015-07-21 16:47:48 - Failed translations: 0


      Generate Traps configuration files from Monitoring Engine configuration form!




      Moving traps in DataBase...
      2015-07-21 16:53:25 - snmptranslate version: NET-SNMP version: 5.5
      2015-07-21 16:53:25 - mib name: HP-ICF-IPCONFIG
      2015-07-21 16:53:25 - Processing MIB: HP-ICF-IPCONFIG
      2015-07-21 16:53:25 - Done
      2015-07-21 16:53:25 - Total translations: 0
      2015-07-21 16:53:25 - Successful translations: 0
      2015-07-21 16:53:25 - Failed translations: 0


      Generate Traps configuration files from Monitoring Engine configuration form!

      Voici le lien de téléchargement des MIBS :

      https://h10145.www1.hp.com/downloads...&PurchaseDate=


      Merci pour ton aide

      Comment


      • #4
        Seules des trap SNMP peuvent être chargée dans Centeron.

        Ces traps SNMP sont définies en tant que NOTIFICATION-TYPE dans les fichiers MIB

        Les traps définies sont les suivantes :
        Code:
        hpicfServiceTunnelIfUp
        hpicfServiceTunnelIfDown
        hpSwitchStartupConfigChange
        hpicfSnmpAuthFail
        ospfv3VirtIfStateChange
        ospfv3NbrStateChange
        ospfv3VirtNbrStateChange
        ospfv3IfConfigError
        ospfv3VirtIfConfigError
        ospfv3IfRxBadPacket
        ospfv3VirtIfRxBadPacket
        ospfv3LsdbOverflow
        ospfv3IfStateChange
        ospfv3NssaTranslatorStatusChange
        ospfv3RestartStatusChange
        ospfv3NbrRestartHelperStatusChange
        ospfv3VirtNbrRestartHelperStatusChange
        vrrpTrapNewMaster
        vrrpTrapAuthFailure
        hpicfUsrAuthCLIAuthFail
        hpicfUsrAuthPasswdChng
        hpicfPortSecAuthFailure
        hpicfDhcpSnoopErrantReply
        rpMauJabberTrap
        ifMauJabberTrap
        hpHttpMgHealthTrap
        hpHttpMgShutdown
        hpHttpMgUnknownHealthTrap
        hpHttpMgOKHealthTrap
        hpHttpMgCriticalHealthTrap
        hpHttpMgNonRecoverableHealthTrap
        hpHttpMgDeviceAddedTrap
        hpHttpMgDeviceRemovedTrap
        pethPsePortOnOffNotification
        hpStackPortChange
        hpStackCommanderChange
        hpStackMemberChange
        hpStackMemberStatusChange
        hpStackMergeFailed
        hpStackMergeSuccess
        hpicfSwitchAuthServerFail
        hpicfBridgeLoopProtectLoopDetectedNotification
        hpicfBridgeVlanLoopProtectLoopDetectedNotification
        hpicfUSBPortEnabled
        hpicfUSBPortDisabled
        hpicfSelfTestTrap
        hpicfXrrpTrapStateChange
        hpicfXrrpTrapAuthFailure
        hpICMPRateLimitPortNotification
        hpicfConnectionRateFilterNotification
        hpicfArpProtectErrantReply
        vrrpv3NewMaster
        vrrpv3ProtoError
        rpMauJabberTrap
        ifMauJabberTrap
        hpicfSensorTrap
        hpicfSyslogStatusChanged
        hpicfIpLockOutOfResources
        hpicfIpLockErrantNotify
        hpicfRpvstErrantBpduReceived
        hpicfRpvstNewRoot
        hpicfRpvstRootGuardInconsistency
        hpicfRpvstLoopGuardInconsistency
        hpicfRpvstTopologyChange
        hpicfDhcpv4ServerFreeAddressLow
        hpicfDhcpv4ServerFreeAddressHigh
        hpicfDhcpv4ServerDuplicateAddress
        hpicfDhcpv4ServerIfLeaseLimitExceeded
        entStateOperEnabled
        entStateOperDisabled
        rptrHealth
        rptrGroupChange
        rptrResetEvent
        rptrInfoHealth
        rptrInfoResetEvent
        coldStart
        warmStart
        authenticationFailure
        hpicfMacNotifyMacAddressTableChange
        hpicfMacNotifyPortMacAddressCount
        ospfVirtIfStateChange
        ospfNbrStateChange
        ospfVirtNbrStateChange
        ospfIfConfigError
        ospfVirtIfConfigError
        ospfIfAuthFailure
        ospfVirtIfAuthFailure
        ospfIfRxBadPacket
        ospfVirtIfRxBadPacket
        ospfTxRetransmit
        ospfVirtIfTxRetransmit
        ospfMaxAgeLsa
        ospfLsdbOverflow
        ospfIfStateChange
        ospfNssaTranslatorStatusChange
        ospfRestartStatusChange
        ospfNbrRestartHelperStatusChange
        ospfVirtNbrRestartHelperStatusChange
        hpicfPimHardMRTFull
        hpicfPimSoftMRTFull
        Et sont disponibles dans les fichiers :
        Code:
        hpicfServiceTunnel.mib:hpicfServiceTunnelIfUp
        hpicfServiceTunnel.mib:hpicfServiceTunnelIfDown
        hpSwitchBasicConfig.mib:hpSwitchStartupConfigChange
        hpicfSnmp.mib:hpicfSnmpAuthFail
        rfc5643.mib:ospfv3VirtIfStateChange
        rfc5643.mib:ospfv3NbrStateChange
        rfc5643.mib:ospfv3VirtNbrStateChange
        rfc5643.mib:ospfv3IfConfigError
        rfc5643.mib:ospfv3VirtIfConfigError
        rfc5643.mib:ospfv3IfRxBadPacket
        rfc5643.mib:ospfv3VirtIfRxBadPacket
        rfc5643.mib:ospfv3LsdbOverflow
        rfc5643.mib:ospfv3IfStateChange
        rfc5643.mib:ospfv3NssaTranslatorStatusChange
        rfc5643.mib:ospfv3RestartStatusChange
        rfc5643.mib:ospfv3NbrRestartHelperStatusChange
        rfc5643.mib:ospfv3VirtNbrRestartHelperStatusChange
        rfc2787.mib:vrrpTrapNewMaster
        rfc2787.mib:vrrpTrapAuthFailure
        hpicfUsrAuth.mib:hpicfUsrAuthCLIAuthFail
        hpicfUsrAuth.mib:hpicfUsrAuthPasswdChng
        hpicfUsrAuth.mib:hpicfPortSecAuthFailure
        hpicfDhcpSnoop.mib:hpicfDhcpSnoopErrantReply
        rfc4836.mib:rpMauJabberTrap
        rfc4836.mib:ifMauJabberTrap
        hpHttpMg.mib:hpHttpMgHealthTrap
        hpHttpMg.mib:hpHttpMgShutdown
        hpHttpMg.mib:hpHttpMgUnknownHealthTrap
        hpHttpMg.mib:hpHttpMgOKHealthTrap
        hpHttpMg.mib:hpHttpMgCriticalHealthTrap
        hpHttpMg.mib:hpHttpMgNonRecoverableHealthTrap
        hpHttpMg.mib:hpHttpMgDeviceAddedTrap
        hpHttpMg.mib:hpHttpMgDeviceRemovedTrap
        ieee802af.mib:pethPsePortOnOffNotification
        hpStack.mib:TimeTicks,
        hpStack.mib:hpStackPortChange
        hpStack.mib:hpStackCommanderChange
        hpStack.mib:hpStackMemberChange
        hpStack.mib:hpStackMemberStatusChange
        hpStack.mib:hpStackMergeFailed
        hpStack.mib:hpStackMergeSuccess
        hpicfAutz.mib:hpicfSwitchAuthServerFail
        hpicfBridge.mib:hpicfBridgeLoopProtectLoopDetectedNotification
        hpicfBridge.mib:hpicfBridgeVlanLoopProtectLoopDetectedNotification
        hpicfUSBPort.mib:hpicfUSBPortEnabled
        hpicfUSBPort.mib:hpicfUSBPortDisabled
        hpicfBasic.mib:hpicfSelfTestTrap
        hpicfXrrp.mib:hpicfXrrpTrapStateChange
        hpicfXrrp.mib:hpicfXrrpTrapAuthFailure
        hpicfRateLimit.mib:hpICMPRateLimitPortNotification
        hpicfConnectionRateFilter.mib:hpicfConnectionRateFilterNotification
        hpicfArpProtect.mib:hpicfArpProtectErrantReply
        rfc6527.mib:vrrpv3NewMaster
        rfc6527.mib:vrrpv3ProtoError
        rfc3636.mib:rpMauJabberTrap
        rfc3636.mib:ifMauJabberTrap
        hpicfChassis.mib:hpicfSensorTrap
        hpicfSyslog.mib:hpicfSyslogStatusChanged
        hpicfIpLockdown.mib:hpicfIpLockOutOfResources
        hpicfIpLockdown.mib:hpicfIpLockErrantNotify
        hpicfRpvst.mib:hpicfRpvstErrantBpduReceived
        hpicfRpvst.mib:hpicfRpvstNewRoot
        hpicfRpvst.mib:hpicfRpvstRootGuardInconsistency
        hpicfRpvst.mib:hpicfRpvstLoopGuardInconsistency
        hpicfRpvst.mib:hpicfRpvstTopologyChange
        hpicfDhcpv4Server.mib:hpicfDhcpv4ServerFreeAddressLow
        hpicfDhcpv4Server.mib:hpicfDhcpv4ServerFreeAddressHigh
        hpicfDhcpv4Server.mib:hpicfDhcpv4ServerDuplicateAddress
        hpicfDhcpv4Server.mib:hpicfDhcpv4ServerIfLeaseLimitExceeded
        rfc4268.mib:entStateOperEnabled
        rfc4268.mib:entStateOperDisabled
        rfc2108.mib:rptrHealth
        rfc2108.mib:rptrGroupChange
        rfc2108.mib:rptrResetEvent
        rfc2108.mib:rptrInfoHealth
        rfc2108.mib:rptrInfoResetEvent
        rfc3418.mib:coldStart
        rfc3418.mib:warmStart
        rfc3418.mib:authenticationFailure
        hpicfMacNotify.mib:hpicfMacNotifyMacAddressTableChange
        hpicfMacNotify.mib:hpicfMacNotifyPortMacAddressCount
        rfc4750b.mib:ospfVirtIfStateChange
        rfc4750b.mib:ospfNbrStateChange
        rfc4750b.mib:ospfVirtNbrStateChange
        rfc4750b.mib:ospfIfConfigError
        rfc4750b.mib:ospfVirtIfConfigError
        rfc4750b.mib:ospfIfAuthFailure
        rfc4750b.mib:ospfVirtIfAuthFailure
        rfc4750b.mib:ospfIfRxBadPacket
        rfc4750b.mib:ospfVirtIfRxBadPacket
        rfc4750b.mib:ospfTxRetransmit
        rfc4750b.mib:ospfVirtIfTxRetransmit
        rfc4750b.mib:ospfMaxAgeLsa
        rfc4750b.mib:ospfLsdbOverflow
        rfc4750b.mib:ospfIfStateChange
        rfc4750b.mib:ospfNssaTranslatorStatusChange
        rfc4750b.mib:ospfRestartStatusChange
        rfc4750b.mib:ospfNbrRestartHelperStatusChange
        rfc4750b.mib:ospfVirtNbrRestartHelperStatusChange
        hpicfPim.mib:hpicfPimHardMRTFull
        hpicfPim.mib:hpicfPimSoftMRTFull
        Centreon Syslog Module Manager/Developper
        Centreon E2S Module Manager/Developper
        Centreon Enterprise Server (2.x / 3.x) : Centreon Engine 1.3.x / 1.4.x, Centreon Broker 2.6.x / 2.8.x , Centreon 2.x, Centreon-Syslog 1.5.x, Centreon E2S 2.0
        Nagios 3.x et NDOutil 1.x

        Comment


        • #5
          Merci beaucoup.

          J'ai également le même nombre de traps.

          Comment

          Working...
          X