Ad Widget

Collapse

Posting Batch Requests : Zabbix 1.64

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rsalota
    Junior Member
    • Jan 2011
    • 3

    #1

    Posting Batch Requests : Zabbix 1.64

    I am using the batch API to post batch requests to a zabbix 1.64 server.

    Sending JSON requests of the nature:

    {"request":"agent data","data":[{"host":"rsalota-macbook-pro.local","key":"jmx[java.lang:type=Runtime][Uptime]","value":"1"},{"host":"rsalota-macbook-pro.local","key":"jmx[java.lang:name=PS Survivor Space,type=MemoryPool][Usage.used]","value":"1"},{"host":"rsalota-macbook-pro.local","key":"jmx[java.lang:name=Code Cache,type=MemoryPool][Usage.used]","value":"1"},{"host":"rsalota-macbook-pro.local","key":"jmx[java.lang:type=Compilation][TotalCompilationTime]","value":"1"},{"host":"rsalota-macbook-pro.local","key":"jmx[java.lang:name=PS Old Gen,type=MemoryPool][Usage.used]","value":"1"}],"clock":1296081287363}


    and getting responses :

    Response ZBXDW
Working...