Bonjour,
salut tout le monde
aprés l'installation du nagios j'ai un problème qui est
lorsque j'ai cliqué sur le lien host detail
Host Status Details For All Host Groups
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
lorsque j'ai cliqué sur le lien service detail
Service Status Details For All Hosts
It appears as though you do not have permission to view information for any of the services 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.
et voici mon fichier de configuration de service.cfg
define service{
# use generic-service ; Name of service template to use
host_name linux
service_description PING
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
contact_groups serveur-admin
notification_interval 240
notification_period 24x7
notification_options c,r
check_command check_ping!100.0,20%!500.0,60%
}
et mon fichier de host.cfg
define host{
# use generic-host ; Name of host template to use
host_name linux
alias Serveur
address x.x.x.x
check_command check-host-alive
max_check_attempts 23
contact_groups serveur-admin
notification_interval 60
notification_period 24x7
notification_options d,u,r
}
et mon fichier cgi.cfg
main_config_file=/usr/local/nagios/etc/nagios.cfg
physical_html_path=/usr/local/nagios/share
url_html_path=/nagios
show_context_help=0
use_authentication=1
default_statusmap_layout=5
default_statuswrl_layout=4
ping_syntax=/bin/ping -n -U -c 5 x.x.x.x
refresh_rate=90
use_authentication = 1
authorized_for_system_information = reseauxx
authorized_for_configuration_information = reseauxx
authorized_for_system_commands = reseauxx
authorized_for_all_services = reseauxx
authorized_for_all_hosts = reseauxx
authorized_for_all_service_commands = reseauxx
authorized_for_all_host_commands = reseauxx
et merci d'avance
Configuration: Linux
Firefox 1.0.1