| Summary: | JMX plugin is not usable in munin-node | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Oded Arbel <oded> | ||||||
| Component: | munin | Assignee: | Kevin Fenzi <kevin> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | el5 | CC: | drjohnson1, ingvar, kevin | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2015-03-07 05:00:38 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
|
Description
Oded Arbel
2011-05-02 07:21:57 UTC
Created attachment 496188 [details] Patch to fix the JMX problems in munin-node Attached is a path to the spec file to fix the problem. The patch does the following changes: 1. Replace the checks for building the java functionality to use bcond (see bug #112663) instead of testing for "rhel > 4 or fedora > 6". 2. Set JAVALIBDIR in build as well as install because the jmx plugin uses automake to generate the path to the jar. 3. Use a list of valid plugins for munin-node's %files section, where valid plugin is "any plugin except jmx" 4. Package the jmx plugin in munin-java-plugins Created attachment 496195 [details]
Patch to fix the JMX problems in munin-node
There was a bug in the previous patch - I filtered on _jmx instead of jmx_. This one works better. Sorry.
Sorry for the delay here. I don't see where you are setting JAVALIBDIR or how thats working? Looking further at the plugin I see that its looking in the wrong place for JAVA_BIN too. Will dig around some more. fixing component. ;( Thanks - does that mean that there will be an updated package with the JAVALIBDIR fix? As soon as I can figure out how to get it to build with the right path, sure. ;) Currently it's always looking in the wrong place... This should be fixed in the current release (2.0.25). |