How to monitor Jboss application

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

How to monitor Jboss application

Post by lafargeuser »

How to monitor Jboss application with XI
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: How to monitor Jboss application

Post 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.
Former Nagios Employee.
me.
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: How to monitor Jboss application

Post by lafargeuser »

Do we have to install agent on jboss server ?
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: How to monitor Jboss application

Post 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.
Former Nagios Employee.
me.
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: How to monitor Jboss application

Post by lafargeuser »

Ok. Here do we have to install agent on jboss or plugin is enough to monitor require data
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: How to monitor Jboss application

Post 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.
Former Nagios Employee.
me.
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: How to monitor Jboss application

Post 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
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: How to monitor Jboss application

Post 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.
Former Nagios Employee.
me.
lafargeuser
Posts: 341
Joined: Thu Sep 27, 2012 12:23 am

Re: How to monitor Jboss application

Post 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
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: How to monitor Jboss application

Post by hsmith »

Can you please post the service and command definition you created? We can troubleshoot it from there.
Former Nagios Employee.
me.
Locked