Ad Widget

Collapse

Zabbix SNMP trap handler writeup

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • skullone
    Member
    • Mar 2007
    • 46

    #1

    Zabbix SNMP trap handler writeup

    I wrote a brief guide on using snmptrapd, SNMPTT, and Zabbix to parse and alert on incoming SNMP traps.

    It is written from the perspective of parsing Dell OpenManage SNMP trap items, but can be suited to parse any SNMP MIBs.

    You can read it at:


    I don't know how to add to the Zabbix wiki, but I'd be glad to submit it and maintain it.

    Let me know if this helps anyone.
  • melpheos
    Member
    • Dec 2008
    • 64

    #2
    Now it's located at http://www.brentrjones.com/?p=13

    I tried today to implement this solution but lacked of time. I will continue tomorrow.

    Comment

    • pierky
      Junior Member
      • Jan 2009
      • 1

      #3
      If you want you can look at how I solved the problem

      In my opinion Zabbix is a really good NMS, but it’s lacking on SNMP traps handling. Traps can be received using Net-SNMP suite and snmptrap.sh, a script released within the misc directory of …

      Comment

      • melpheos
        Member
        • Dec 2008
        • 64

        #4
        Originally posted by pierky
        If you want you can look at how I solved the problem

        http://pierky.wordpress.com/2009/01/...he-right-host/
        Hi, thanks for the link, i may need your script for other stuff.

        Comment

        • anon
          Junior Member
          • Jun 2009
          • 9

          #5
          Another Zabbix+SNMPTT trap handler solution. Tested with 1.8.1

          Comment

          • giapnguyen
            Member
            • Aug 2009
            • 33

            #6
            My more fancy snmptrap http://yangho.byethost22.com/wiki/do...hanced_snmptra

            Comment

            • anon
              Junior Member
              • Jun 2009
              • 9

              #7
              I think you meant: http://yangho.byethost22.com/wiki/do...anced_snmptrap

              I had looked at your page previously and I really like what you did. In the end, however, I opted for a different method because I felt it was more beneficial to have all trap events in a single trapper item for the host to help see event correlation - like for linkDown/linkUp or upsOnBattery/powerRestored, etc. I also like the snmptt integration.

              We just migrated to 1.8.1, so I'm looking forward to testing out your SNMP Builder!

              Comment

              • giapnguyen
                Member
                • Aug 2009
                • 33

                #8
                Originally posted by anon
                I think you meant: http://yangho.byethost22.com/wiki/do...anced_snmptrap

                I had looked at your page previously and I really like what you did. In the end, however, I opted for a different method because I felt it was more beneficial to have all trap events in a single trapper item for the host to help see event correlation - like for linkDown/linkUp or upsOnBattery/powerRestored, etc. I also like the snmptt integration.

                We just migrated to 1.8.1, so I'm looking forward to testing out your SNMP Builder!
                At beginning, I plan to define a formula in trap item than snmptrap.php can combine or calculate base on trap values. But I not figure out where to put the formula (I prefer to use zabbix GUI rather additional config file - maybe some unused params in zabbix item's template). So far, current solution is enough for my work, I don't have motive to improve it yet.

                Comment

                • angelhc
                  Senior Member
                  Zabbix Certified Specialist
                  • Nov 2009
                  • 226

                  #9
                  Originally posted by anon
                  I think you meant: http://yangho.byethost22.com/wiki/do...anced_snmptrap

                  I had looked at your page previously and I really like what you did. In the end, however, I opted for a different method because I felt it was more beneficial to have all trap events in a single trapper item for the host to help see event correlation - like for linkDown/linkUp or upsOnBattery/powerRestored, etc. I also like the snmptt integration.

                  We just migrated to 1.8.1, so I'm looking forward to testing out your SNMP Builder!
                  Hi,
                  The link is broken.. any update about it?

                  Thanks!!
                  Number of hosts 1600,Number of items +90k,Number of triggers +22k, Number of users +100, New values per second +1270

                  http://zabbixes.wordpress.com/

                  Comment

                  Working...