External Commands not working

Marc Powell marc at ena.com
Wed Apr 27 18:03:48 CEST 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of John McGowan
> Sent: Wednesday, April 27, 2005 10:52 AM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] External Commands not working
> 
> 
> I just installed the latest stable version of nagios and am becoming
> familiar with it.  I wanted to enable the web interface's ability to
> control nagios, so i followed the instructions to enable external
> commnads.  For some reason the Web application (CGI) is reporting a
"can
> not stat()" problem with the external command file.  I've checked and
> double checked the permissions/group setting for that file and the
> directory containing that file.
> 
> Is there anything that might be missing from the documentation to make
> this work?

The documentation is complete with the exception that SELinux is not
covered.
 
> Is there some common mistake or oversight that I could be
experiencing.

SElinux restrictions if you're running an OS that has those enabled.
Does the file exist? Is it on an NFS mount?
 
> nagios and apache have been restarted several times...

Good. This would be the most common oversight.

For more specific help, please try to provide us with more specific
information. The exact steps you took to enable external commands,
nagios version and how it was installed, OS version, directory listings
showing permissions, group memberships, pertinent nagios.cfg entries,
etc...

--
Marc


-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id5hix
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list