Nagios2Jboss help

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
elarkin
Posts: 9
Joined: Wed Mar 31, 2010 4:01 pm

Nagios2Jboss help

Post by elarkin »

Hello all,

I recently setup Nagios2Jboss, but have not gotten to work with nagios XI

Steps done:
Create command in NagiosXI
$USER1$/check_mbean_collector -H $HOSTADDRESS$ -p $ARG1$ -m $ARG2$ -a $ARG3$ -w $ARG4$ -c $ARG5$

Installed collector.sar in jboss
installed mbean connector in Nagios libexec

verified my ports were open and active.

From command line I run this command
pwd: /usr/local/nagios/libexec
./check_mbean_collector -H xxx.xxx.xxx.xxx -p 5566 -m jboss.system:type=ServerInfo -a ActiveThreadCount -w 200 -c 400
and get these results:
MX attribute ActiveThreadCount has value 171|jboss.system:type=ServerInfo:ActiveThreadCount=171

This tells me its working from the Nagios XI server to the Jboss server

But in NagiosXI web interface I get this
ServerName Down 1d 11h 30m 53s 1/5 2010-07-14 12:31:49 (null)

I have it configured to accept 5 different variables:
$USER1$/check_mbean_collector -H $HOSTADDRESS$ -p $ARG1$ -m $ARG2$ -a $ARG3$ -w $ARG4$ -c $ARG5$
Under my assumption the above command given the below parameters should give me the same results as the command line
ARG1= 5566
ARG2 = jboss.system:type=ServerInfo
ARG3 = ActiveThreadCount
ARG4 = 200
ARG5= 400
so the end result should look like this?
./check_mbean_collector -H xxx.xxx.xxx.xxx -p 5566 -m jboss.system:type=ServerInfo -a ActiveThreadCount -w 200 -c 400

Can anyone shed some light on why I am getting a null value in NagiosXI
User avatar
admin
Site Admin
Posts: 256
Joined: Mon Oct 12, 2009 8:21 am

Re: Nagios2Jboss help

Post by admin »

We don't have experience with Jboss internally to be able to help with this right now.

Anyone else have a Jboss instance they're monitoring?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Ethan Galstad
President
Locked