Page 1 of 1

I need a plugin that supports JMX

Posted: Tue Aug 20, 2013 10:22 am
by Nikos
I've been trying to find a yum install plugin but can't seem to find a such a plugin that supports JMX

I'm running the Cent OS VM from the Nagios website

What is the easiest way to get some sort of jmx plugin working?

Re: I need a plugin that supports JMX

Posted: Tue Aug 20, 2013 10:37 am
by abrist

Re: I need a plugin that supports JMX

Posted: Tue Aug 20, 2013 10:49 am
by Nikos
yeah, but I'm not sure how to go about installing it on the Cent os Vm

Re: I need a plugin that supports JMX

Posted: Tue Aug 20, 2013 10:51 am
by Nikos
I just want to run a yum install command and be up and running with jmx

Re: I need a plugin that supports JMX

Posted: Tue Aug 20, 2013 10:58 am
by abrist
Nikos wrote:I just want to run a yum install command and be up and running with jmx
...
Community plugins (including the referenced jmx plugins) are not available in the repos. JMX is not the easiest service to monitor, and you can either write your own custom plugin script or download and configure the ones from the exchange that have already been written.
To write your own:
http://nagiosplug.sourceforge.net/devel ... lines.html
The exchange:
http://exchange.nagios.org/

Re: I need a plugin that supports JMX

Posted: Wed Aug 21, 2013 2:48 am
by Nikos
Ok thanks, the only thing is the Cent OS distro I downloaded is command line based and I'm not sure of the steps to install a custom plugin..

Re: I need a plugin that supports JMX

Posted: Wed Aug 21, 2013 9:34 am
by slansing
You should be able to download the plugin to "most likely":

Code: Select all

/usr/local/nagios/libexec/
Once the plugin is there, it is executable by nagios and apache and you can test it in different ways. Then, set up command and service definitions and you should be good to go barring that what you are checking with the plugin is going to return valid data. Now... if the plugin you are looking to use requires you to install it on the remote host that is another story and the plugin should have a read-me or help file with it..