AW: Problem testing Nagios

Thomas.Zimmer at oppenheim.de Thomas.Zimmer at oppenheim.de
Wed Apr 12 12:32:58 CEST 2006


Hi,
did you read the threads about SELinux?
Greetz,Thomas Zimmer 
Produktservice & Betrieb 
Betrieb & Support 
Sal. Oppenheim jr. & Cie., Frankfurt a. Main 
Telefon: +49 69 7134 5192 
Internet: http://www.oppenheim.de <http://www.oppenheim.de/>  
E-Mail: thomas.zimmer at oppenheim.de 

-----Ursprüngliche Nachricht-----
Von: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] Im Auftrag von MAIGNAN Luc
Gesendet: Mittwoch, 12. April 2006 11:13
An: nagios-users at lists.sourceforge.net
Betreff: [Nagios-users] Problem testing Nagios



Hi list, 

I try Nagios to see if it can be suitable for my network monitoring. 
I've installed the version 2.1 under a Fedora core 4 and Apache 2.0.54
(SELinux disabled) 

The config seems to be ok : 

ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin 
<Directory "/usr/local/nagios/sbin"> 
        AllowOverride AuthConfig 
        Options ExecCGI 
        Order allow,deny 
        Allow from all 
</Directory> 

Alias /nagios /usr/local/nagios/share 
<Directory "/usr/local/nagios/share"> 
        Options None 
        AllowOverride AuthConfig 
        Order allow,deny 
        Allow from all 
</Directory> 



The rights seems to be ok : 

-rwxrwxr-x  1 nagios nagcmd 162432 avr  7 16:46 avail.cgi 
-rwxrwxr-x  1 nagios nagcmd 161460 avr  7 16:46 cmd.cgi 
-rwxrwxr-x  1 nagios nagcmd 124128 avr  7 16:46 config.cgi 
-rwxrwxr-x  1 nagios nagcmd 178900 avr  7 16:46 extinfo.cgi 
-rwxrwxr-x  1 nagios nagcmd 132256 avr  7 16:46 histogram.cgi 
-rwxrwxr-x  1 nagios nagcmd 112224 avr  7 16:46 history.cgi 
-rwxrwxr-x  1 nagios nagcmd 108800 avr  7 16:46 notifications.cgi 
-rwxrwxr-x  1 nagios nagcmd 107932 avr  7 16:46 outages.cgi 
-rwxrwxr-x  1 nagios nagcmd 107616 avr  7 16:46 showlog.cgi 
-rwxrwxr-x  1 nagios nagcmd 161212 avr  7 16:46 status.cgi 
-rwxrwxr-x  1 nagios nagcmd 125696 avr  7 16:46 statusmap.cgi 
-rwxrwxr-x  1 nagios nagcmd 122080 avr  7 16:46 statuswml.cgi 
-rwxrwxr-x  1 nagios nagcmd 107936 avr  7 16:46 statuswrl.cgi 
-rwxrwxr-x  1 nagios nagcmd 129024 avr  7 16:46 summary.cgi 
-rwxrwxr-x  1 nagios nagcmd 124668 avr  7 16:46 tac.cgi 
-rwxrwxr-x  1 nagios nagcmd 136160 avr  7 16:46 trends.cgi 


But when I try to execute a command, the permission is always denied ! 

[Wed Apr 12 11:07:25 2006] [error] [client 172.27.30.76] (13)Permission
denied: exec of '/usr/local/nagios/sbin/extinfo.cgi' failed, referer:
http://procyon/nagios/side.html <http://procyon/nagios/side.html> 

[Wed Apr 12 11:07:25 2006] [error] [client 172.27.30.76] Premature end of
script headers: extinfo.cgi, referer: http://procyon/nagios/side.html
<http://procyon/nagios/side.html> 


Any ideas 

Thanks in advance for any help 



This message and any attachments (the "message") is intended solely for the
addressees and is confidential. If you receive this  message in error,
please delete it and immediately notify the sender. Any use not in accord
with its purpose, any dissemination or disclosure, either whole or partial,
is prohibited except formal approval. Neither FININFO (nor any of its
subsidiaries or affiliates) shall be liable for the message if modified,
altered, falsified, edited or diffused without authorization. 

**********************************************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060412/b8d23800/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Zimmer, Thomas (Produktservices und Betrieb).vcf
Type: application/octet-stream
Size: 254 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060412/b8d23800/attachment.obj>


More information about the Users mailing list