I need a plugin that supports JMX

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Nikos
Posts: 4
Joined: Tue Aug 20, 2013 4:36 am

I need a plugin that supports JMX

Post 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?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: I need a plugin that supports JMX

Post by abrist »

Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Nikos
Posts: 4
Joined: Tue Aug 20, 2013 4:36 am

Re: I need a plugin that supports JMX

Post by Nikos »

yeah, but I'm not sure how to go about installing it on the Cent os Vm
Nikos
Posts: 4
Joined: Tue Aug 20, 2013 4:36 am

Re: I need a plugin that supports JMX

Post by Nikos »

I just want to run a yum install command and be up and running with jmx
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: I need a plugin that supports JMX

Post 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/
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Nikos
Posts: 4
Joined: Tue Aug 20, 2013 4:36 am

Re: I need a plugin that supports JMX

Post 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..
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: I need a plugin that supports JMX

Post 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..
Locked