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
Nagios2Jboss help
Re: Nagios2Jboss help
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?
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
Ethan Galstad
President