Ad Widget

Collapse

Zabbix trapper and LLD items

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cbichis
    Member
    • Apr 2013
    • 30

    #1

    Zabbix trapper and LLD items

    Hi,

    I am working to create a zabbix trapper based LLD.

    I do have problems on trying to send to server the list of LLD-based items:

    zabbix_sender -z myhost -p 10051 -s "my-server" -k my.traplld -o "{"data":[{"{#ID}":"a"},{"{#ID}":"b"}]}"

    doesn't work and same on other formats:

    -o "{\"data\":[{\"{#ID}\":\"a\"},{\"{#ID}\":\"b\"}]}"

    -o '{"data":[{"{#ID}":"a"},{"{#ID}":"b"}]}'

    The error is always:
    info from server: "Processed 0 Failed 1 Total 1 Seconds spent 0.000029"
    sent: 1; skipped: 0; total: 1

    How I should pass to server the list of LLD items ?
    Last edited by cbichis; 25-06-2013, 12:19.
Working...