Bug 816570

Summary: Wrong path to munin jar in jmx plugin
Product: [Fedora] Fedora EPEL Reporter: Ingvar Hagelund <ingvar>
Component: muninAssignee: Kevin Fenzi <kevin>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: el5CC: drjohnson1, ingvar, kevin
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: munin-1.4.7-3.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-12 19:54:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ingvar Hagelund 2012-04-26 12:35:24 UTC
Description of problem:
Wrong path to munin jar in jmx plugin

Version-Release number of selected component (if applicable):
munin-node-1.4.7-1.el5 (and probably all recent munin-node packages in fedora)

How reproducible:
Always

Steps to Reproduce:
1. install munin-node. 
2. Configure and activate the jmx plugin
3. Test a plugin, like munin-run jmx_Uptime
  
Actual results:
Java stack trace because munin jar is not found

Expected results:
jmx output

Additional info:
The plugin has hardcoded wrong path to the munin jar. I can't remember if this is a configurable done by make install, or it has to be edited by hand (or script).

Trivial fix

yum install munin-java-plugins
sed -i 's,/opt/munin/lib/munin-jmx-plugins.jar,/usr/share/java/munin-jmx-plugins.jar,g' /usr/share/munin/plugins/jmx_

And btw, please consider moving the jmx_ plugin to munin-plugins-java. It won't work without that package, so bundling it with munin-node doesn't make sense.

And yet another btw, I think a better name on separate plugin packages should be munin-plugins-jmx, munin-plugins-foo, munin-plugins-bar, etc, like the convention used in the nagios plugins packages.

Ingvar

Comment 1 Kevin Fenzi 2012-04-27 14:56:36 UTC
Thanks for the note. I am sure I fixed this before, but it seems to be back. ;(

Can you test: 

http://koji.fedoraproject.org/koji/taskinfo?taskID=4028979

and let me know if it looks correct? If so, I can push an update...

Comment 2 Fedora Update System 2012-04-27 16:29:18 UTC
munin-1.4.7-3.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/munin-1.4.7-3.fc17

Comment 3 Fedora Update System 2012-04-27 16:42:44 UTC
munin-1.4.7-3.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/munin-1.4.7-3.fc16

Comment 4 Fedora Update System 2012-04-27 16:58:33 UTC
munin-1.4.7-3.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/munin-1.4.7-3.fc15

Comment 5 Fedora Update System 2012-04-27 17:14:02 UTC
munin-1.4.7-3.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/munin-1.4.7-3.el6

Comment 6 Fedora Update System 2012-04-27 17:23:13 UTC
munin-1.4.7-3.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/munin-1.4.7-3.el5

Comment 7 Fedora Update System 2012-04-27 23:08:59 UTC
Package munin-1.4.7-3.el5:
* should fix your issue,
* was pushed to the Fedora EPEL 5 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing munin-1.4.7-3.el5'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2012-5721/munin-1.4.7-3.el5
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2012-05-12 19:54:41 UTC
munin-1.4.7-3.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2012-05-12 19:55:26 UTC
munin-1.4.7-3.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2012-05-13 01:51:43 UTC
munin-1.4.7-3.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2012-05-13 01:57:26 UTC
munin-1.4.7-3.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Fedora Update System 2012-05-26 07:38:58 UTC
munin-1.4.7-3.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.