Hello,
I am doing a POC with Zabbix, version 2.4.4. I got Zabbix Server up and running and installed Zabbix Agent on several hosts. I want to add JMX monitoring too, however I cannot seem to get that working properly. It also seems to be undocumented, largely, so I am looking for some help on the matter.
I have three JVMs which I want to monitor and have added the JMX part on the classpath. I can telnet to ports, so JMX access is working. It does require credentials.
I have added the three JMX ports on a host, via the Zabbix Server GUI. I also added that host to "Template JMX Generic". I added to that same template these Macros "{$JMX_PASSWORD}" and "{$JMX_USERNAME}" (exactly as written here, in case that matters).
Because this didn't seem to work, I also clicked on every "Item" in "Template JMX Generic" and put these values for User Name and Password:
"{$JMX_USERNAME}" and "{$JMX_PASSWORD}"
Still it doesn't seem to work and that host, which was working fine without JMX is now coming up as:
<host> is not reachable
Thanks!
Hugo
I am doing a POC with Zabbix, version 2.4.4. I got Zabbix Server up and running and installed Zabbix Agent on several hosts. I want to add JMX monitoring too, however I cannot seem to get that working properly. It also seems to be undocumented, largely, so I am looking for some help on the matter.
I have three JVMs which I want to monitor and have added the JMX part on the classpath. I can telnet to ports, so JMX access is working. It does require credentials.
I have added the three JMX ports on a host, via the Zabbix Server GUI. I also added that host to "Template JMX Generic". I added to that same template these Macros "{$JMX_PASSWORD}" and "{$JMX_USERNAME}" (exactly as written here, in case that matters).
Because this didn't seem to work, I also clicked on every "Item" in "Template JMX Generic" and put these values for User Name and Password:
"{$JMX_USERNAME}" and "{$JMX_PASSWORD}"
Still it doesn't seem to work and that host, which was working fine without JMX is now coming up as:
<host> is not reachable
Thanks!
Hugo



Comment