Ad Widget

Collapse

Zabbix sender multiple key values

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • esawyja
    Member
    Zabbix Certified Specialist
    • Dec 2011
    • 54

    #1

    Zabbix sender multiple key values

    Hi All,
    Can I define one item, eg sdp.status.???? and then send the statuses with zabbix_sender as below

    zabbix_sender -vvv -c /etc/zabbix/zabbix_agentd.conf -i sendsdp.txt
    Info from server: "Processed 0 Failed 4 Total 4 Seconds spent 0.000067"
    sent: 4; skipped: 0; total: 4

    cat sendsdp.txt
    TestServer sdp.status.0 6
    TestServer sdp.status.1 2
    TestServer sdp.status.2 0
    TestServer sdp.status.3 3

    Or must I define one item per sdp eg
    sdp.status.0
    sdp.status.1
    ....
    If I can assign muliple values to one key, what would the ??? be? I tried this
    sdp.status.[0,1,2,3], but this does not work
    Any suggestions please
  • JBo
    Senior Member
    • Jan 2011
    • 310

    #2
    Hi,

    Originally posted by esawyja
    Can I define one item, eg sdp.status.???? and then send the statuses with zabbix_sender as below
    [...]
    No.

    Originally posted by esawyja
    Or must I define one item per sdp eg
    sdp.status.0
    sdp.status.1
    Yes

    Hope this helps
    JBo

    Comment

    • esawyja
      Member
      Zabbix Certified Specialist
      • Dec 2011
      • 54

      #3
      Short and sweet...
      thanks!!

      Comment

      Working...