Zabbix_sender : zabbix_sender [2728]: Warning: [line 1] 'Key' required

XMLWordPrintable

    • Type: Incident report
    • Resolution: Won't fix
    • Priority: Major
    • None
    • Affects Version/s: 2.2.4
    • Component/s: Agent (G)
    • Environment:
      Windows 2008R2

      i Created an Item with the following details
      type = Zabbix Trapper
      Key = trap
      type of information = Numeric (unsigned)
      Data type = Decimal
      From one of my server i'm trying to send data to this item via the following syntax
      zabbix_sender -z SRV0374 -p 10051 -s SRV0420 -k trap -i c:\scripts\logsuperview.txt -vv
      and i obtain
      zabbix_sender [2728]: Warning: [line 1] 'Key' required
      sending failed.
      the file logsuperview.txt contains only the number 1
      i tried to send a number with -o "1" but it didn't work too.
      zabbix_sender [5632]: DEBUG: answer [

      { "response":"success", "info":"processed: 0; failed: 1; total: 1; seconds spent: 0.000028"}

      ]
      info from server: "processed: 0; failed: 1; total: 1; seconds spent: 0.000028"
      sent: 1; skipped: 0; total: 1
      Do i miss something ??

            Assignee:
            Unassigned
            Reporter:
            Stephane Soupirot
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: