Ad Widget

Collapse

Traps are not being handled

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dunbart
    Junior Member
    • May 2006
    • 12

    #1

    Traps are not being handled

    Hi,

    Traps are received by the server, i can notice them in /var/log/messages.
    I have created /etc/snmp/snmptrapd.conf and added the following line:

    traphandle default /bin/bash /home/zabbix/bin/snmptrap.sh

    I have also copied the snmptrap.sh to /home/zabbix/bin/snmptrap.sh

    Manually executing ./zabbix_sender localhost 10051 snmptraps snmptraps "test" gives me in information at the "Latest Data" tab.

    Somewhere in between things are going wrong!

    Help's apreciated.

    dunbart
  • dunbart
    Junior Member
    • May 2006
    • 12

    #2
    Check configuration of script

    While fooling around with vi, i screwed up snmptrap.sh!

    I am looking forward to release 1.1!

    dunbart

    Comment

    Working...