Ad Widget

Collapse

SNMP Traps Installation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DieterV
    Junior Member
    • Apr 2014
    • 7

    #1

    SNMP Traps Installation

    Dear Community,

    for a school project I need to install and configure a Zabbix server in my classroom.
    I can monitore some computers and servers now, with agent or snmp.
    But I can't get SNMP traps working.

    I tried several guides on installing it.

    This one
    Join the friendly and open Zabbix community on our forums and social media platforms.

    Where I got stuck on the yum install snmptt, it couldn't find that package.

    And this one
    Join the friendly and open Zabbix community on our forums and social media platforms.

    Where I can do the whole configuration but after all it doesn't do anything. Some of the traps get into the /tmp directory but not all. And nothing is reported on the Zabbix webpage.

    Anyone has a better guide or ideas where it went wrong?

    I'm running Zabbix 2.2.2 on a Centos6.5

    Thanks, Dieter V
  • jpka
    Junior Member
    • Sep 2013
    • 24

    #2
    Not sure if it can be helpful for you, but under Ubuntu, traps are working good. I use 3rd method (without snmptt) from this article (but it in another language): va0816_blogspot_ru/2013/06/zabbix-snmp-traps.html

    you need then to test if your port 10051 is open (telnet work).
    Related commands:
    for testing sender:
    Code:
    /usr/bin/zabbix_sender -T -z (server-ip-addr) -p 10051 -s "Zabbix server" -k zabbixTrapKey -o "kkkkk" -r
    for see any error messages:
    Code:
    sudo snmptrapd -Le -n -f
    generate trap:
    Code:
    snmptrap -v 2c -c public (ip) '.1.3.6.1.6.3.1.1.5.1' '0.0.0.0' 6 33 '55' .1.3.6.1.6.3.1.1.5.1 s "teststring000"
    if you can't find zabbix_sender see here https://www.zabbix.com/forum/showthread.php?t=42593

    Comment

    Working...