Hello, I am new to Zabbix and have been exploring how to get data from our java apps into Zabbix.
I can send a single metric and it's value to Zabbix using the following JSON string:
{"request":"sender data","data":[{"host":"168.179.60.149","key":"UDHRequestCount"," value":"423","clock":1396988700}] }
I am now trying to send two metrics and their falues to Zabbix using the following JSON string:
{"request":"sender data", "data":[ {"host":"168.179.60.149", key":"UDHRequestCount", "value":"386", "clock":1396984200}, {"host":"168.179.60.149", "key":"UDHRequestInterval", "value":"386", clock":1396984200} ] }
When this JSON string is sent, the read for a response times out.
I am using the technique from section "Implementing Zabbix sender in Java" in the book "Mastering Zabbix".
Could anyone help me and tell me what I am doing wrong?
I can send a single metric and it's value to Zabbix using the following JSON string:
{"request":"sender data","data":[{"host":"168.179.60.149","key":"UDHRequestCount"," value":"423","clock":1396988700}] }
I am now trying to send two metrics and their falues to Zabbix using the following JSON string:
{"request":"sender data", "data":[ {"host":"168.179.60.149", key":"UDHRequestCount", "value":"386", "clock":1396984200}, {"host":"168.179.60.149", "key":"UDHRequestInterval", "value":"386", clock":1396984200} ] }
When this JSON string is sent, the read for a response times out.
I am using the technique from section "Implementing Zabbix sender in Java" in the book "Mastering Zabbix".
Could anyone help me and tell me what I am doing wrong?
Comment