Ad Widget

Collapse

Zabbix_Sender - Failed to update

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • slpefanis
    Member
    • Jan 2020
    • 52

    #1

    Zabbix_Sender - Failed to update

    Hi all

    I'm trying to get the zabbix sender to update some values for me, but I am not really making any headway. Wondering if someone could point me in the right direction?

    I am running this on the Zabbix server itself, but I cannot seem to understand where I'm making an mistake?
    [root@xxx-zabbix zabbix]# zabbix_sender -z 127.0.0.1 -s "O365-Service-Statu11s" -k o365.Status.pt5m["RMS",common] -o test -vv
    zabbix_sender [24312]: DEBUG: answer [{"response":"success","info":"processed: 0; failed: 1; total: 1; seconds spent: 0.000036"}]
    Response from "127.0.0.1:10051": "processed: 0; failed: 1; total: 1; seconds spent: 0.000036"
    sent: 1; skipped: 0; total: 1
  • dimir
    Zabbix developer
    • Apr 2011
    • 1080

    #2
    Bash will strip out the double quotes from item key
    Code:
    o365.Status.pt5m["RMS",common]
    In order to keep them, add single-quotes:
    Code:
    zabbix_sender -z 127.0.0.1 -s O365-Service-Statu11s -k 'o365.Status.pt5m["RMS",common]' -o test -vv
    If that won't help I advise to increase log level of the server and try again, checking zabbix_server.log .

    Comment

    • slpefanis
      Member
      • Jan 2020
      • 52

      #3
      Fantastic. thanks. that worked a treat

      Comment

      Working...