Hi all,
I have a rather complicated setup:
1. When an application starts it auto registers itself.
2. The autoregister action creates a host and links two templates each of them having a low level discovery specification.
3. The first lld has a "Zabbix agent" item and a graph showing that item.
4. The second lld has a "Zabbix agent (active)" item and a graph showing that item.
When the applications starts the host is registered, the two items and the two graphs are present. The graph of the passive item is fine. Yet, the graph for the active item reports, that it has "[ no data ]".
The active item data is provided by a custom agent that periodically sends messages to Zabbix server. From the log:
write message: {"request":"agent data",
"data":[
{"host":"new-host-2",
"key":"jmx-active[java.lang:type=OperatingSystem][FreePhysicalMemorySize]",
"value":2253737984,
"clock":1361566690288
}
],
clock:1361566690288
}
writeResponse: ZBXD???{
"response":"success",
"info":"Processed 1 Failed 0 Total 1 Seconds spent 0.000142"}
I turned on the debug level of the Zabbix server log and found no error on the server side.
Has anyone an idea why the data does not make it into the graph? Has someone experiences with a custom self registering active Zabbix agent?
TIA
Stefan
I have a rather complicated setup:
1. When an application starts it auto registers itself.
2. The autoregister action creates a host and links two templates each of them having a low level discovery specification.
3. The first lld has a "Zabbix agent" item and a graph showing that item.
4. The second lld has a "Zabbix agent (active)" item and a graph showing that item.
When the applications starts the host is registered, the two items and the two graphs are present. The graph of the passive item is fine. Yet, the graph for the active item reports, that it has "[ no data ]".
The active item data is provided by a custom agent that periodically sends messages to Zabbix server. From the log:
write message: {"request":"agent data",
"data":[
{"host":"new-host-2",
"key":"jmx-active[java.lang:type=OperatingSystem][FreePhysicalMemorySize]",
"value":2253737984,
"clock":1361566690288
}
],
clock:1361566690288
}
writeResponse: ZBXD???{
"response":"success",
"info":"Processed 1 Failed 0 Total 1 Seconds spent 0.000142"}
I turned on the debug level of the Zabbix server log and found no error on the server side.
Has anyone an idea why the data does not make it into the graph? Has someone experiences with a custom self registering active Zabbix agent?
TIA
Stefan
Comment