Ad Widget

Collapse

Help please!!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jsomoza
    Junior Member
    • Mar 2008
    • 27

    #1

    Help please!!

    Hi all!

    I have a problem with sending traps to zabbix. When i receive a trap, i know that snmptrap.sh, which is the script executed when receiving the trap, is really executed. I know it because of some test i've done.

    However, when executing the last line of the script, the zabbix_sender one, nothing happens.The line is:
    $ZABBIX_SENDER -vv -z $ZABBIX_SERVER -p $ZABBIX_PORT -s $HOST -k $KEY -o "$str"
    being the variables the correct ones.

    In addition, if i execute the line:
    /opt/sbin/zabbix_sender -vv -z monitor -p 10052 -s wildcardhost -k snmptraps -o "25"
    in my console, i receive:
    sent: 1; failed: 0; total: 1
    but nothing is really sent to zabbix or, at least, i can't see anything in my Last Value column.

    On the other hand, my host configuration is:
    name:wildcardhost
    status:monitored
    IP:0.0.0.0
    Without DNS name.
    Connect to: IP address.
    Port:The same as zabbix_server.
    And my item configuration is:
    Type:zabbix_trapper.
    Key:snmptraps.
    Type of information:Character.
    Show value:As is.
    Status:Active.
    Without alowed host.

    Because of this, i thing the problem could be both in zabbix_sender or in the host & item created in zabbix. Any idea?

    Thanks beforehand.
Working...