If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to REGISTER before you can post. To start viewing messages, select the forum that you want to visit from the selection below.
Zapcat is one way, though you have to integrate it into your java to get it to do all you want.
We had one of our Admins write a java app that does the querying for us and put a dump of all of our very specific JMX and JMS data into parsable format. We pull the data using wget and parse out the lines we want and return the values.
This is not necessarily an ideal solution for everyone, but it works for us.
Hi!
Does any one know best practice monitor jmx with zabbix?
I do it this way:
1. Enable mx4j in java so all jmx metrics are available via HTTP.
2. Write script which will run from cron, query all JMX stuff via http, parse data and deliver then to zabbix via zabbix_sender (the item values should be of zabbix-trapper type).
Make sure you have enough zabbix trappers configured.
Besides zapcat, you can use Mikoomi's implementation of Zabbix virtual appliance for Java JVM.
Mikoomi has a a Zabbix appliance that comes bundled with JVM monitoring.
It uses an agent that does not require an Zabbix agent on the JVM host and nor does it require you to use up the standard Zabbix agent port on the JVM host.
In addition, you can monitor multiple JVMs on the same host.
However each JVM has to be configured as a "unique" host.
See the install instructions on the agent.
--
Jayesh Thakrar
Mikoomi - Enterprise Monitoring Made Virtual
Comment