Hello,
I have browsed through Java Gateway related pages in Zabbix manual:
http://www.zabbix.com/documentation/.../concepts/java
http://www.zabbix.com/documentation/...ig/zabbix_java
http://www.zabbix.com/documentation/...jmx_monitoring
and have used some help on forum to successfully configure JMX monitoring for a single host (http://www.zabbix.com/forum/showthread.php?t=21758).
Now I need to configure multiple hosts for JMX monitoring, but none of the above pages describes setup for multiple hosts.
Assuming the same logic is applied to configuring one host I came out with two potential approaches:
1. Zabbix Java Gateway should be installed on each of the monitored machines. In this case zabbix_server.conf should contain multiple IP addresses for JavaGateway parameter. The problem here is that http://www.zabbix.com/documentation/.../zabbix_server does not specify if multiple parameters are allowed. Is it the same logic as for ListenIP parameter or it is not supported yet?
2. Zabbix Java Gateway should be installed only on one host and gateway instance on this host collects data across IPs defined in setting.sh. In this way zabbix_server.conf stays untouched. I haven't found any evidence as well that multiple values for ListenIP parameter in settings.sh are possible.
Please share some ideas in which direction to go, is it possible to use Zabbix Java Gateway functionality for multiple monitoring or should I seek some other solution, like using zabbix-agent and jmx console utility?
I would prefer to switch to other solutions only if using Zabbix Java Gateway is absolutely not possible for this situation.
I have browsed through Java Gateway related pages in Zabbix manual:
http://www.zabbix.com/documentation/.../concepts/java
http://www.zabbix.com/documentation/...ig/zabbix_java
http://www.zabbix.com/documentation/...jmx_monitoring
and have used some help on forum to successfully configure JMX monitoring for a single host (http://www.zabbix.com/forum/showthread.php?t=21758).
Now I need to configure multiple hosts for JMX monitoring, but none of the above pages describes setup for multiple hosts.
Assuming the same logic is applied to configuring one host I came out with two potential approaches:
1. Zabbix Java Gateway should be installed on each of the monitored machines. In this case zabbix_server.conf should contain multiple IP addresses for JavaGateway parameter. The problem here is that http://www.zabbix.com/documentation/.../zabbix_server does not specify if multiple parameters are allowed. Is it the same logic as for ListenIP parameter or it is not supported yet?
2. Zabbix Java Gateway should be installed only on one host and gateway instance on this host collects data across IPs defined in setting.sh. In this way zabbix_server.conf stays untouched. I haven't found any evidence as well that multiple values for ListenIP parameter in settings.sh are possible.
Please share some ideas in which direction to go, is it possible to use Zabbix Java Gateway functionality for multiple monitoring or should I seek some other solution, like using zabbix-agent and jmx console utility?
I would prefer to switch to other solutions only if using Zabbix Java Gateway is absolutely not possible for this situation.
Comment