External Commands not working

John McGowan mcgowan at lynch2.com
Wed Apr 27 18:28:15 CEST 2005


A question along the same line is....  Is 2.0 close to being past beta?  
Is it silly of me to be installing 1.2 right now if I'm brand new to nagios?

/John
John McGowan wrote:

> I'm running FC3, so SELinux is probably the issue?  But What?  Do I 
> need to do something else to the configuration to make it work?  Is 
> there something else written up on SELinux and how it affects nagios?
>
> I'm running 1.2 and I compiled it myself.  Everything is running very 
> smoothly except for external commands...
>
> I could give you all of what you ask for below, but since i'm running 
> FC, i probably just need a little more info about how SELinux affects 
> nagios.
>
> Thanks,
> John
>
> Marc Powell wrote:
>
>>  
>>
>>>-----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
>>
>>  
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050427/e058c1af/attachment.html>


More information about the Users mailing list