I am trying to setup monitoring for activemq destinations using LLD. For various reasons I can't use the Java gateway. I have a discovery script that is configured as a UserParameter:
The template discovery rule key is:
and the item prototype is of type "Zabbix trapper" with the key:
and AFAIK the discovery portion works properly, as I see the items in the UI under Monitoring -> Latest Data but with the Last Check set to never. I see lots of activity in the logs when the discovery is run with the correct destinations being configured and no obvious errors.
The monitoring script runs every minute, and when it does I see these lines in the server log, but no indication why it failed:
Any ideas how to debug this further?
thanks
mike
UserParameter=activemq.destination.discovery[*],/usr/local/zabbix/activemq_monitor.py discovery
The template discovery rule key is:
activemq.destination.discovery
and the item prototype is of type "Zabbix trapper" with the key:
activemq.destination[{#DESTNAME},QueueSize]
and AFAIK the discovery portion works properly, as I see the items in the UI under Monitoring -> Latest Data but with the Last Check set to never. I see lots of activity in the logs when the discovery is run with the correct destinations being configured and no obvious errors.
The monitoring script runs every minute, and when it does I see these lines in the server log, but no indication why it failed:
7198:20121217:164204.564 Trapper got [{
"request":"sender data",
"data":[
{
"host":"mdhpeernode01",
"key":"activemq.destination.peernode-ops.QueueSize",
"value":"0"}]}] len 142
7198:20121217:164204.564 In recv_agenthistory()
7198:20121217:164204.564 In process_hist_data()
7198:20121217:164204.564 In process_mass_data()
7198:20121217:164204.564 End of process_mass_data()
7198:20121217:164204.564 End of process_hist_data():SUCCEED
7198:20121217:164204.564 In zbx_send_response()
7198:20121217:164204.564 zbx_send_response() '{
"response":"success",
"info":"Processed 0 Failed 1 Total 1 Seconds spent 0.000130"}'
"request":"sender data",
"data":[
{
"host":"mdhpeernode01",
"key":"activemq.destination.peernode-ops.QueueSize",
"value":"0"}]}] len 142
7198:20121217:164204.564 In recv_agenthistory()
7198:20121217:164204.564 In process_hist_data()
7198:20121217:164204.564 In process_mass_data()
7198:20121217:164204.564 End of process_mass_data()
7198:20121217:164204.564 End of process_hist_data():SUCCEED
7198:20121217:164204.564 In zbx_send_response()
7198:20121217:164204.564 zbx_send_response() '{
"response":"success",
"info":"Processed 0 Failed 1 Total 1 Seconds spent 0.000130"}'
Any ideas how to debug this further?
thanks
mike
Comment