Ad Widget

Collapse

Zabbix_sender failed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Panda
    Junior Member
    • Oct 2015
    • 17

    #1

    Zabbix_sender failed

    Hello,

    I'm new on Linux and on Zabbix (~1month) so I already apologies if I don't understand everything.

    I have to monitor a script, and I need to use a zabbix_sender.

    So I tried to write a script just to test the zabbix sender :
    Code:
    zabbix_sender -p 10051 -z IP -vv -k test.send -s ServName -o 1 -c /etc/zabbix/zabbix_agentd.conf
    I have created an Item (Zabbix Trapper) and when I use the script this happen :
    Code:
    zabbix_sender [4216]: DEBUG: answer [{
            "response":"success",
            "info":"processed: 0; failed: 1; total: 1; seconds spent: 0.000042"}]
    info from server: "processed: 0; failed: 1; total: 1; seconds spent: 0.000042"
    sent: 1; skipped: 0; total: 1
    I have already read things like that but I didnt find any solution, can someone help ?

    If you want to know more things just ask me.
    (Sorry for my bad english)
  • Panda
    Junior Member
    • Oct 2015
    • 17

    #2
    Well, I managed to make the command to work now I get that
    Code:
    sent: 1; skipped: 0; total: 1
    But, my Zabbix Item seem to not receive the values.

    Because when I go on "Monitoring" -> "Latest Data" I find no value in the item.

    Comment

    • Panda
      Junior Member
      • Oct 2015
      • 17

      #3
      It was just a configuration error in the zabbix-agentd.conf, you have to specify the port in the active part.

      Comment

      Working...