Plugin for montioring JVM Heapsize

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ravish78
Posts: 269
Joined: Wed Mar 14, 2012 9:50 am

Plugin for montioring JVM Heapsize

Post by ravish78 »

Is there any plugin in nagios to monitor JVM heapsize.I tried couple of third party plugins but did not work out.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Plugin for montioring JVM Heapsize

Post by slansing »

Which plugins have you tried already? So we can count these out when helping search.
ravish78
Posts: 269
Joined: Wed Mar 14, 2012 9:50 am

Re: Plugin for montioring JVM Heapsize

Post by ravish78 »

jolokia .we need to make some changes in client as well but application team does not accept it.
We want to know any other simple pugin which does this job without changes at client end.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Plugin for montioring JVM Heapsize

Post by slansing »

Most plugins of this nature will require some sort of configuration on the remote host's side otherwise Nagios has no way of asking for the information.. For instance a quote from one of the plugins is as follows:
This plugin requires access to weblogic.jar to access the weblogic.Admin client
One solution could be this:

http://exchange.nagios.org/directory/Pl ... nt/details

But it will require you access the Host to add the agent.

A quick search of JVM Heap on the Exchange site comes up with this list:

http://exchange.nagios.org/index.php?op ... jvm%20heap
cellact
Posts: 69
Joined: Mon May 14, 2012 7:00 am

Re: Plugin for montioring JVM Heapsize

Post by cellact »

I couldn't find any either.
Our development team ended up creating a web page that checks the memory size in the background and then returns it in the page content.
I then use a custom made check_http plugin that takes the number and checks it against Warning and Critical levels.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Plugin for montioring JVM Heapsize

Post by slansing »

Ah, that would definitely be one way to check this information without using a custom plugin. Closing as resolved, please open a new thread and reference this one if you run into a problem regarding this. Thanks!
Locked