Problem testing Nagios

Tomas Macek maca02 at atlas.cz
Wed Apr 12 12:28:59 CEST 2006


What are your permissions about this file? My are like this:

prw-rw----    1 nagios   apache          0 Apr 12 06:46 
./log/nagios/rw/nagios.cmd


On Wed, 12 Apr 2006, MAIGNAN Luc wrote:

> 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
> [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
> 
> 
> Any ideas
> 
> Thanks in advance for any help
> 
> 
> *********************************************************************
> Ce message et toutes les pièces jointes (ci-après le "message") sont établis 
> à l'intention exclusive de ses destinataires et sont confidentiels. Si vous 
> recevez ce message par erreur, merci de le détruire et d'en avertir 
> immédiatement l'expéditeur. Toute utilisation de ce message non conforme à sa 
> destination, modification, diffusion ou toute publication, totale ou 
> partielle, est interdite, sauf autorisation expresse.FININFO (et ses 
> filiales) décline(nt) toute responsabilité au titre de ce message, dans 
> l'hypothèse ou il aurait été modifié, altéré, falsifié ou encore édité ou 
> diffusé sans autorisation.
> -----------------------------------------------------
> 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. 
> **********************************************************************


More information about the Users mailing list