PDA

View Full Version : Zabbix SNMP trap handler writeup


skullone
22-10-2008, 07:23
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:
http://www.brentrjones.com/2008/10/snmptt-zabbix-trap-handler/

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
14-01-2009, 20:46
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.

pierky
31-01-2009, 16:39
If you want you can look at how I solved the problem

http://pierky.wordpress.com/2009/01/30/zabbix-snmp-traps-mapped-to-the-right-host/

melpheos
02-02-2009, 09:45
If you want you can look at how I solved the problem

http://pierky.wordpress.com/2009/01/30/zabbix-snmp-traps-mapped-to-the-right-host/

Hi, thanks for the link, i may need your script for other stuff.

anon
19-02-2010, 04:20
Another Zabbix+SNMPTT trap handler solution. Tested with 1.8.1

http://www.enfinity.net/tech/2010/02/18/a-better-zabbix-trap-handler-using-snmptt

giapnguyen
19-02-2010, 08:10
My more fancy snmptrap :D http://yangho.byethost22.com/wiki/doku.php?id=blog:enhanced_snmptra

anon
19-02-2010, 13:14
I think you meant: http://yangho.byethost22.com/wiki/doku.php?id=blog:enhanced_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!

giapnguyen
19-02-2010, 13:28
I think you meant: http://yangho.byethost22.com/wiki/doku.php?id=blog:enhanced_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.

angelhc
03-03-2011, 09:57
I think you meant: http://yangho.byethost22.com/wiki/doku.php?id=blog:enhanced_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!!