JMX checks return NULL values

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
clive.dias
Posts: 21
Joined: Fri Jun 07, 2013 3:36 am

Re: JMX checks return NULL values

Post by clive.dias »

Please find the attached logs

Locked madhu's topic as this one is open already http://support.nagios.com/forum/viewtop ... =6&t=25607
You do not have the required permissions to view the files attached to this post.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: JMX checks return NULL values

Post by sreinhardt »

Note: I did not look through your logs. However from the other post:

Prior to restarting jmx, if you were to run the active check via cli, are you receiving a null result there as well?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
clive.dias
Posts: 21
Joined: Fri Jun 07, 2013 3:36 am

Re: JMX checks return NULL values

Post by clive.dias »

Can you please help me in providing the "equivalent" CLI code for any of the commands ?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: JMX checks return NULL values

Post by tmcdonald »

Whatever you have in your check_command should be very close to what you would run. Basically we are asking you to run the check command from the command line.
Former Nagios employee
clive.dias
Posts: 21
Joined: Fri Jun 07, 2013 3:36 am

Re: JMX checks return NULL values

Post by clive.dias »

Can you please help us with an example so that we can check on CLI
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: JMX checks return NULL values

Post by abrist »

Well, we would need to see what check you are currently running - screenshot, etc of the Nagios XI details for the service. But you should really read the following document as it explains how to run a check from the cli:
http://assets.nagios.com/downloads/nagi ... ios_XI.pdf
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
clive.dias
Posts: 21
Joined: Fri Jun 07, 2013 3:36 am

Re: JMX checks return NULL values

Post by clive.dias »

Thanks . We will check and revert back soon
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: JMX checks return NULL values

Post by slansing »

Let us know what the output is when you get a chance.
clive.dias
Posts: 21
Joined: Fri Jun 07, 2013 3:36 am

Re: JMX checks return NULL values

Post by clive.dias »

As of now we have been restarted JMX . We are still checking how JMX works and will get back to you soon
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: JMX checks return NULL values

Post by slansing »

Great, we will keep an eye on this one.
Locked