JVM Monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
keerthi.seetharaman
Posts: 92
Joined: Thu Jan 11, 2018 7:55 am

JVM Monitoring

Post by keerthi.seetharaman »

Hello Team,

Good Day.

We have requirement where we need to monitor running java process. Currently we have a plugin check_java.

So please let me know how to monitor for the same.

Let me know in case if any more details are required.

Regards,
Keerthi Prashanth S.
Thanks & Regards,
Keerthi Prashanth Seetharaman
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: JVM Monitoring

Post by mcapra »

Is check_java producing some sort of error messages or otherwise not working?

There's official documentation for using check_jmx to remotely monitor JVMs:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

The documentation assumes the particular JVM you are trying to monitor has exposed JMX endpoints that the plugin can reach.
Former Nagios employee
https://www.mcapra.com/
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: JVM Monitoring

Post by scottwilkerson »

Thanks @mcapra!

Thios should get you going, let us know if you need something further
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
keerthi.seetharaman
Posts: 92
Joined: Thu Jan 11, 2018 7:55 am

Re: JVM Monitoring

Post by keerthi.seetharaman »

We tried it and its not working.

Please suggest what needs to be done.
Thanks & Regards,
Keerthi Prashanth Seetharaman
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: JVM Monitoring

Post by mcapra »

keerthi.seetharaman wrote:We tried it and its not working.
What is "it"? Did you try check_java or check_jmx?

Can you share any specific errors you're encountering when using either plugin? Those error messages are vital in figuring out the solution.
Former Nagios employee
https://www.mcapra.com/
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: JVM Monitoring

Post by scottwilkerson »

@keerthi.seetharaman we need to know what error you are having with the doc to be of assistance. What is happening (we need more information than "its not working")?

Thanks
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
keerthi.seetharaman
Posts: 92
Joined: Thu Jan 11, 2018 7:55 am

Re: JVM Monitoring

Post by keerthi.seetharaman »

As this is new request to monitor to JVM so please let us know what can be done to monitor the number of jvm process.

Let us know in case if any more details are required.
Thanks & Regards,
Keerthi Prashanth Seetharaman
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: JVM Monitoring

Post by scottwilkerson »

It was mentioned earlier we have documentation on this
mcapra wrote: There's official documentation for using check_jmx to remotely monitor JVMs:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
To which you replied
keerthi.seetharaman wrote:We tried it and its not working.
So to answer your question
keerthi.seetharaman wrote:Let us know in case if any more details are required.
The answer is Yes, we need to know if you actually followed that documentation?

And if so, what isn't working?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
keerthi.seetharaman
Posts: 92
Joined: Thu Jan 11, 2018 7:55 am

Re: JVM Monitoring

Post by keerthi.seetharaman »

But this is java virtual machine..

How come JMX is as similar to JVM
Thanks & Regards,
Keerthi Prashanth Seetharaman
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: JVM Monitoring

Post by scottwilkerson »

JMX == Java Management Extensions

The only real way to get information out of java is through JMX, unless you are writing something else into your java application.

Other than this, you are only going to be able to do process checking (e.g. is java running)
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked