Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 412247

Summary: net-analyzer/zabbix: Java JMX Management Gateway Support in Zabbix 2.0
Product: Gentoo Linux Reporter: Matthew Marlowe (RETIRED) <mattm>
Component: New packagesAssignee: Patrick Lauer <patrick>
Status: RESOLVED FIXED    
Severity: normal CC: nikoli
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 360551, 410183    
Bug Blocks:    
Attachments: Here's a patch for 2.0.2-r1 to install java gateway and start/stop scripts properly

Description Matthew Marlowe (RETIRED) gentoo-dev 2012-04-16 18:58:21 UTC
Zabbix 2.0 includes support for a JMX Gateway for monitoring:
http://www.zabbix.com/documentation/2.0/manual/config/items/itemtypes/jmx_monitoring

This requires 'javafying' the 2.0 ebuild when it is ready, adding java use flag, and also identifying dependency and licensing issues.

Other distributions have also made some notes on this:
https://support.zabbix.com/browse/ZBX-4800

It looks like dependencies include jre/jdk + sl4f-api, json-simple?, and logback.

Logback is currently not in portage.

We'll need to test enabling java use flag when ebuild is ready and asking some gentoo zabbix users to test.
Comment 1 Matthew Marlowe (RETIRED) gentoo-dev 2012-05-04 04:05:57 UTC
Java stuff for zabbix is now installed in /opt/zabbix-java for rc3.
Comment 2 Chris Yu 2012-09-19 05:17:35 UTC
Created attachment 324272 [details, diff]
Here's a patch for 2.0.2-r1 to install java gateway and start/stop scripts properly

zabbix 2.0.2-r1 didn't install zabbix java gateway jar file (due to jar file name change) and start/stop scripts properly.

I submit this patch to fix that, tested and worked on my monitor server.
Comment 3 Matthew Marlowe (RETIRED) gentoo-dev 2012-10-02 05:29:33 UTC
good catch, I'm incorporating your patch into 2.0.2-r2 which is in process of being committed to CVS.
Comment 4 Patrick Lauer gentoo-dev 2017-09-16 06:32:12 UTC
Has been added a while ago to the ebuilds.