Search found 27 matches
- Mon Oct 19, 2015 4:49 pm
- Forum: Nagios XI
- Topic: Nagios XI 5R1.0 JMX Not Working
- Replies: 20
- Views: 3469
Re: Nagios XI 5R1.0 JMX Not Working
Hi, Im really sorry for the delay, I was sick this days. Anyway I tried what you said but looking at the script I found that first the jmx shell finds where is JAVA installed so then it can pass that value to other variables inside the shell #!/bin/sh # # Nagios JMX plugin. # JAVA_CMD=`which java` T...
- Tue Oct 13, 2015 3:57 pm
- Forum: Nagios XI
- Topic: Nagios XI 5R1.0 JMX Not Working
- Replies: 20
- Views: 3469
Re: Nagios XI 5R1.0 JMX Not Working
No I haven't.
It seems very strange to me too. But this is the only different between both enviroments where im running nagios XI.
-kvaldez
It seems very strange to me too. But this is the only different between both enviroments where im running nagios XI.
-kvaldez
- Tue Oct 13, 2015 3:24 pm
- Forum: Nagios XI
- Topic: Nagios XI 5R1.0 JMX Not Working
- Replies: 20
- Views: 3469
Re: Nagios XI 5R1.0 JMX Not Working
Hi, This is the screen you're asking on the first point. Home -> Service Detail pic.png Sencond as I said, the same plugin worked on the older nagios version, But when installing the same plugin on the newer one the error comes out. Third, yes I have read the document https://assets.nagios.com/downl...
- Tue Oct 13, 2015 9:32 am
- Forum: Nagios XI
- Topic: Nagios XI 5R1.0 JMX Not Working
- Replies: 20
- Views: 3469
Re: Nagios XI 5R1.0 JMX Not Working
Hi guys, Thanks to all for your help. Checking on other servers running nagios I found that the same plugin was running without problems on an older version of Nagios XI. Not sure but im guessing this issue have something to do with the version. In order to make the plugin work correctly I'll have t...
- Mon Oct 12, 2015 2:25 pm
- Forum: Nagios XI
- Topic: Nagios XI 5R1.0 JMX Not Working
- Replies: 20
- Views: 3469
Re: Nagios XI 5R1.0 JMX Not Working
Hi, This is what I got when putting single quotes to '$ARG3': Image1.jpg I've tried the same way with the other ARG but I'm getting the same output. I think the problem is around here, this is the check_jmx.sh file located in /usr/local/nagios/libexec #!/bin/sh # # Nagios JMX plugin. # JAVA_CMD=`whi...
- Mon Oct 12, 2015 11:56 am
- Forum: Nagios XI
- Topic: Nagios XI 5R1.0 JMX Not Working
- Replies: 20
- Views: 3469
Re: Nagios XI 5R1.0 JMX Not Working
Yep, I was trying to connect to different hosts but I always get the same answer, even if the host doesn't exist Im getting the same error:
-kvaldez
Code: Select all
OUTPUT: JMX CRITICAL - java not found.- Mon Oct 12, 2015 10:55 am
- Forum: Nagios XI
- Topic: Nagios XI 5R1.0 JMX Not Working
- Replies: 20
- Views: 3469
Re: Nagios XI 5R1.0 JMX Not Working
Hi,
This is the output from running the command as nagios user:
-kvaldez
This is the output from running the command as nagios user:
-kvaldez
- Mon Oct 12, 2015 9:32 am
- Forum: Nagios XI
- Topic: Nagios XI 5R1.0 JMX Not Working
- Replies: 20
- Views: 3469
Re: Nagios XI 5R1.0 JMX Not Working
Hi,
Thanks for your reply.
From command line this is what I got:
But what do you mean for run as 'nagios' user?
-kvaldez
Thanks for your reply.
From command line this is what I got:
But what do you mean for run as 'nagios' user?
-kvaldez
- Wed Oct 07, 2015 4:32 pm
- Forum: Nagios XI
- Topic: Nagios XI 5R1.0 JMX Not Working
- Replies: 20
- Views: 3469
Re: Nagios XI 5R1.0 JMX Not Working
I dont get any error on service detail screen.
But when going to Home -> Service Detail Screen on Nagios XI I can see this:
-kvaldez
But when going to Home -> Service Detail Screen on Nagios XI I can see this:
-kvaldez
- Wed Oct 07, 2015 4:13 pm
- Forum: Nagios XI
- Topic: Nagios XI 5R1.0 JMX Not Working
- Replies: 20
- Views: 3469
Nagios XI 5R1.0 JMX Not Working
Hi guys, I have configured the check_jmx plugin for Nagios XI 5R1.0 and im getting this error on the NagiosXI service configuration -> Test Check Command. Test_Command.jpg OUTPUT: JMX CRITICAL - java not found This is very weird because on a terminal I get a positive output and everything seems to w...