Ad Widget

Collapse

zabbix_sender failed

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • benkahla
    Junior Member
    • Jan 2020
    • 5

    #1

    zabbix_sender failed

    i write a script to bash after to do some TEST i will send data with zabbix_sender -z $ip_serv -s "$host" -k $key -o "$val" .
    send failed

  • gert.derouck
    Member
    • Jan 2020
    • 69

    #2
    Hi,

    do the host and host item exist on your zabbix server?
    Can you access port 10051 on the server from the client?
    Do you have other agent-active items on the host? And do these work?

    Use option -vv of zabbix_sender and check if more details on the failure are shown.

    Regards

    Comment

    • benkahla
      Junior Member
      • Jan 2020
      • 5

      #3
      Hi
      yes , i add item with trapper type , with key , i can send with zabbix_sender data for server , but i can't use the same commande in my script bash ,
      when i use --vv option


      zabbix_sender [14521]: DEBUG: answer [{"response":"success","info":"processed: 0; failed: 1; total: 1; seconds spent: 0.000030"}]
      info from server: "processed: 0; failed: 1; total: 1; seconds spent: 0.000030"
      sent: 1; skipped: 0; total: 1

      Comment

      • Hamardaban
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • May 2019
        • 2713

        #4
        This means that the script incorrectly generates a string with parameters. Output the resulting command and publish it here

        Comment

        Working...