schedule immediate check, gives "An error occured"

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
lyle
Posts: 158
Joined: Sun Nov 21, 2010 3:05 am

schedule immediate check, gives "An error occured"

Post by lyle »

On our XI 2009R1.3G installed on Centos 5.5, clicking on "Schedule an immediate check" for a service produces "An error occurred processing your request".

The nagios.log is silent when this happens.

Any ideas, or what to check next?

Thanks....Lyle
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: schedule immediate check, gives "An error occured"

Post by rdedon »

Hello Lyle,
we recently just released the latest version of Nagios XI and should hopefully fix that issue. You'll find it on http://library.nagios.com/library/produ ... loads/main.
Please do not hesitate to contact us if you are still experiencing issues or have any questions.

Thanks!
I just pasted this response from our other thread in case other people look here and are have similar issues ;-)
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: schedule immediate check, gives "An error occured"

Post by mguthrie »

If the issue persists I would also try restarting the nagios process

service nagios restart
lyle
Posts: 158
Joined: Sun Nov 21, 2010 3:05 am

Re: schedule immediate check, gives "An error occured"

Post by lyle »

Despite a fresh install of Centos 5.5 (64-bit) and a fresh download (looks like Feb 2 distributioncd) of XI, this problem still exists.

I've attached a screenshot.

Thanks...Lyle
You do not have the required permissions to view the files attached to this post.
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: schedule immediate check, gives "An error occured"

Post by rdedon »

I am going to change the status of this thread from "completed" back to "problem" as this issue is occurring again. I will speak with Tony and Mike tomorrow to see if we can duplicate and remedy this issue.
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
rdedon
Posts: 578
Joined: Sat Nov 20, 2010 4:51 pm

Re: schedule immediate check, gives "An error occured"

Post by rdedon »

Could you go to Admin tab and reset Component Credentials with New Config Manager Admin Password:
CredReset.jpg
There may be something that is interfering with CCM is why we are having you try this and is a quick test without changing any configuration.
You do not have the required permissions to view the files attached to this post.
Rene deDon
Technical Team
___
Nagios Enterprises, LLC
Web: http://www.nagios.com
lyle
Posts: 158
Joined: Sun Nov 21, 2010 3:05 am

Re: schedule immediate check, gives "An error occured"

Post by lyle »

I reset the Component Credentials password, as suggested, but still see the same problem.

This isn't the most critical problem for me, as I'm not using XI in production yet, but I'll be needing it coming up.

Thanks for the help...Lyle
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: schedule immediate check, gives "An error occured"

Post by mguthrie »

Try accessing the Service Details->(selected service)->Advanced(tab), and then select the link "See this service in Nagios Core" and see if you can access that url and submit the command correctly. I'm guessing it's some sort of permissions issue with the core cgi's.
lyle
Posts: 158
Joined: Sun Nov 21, 2010 3:05 am

Re: schedule immediate check, gives "An error occured"

Post by lyle »

Great trick. I hadn't noticed the latent Core interface.

I get:
Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'!
The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands.
And in fact there is no nagios.cmd file. I do see "check_external_commands=1" in the nagios.cfg file. Should I create an empty file owned by nagios?

Thanks for the help....Lyle
jtata
Posts: 47
Joined: Thu Sep 02, 2010 12:27 pm

Re: schedule immediate check, gives "An error occured"

Post by jtata »

nagios.cmd is a named pipe that should be created by the Nagios process when you start the service. What are the permissions on your nagios command directory (default is /usr/local/nagios/var/rw)? Mine are:

Code: Select all

drwxrwsr-x 2 nagios nagcmd
Locked