Ad Widget

Collapse

Zabbix unmatched snmp trap

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Martins
    Junior Member
    • May 2012
    • 25

    #1

    Zabbix unmatched snmp trap

    Hello.

    Yesterday I upgrade to Zabbix 2.0 and try to configure SNMP trap from DELL iDRAC6 card.

    I used zabbix documentation for this: http://www.zabbix.com/documentation/...types/snmptrap

    All works, except when send test trap from iDRAC got error in zabbix_server.log:

    Code:
    unmatched trap received from [IPMI]: 17:46:24 2012/05/23 .1.3.6.1.4.1.3183.1.1.0.1001 INFORMATIONAL "Status Events" IpAddress: xx.xxx.xx.xxx - Alert Configuration Test
    snmptt.conf file I use from converted dell mib file, this trap use this syntax:

    Code:
    EVENT asfTrapIPMIAlertTest .1.3.6.1.4.1.3183.1.1.0.1001 "Status Events" INFORMATIONAL
    FORMAT ZBXTRAP IPMI Alert Configuration Test
    SDESC
    
    IPMI Alert Configuration Test
    Variables:
    EDESC
    If I use General event syntax which used in documentation, I got same error.

    Only one output in zabbix frontend I got, when configure to use test command:

    snmptrap -v 1 -c public 127.0.0.1 '.1.3.6.1.6.3.1.1.5.3' '0.0.0.0' 6 33 '55' .1.3.6.1.6.3.1.1.5.3 s “teststring000”

    For iDRAC6 snmp trap monitor I use this item:

    Type: SNMP trap
    Key: snmptrap["Status Events"]
    Host interface: xx.xxx.xx.xxx:162
    Type of information: Log
    Log time format: hh:mm:ss yyyy/MM/dd

    Am I missing something?

    Thanks.
  • Martins
    Junior Member
    • May 2012
    • 25

    #2
    Please help...

    Or maybe there is other method to get traps to work and send to e-mail readable status notification?

    Comment

    • Martins
      Junior Member
      • May 2012
      • 25

      #3
      Hello.

      I find where was my problem:

      After FORMAT in snmptt.conf need to be ZBXTRAP and address (IP or DNS name).

      Now in zabbix I get this item value:

      Code:
      15:27:34 2012/05/29 .1.3.6.1.4.1.3183.1.1.0.1001 INFORMATIONAL "Status Events" IpAddress: 89.111.20.143 - IPMI Alert Configuration Test
      How can I set up trigger, who recieving send this item to e-mail? Or maybe can cut out OID? Or is better solution?

      Thanks!

      Comment

      • ludanda
        Junior Member
        • Sep 2012
        • 4

        #4
        unmatched trap

        Hello! Sorry if my english is bad...

        well i have the same problem, zabbix unmatch my traps I configured to this form:

        In /etc/snmp/snmptt.conf I put:

        EVENT powersysRelease .1.3.6.1.4.1.22638.3.1.1.6.10 "Status event" Normal
        FORMAT ZBXTRAP $ar $N $+*

        I try to create a host In zabbix in the web localhost/zabbix to this form.... "Configuration" >> "Host" and in the field:

        SNMP interfaces: I puted the IP of my device to monitoring "10..22.50.131" with port 161 and select IP.


        And I created an item with the next informatión:

        Host: LUHOST
        Name: luhost
        Type: Zabbix Trapper
        Key:snmptrap.fallback
        Type of information: Log
        Units:
        Use custom multiplier:

        Keep history (in days): 90
        Log time format: hh:mm:ss yyyy/MM/dd


        In the log file (/tmp/zabbix_server.log) I get:

        2070:20121023:114335.345 unmatched trap received from [10.22.50.185]: Tue Oct 23 11:43:34 2012 .1.3.6.1.4.1.22638.3.1.1.6.10 Normal "Status event" 10.22.50.185 - powersysRelease .iso:2012-10-23 10:15:46 .iso:1 .iso:1


        In the log file of snmptt (/var/log/snmptt/snmptt.log) I get:

        Tue Oct 23 11:45:28 2012 .1.3.6.1.4.1.22638.3.1.1.6.10 Normal "Status event" 10.22.50.185 - ZBXTRAP 10.22.50.131 powersysRelease .iso:2012-10-23 10:17:49 .iso:1 .iso:1



        I see that you can resolve this problem, please... Can you help me??? I new in zabbix and I dont know how configurate a lot of things ....

        and other thing i dont load the mib in "/usr/share/mibs/netsnmp" do you think that here is my problem...???



        well thanks and I really sorry for my bad english...

        Comment

        • Martins
          Junior Member
          • May 2012
          • 25

          #5
          Hello.

          Hmm, for Items I used SNMP trap type and in key I put snmptrap[AndThereTrapID]. TrapID I mean like .1.3.6.1.4.1.22638.3.1.1.6.10.

          If I remember correctly, then snmptrap.fallback doesn't work for me.

          But I think here isn't problem with Item... Are you correctly set up date_time_format in snmptt.ini?

          Comment

          Working...