Olá Ramos, dei uma olhada no meu /etc/httpd/conf.d/nagios.conf e esta um pouco diferente do seu, veja abaixo. Faça um backup da sua configuração, depois substitua pelo conf que estou enviando, e de um restart no apache e nos diga se funcionou.
Um abraço. Cleiton # INICIO /etc/httpd/conf.d/nagios.conf ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" <Directory "/usr/local/nagios/sbin"> # SSLRequireSSL Options ExecCGI AllowOverride None Order allow,deny Allow from all # Order deny,allow # Deny from all # Allow from 127.0.0.1 AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user </Directory> Alias /nagios "/usr/local/nagios/share" <Directory "/usr/local/nagios/share"> # SSLRequireSSL Options None AllowOverride None Order allow,deny Allow from all # Order deny,allow # Deny from all # Allow from 127.0.0.1 AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user </Directory> # FIM /etc/httpd/conf.d/nagios.conf On Fri, Aug 14, 2009 at 11:51, <benedito.ra...@caixa.gov.br> wrote: > PessoALL, tudo bem? > Tô quebrando a cabeça aqui. > Tenho o Nagios 3 instalado na empresa e funciona tudo direitinho. > A empresa é um banco grande do país, com aproximadamente 150.000 hosts, > fora os ativos de rede. > Impantei o Nagios aqui e mexi bastante até deixar redondinho. > Como era experimental, acabou não dando tempo de fazer um roteiro. > Agora, por ordem da direção, o Nagios vai ser implamentado no país inteiro > e terei que fazer um manual de padronização. > Instalei numa máquina teste aqui Debian. > Configurei o http.conf certinho com os seguintes dados: > > 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 > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > require valid-user > </Directory> > > Criei uma senha certinho para o nagiosadmin. E coloquei no cgi.cfg > use_authentication=1 > > Mas quando entro com o usuário, dá o seguinte erro: > > > 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. > > Lembro que passei por isso há tempos e acabei resolvendo. Acho que era algo > de permissões do usuário www-data do apache. > > Alguém pode me ajudar com urgência? > > Diramos > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > -- > Nagios-users-br@lists.sourceforge.net mailing list > https://lists.sourceforge.net/lists/listinfo/nagios-users-br > Wiki: http://nagios-br.sf.net/wiki > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -- Nagios-users-br@lists.sourceforge.net mailing list https://lists.sourceforge.net/lists/listinfo/nagios-users-br Wiki: http://nagios-br.sf.net/wiki