I've been busy putting my JBoss server into Zabbix and created a script to enable low-level discovery of JBoss items like message queues or connection pools.
Software used:
I've put the script on GitHub, including some help on how to use the script.
A detailed example of it's usage can also be found on my blog, which covers setting up the script and how to use it to auto-discover JBoss queues and automatically add items for them. It also covers setting up remote JMX monitoring.
The script can be used to query for anything in JBoss. If you can see it in the jmx-console web interface, the script can extract the data for Zabbix. It uses the "twiddle.sh" tool to gather the data.
It's intended to use with the Zabbix Agent for LLD, the gathering of data is performed by JMX monitoring via the zabbix-java-gateway.
I hope it can help some of you
Software used:
- Zabbix 2.2.1
- JBoss EAP 5.2.0
- RHEL6
- Perl
I've put the script on GitHub, including some help on how to use the script.
A detailed example of it's usage can also be found on my blog, which covers setting up the script and how to use it to auto-discover JBoss queues and automatically add items for them. It also covers setting up remote JMX monitoring.
The script can be used to query for anything in JBoss. If you can see it in the jmx-console web interface, the script can extract the data for Zabbix. It uses the "twiddle.sh" tool to gather the data.
It's intended to use with the Zabbix Agent for LLD, the gathering of data is performed by JMX monitoring via the zabbix-java-gateway.
I hope it can help some of you
Comment