Page 1 of 2

How to monitor Jboss application

Posted: Thu Sep 10, 2015 7:31 am
by lafargeuser
How to monitor Jboss application with XI

Re: How to monitor Jboss application

Posted: Thu Sep 10, 2015 10:02 am
by hsmith
lafargeuser wrote:How to monitor Jboss application with XI
We have a jboss section on Nagios Exchange. One of those plugins should be able to help you out.

Re: How to monitor Jboss application

Posted: Thu Sep 10, 2015 2:21 pm
by lafargeuser
Do we have to install agent on jboss server ?

Re: How to monitor Jboss application

Posted: Thu Sep 10, 2015 2:28 pm
by hsmith
lafargeuser wrote:Do we have to install agent on jboss server ?
If you read in the instructions on the page of the plugin it will tell you what you need to do. In most cases the plugin is going to go in the Nagios server, some plugins my require and additional component go on the server it is checking.

Re: How to monitor Jboss application

Posted: Thu Sep 10, 2015 2:39 pm
by lafargeuser
Ok. Here do we have to install agent on jboss or plugin is enough to monitor require data

Re: How to monitor Jboss application

Posted: Thu Sep 10, 2015 2:46 pm
by hsmith
lafargeuser wrote:Ok. Here do we have to install agent on jboss or plugin is enough to monitor require data
The one here has a component that you put on both ends. This one has almost 100,000 hits. I would try using this one first.

Re: How to monitor Jboss application

Posted: Sun Sep 13, 2015 1:24 pm
by lafargeuser
following this url to monitor jboss

http://jboss2nagios.sourceforge.net/

It says Edit your Nagios config to use the check_mbean_collector to monitor any attributes of any MBean.
Using Nagios XI which file should i edit & what please guide

Re: How to monitor Jboss application

Posted: Mon Sep 14, 2015 9:21 am
by hsmith
In this case it looks like it is walking you through making a service check for check_mbean_collector. You would want to put the plugin in your /usr/local/nagios/libexec folder,and write a service check and command using Configure ---> Core Config Manager. If you need help with these steps, please let us know.

Re: How to monitor Jboss application

Posted: Mon Sep 14, 2015 10:33 am
by lafargeuser
using command line I am able to see the output of below command

./check_mbean_collector -H jbosseserver -p port -m java.lang:type=Memory -a NonHeapMemoryUsage -w 10 -c 30

what will be the command & service argument....tried doing but no output. any help really appreciate

Re: How to monitor Jboss application

Posted: Mon Sep 14, 2015 10:48 am
by hsmith
Can you please post the service and command definition you created? We can troubleshoot it from there.