PDA

View Full Version : pb oreon, cgi et nagios interface


hana
01-02-2008, 02:00 PM
Bonjour à tous,

Le jour d'aujourd'hui j'ai un problème de configuration cgi au niveau de l'interface nagios2 au niveau des pages hosts detail, services detail..:
-----------------------------------------------------------------------------
It appears as though you do not have permission to view information for any of the hosts you requested...

If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI
and check the authorization options in your CGI configuration file.
------------------------------------------------------------------------------

sur mon fichier cgi.cfg j'ai sa :
----------------------------------------------------------------------------------
# 'CGI.cfg'
# Install Nagios TGZ
main_config_file=/etc/nagios2/nagios.cfg
physical_html_path=/usr/share/nagios2/htdocs
url_html_path=/nagios2
nagios_check_command=nagios_check_command=/usr/lib/nagios/plugins/check_nagios /
var/cache/nagios2/ status.dat 5 '/usr/sbin/nagios2'
use_authentication=1
default_user_name=nagiosadmin
authorized_for_system_information=nagiosadmin
authorized_for_system_commands=nagiosadmin
authorized_for_configuration_information=nagiosadm in
authorized_for_all_hosts=nagiosadmin
authorized_for_all_host_commands=nagiosadmin
authorized_for_all_services=nagiosadmin
authorized_for_all_service_commands=nagiosadmin
statusmap_background_image=logofullsize.jpg
default_statusmap_layout=4
default_statuswrl_layout=4
refresh_rate=90
ping_syntax=/bin/ping -n -c 5 $HOSTADDRESS$
---------------------------------------------------------------------------------------

et sur mon serveur apache2 j'ai sa :
---------------------------------------------------------------------------------------
<DirectoryMatch (/usr/share/nagios2/htdocs|/usr/lib/cgi-bin/nagios2)>
Options FollowSymLinks

DirectoryIndex index.html

AllowOverride AuthConfig
Order Allow,Deny
Allow From All

AuthName "Nagios Access"
AuthType Basic
AuthUserFile /etc/nagios2/htpasswd.users
require valid-user
</DirectoryMatch>
---------------------------------------------------------------------------------------

par contre, au niveau d'autres pages comme view config pour les hots...sa marche

qu'est ce quelqu'un a une idée svp?

merci d'avance

hana
01-02-2008, 03:16 PM
toujours pas d'idées?!! :( :( :( :(