Problem installing nagios
Carsten Rose
crose at amath.unizh.ch
Wed Jul 16 13:36:00 CEST 2003
Hi Heinz-Josef
Did you checked cgi.cfg ?
If you set (default):
use_authentication=1
Then you have to setup Auth on Apache
Create:
/usr/local/nagios-1.1/share/.htaccess
/usr/local/nagios-1.1/sbin/.htaccess
Content:
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /usr/local/nagios-1.1/etc/htpasswd.users
require valid-user
Create Passwords (first user):
/usr/apache/bin/htpasswd -c /usrlocal/nagios-1.1/etc/htpasswd.users <user>
Additional users.
/usr/apache/bin/htpasswd /opt/nagios-1.1/etc/htpasswd.users crose
Or RTFM :-)
CU
Carsten
> Hi,
>
> I'm new to nagios and have a problem. Whenever I select something in the
> web front end, I get:
>
> ***************************************************************
> 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.
> ****************************************************************
>
> I can see no error message about this in the apache or nagios log files.
>
> In the apache configuration file I configured:
>
> ScriptAlias /nagios/cgi-bin/ /usr/lib/nagios/cgi/
> <Directory /usr/lib/nagios/cgi/>
> AllowOverride AuthConfig
> Options ExecCGI
> order allow,deny
> allow from all
> </Directory>
>
> Alias /nagios/ /usr/share/nagios/
> <Directory /usr/share/nagios/>
> AllowOverride AuthConfig
> order allow,deny
> Allow from all
> </Directory>
>
>
> Nagios seems to run:
>
> /var/log/nagios/nagios.log [1058351828] HOST NOTIFICATION:
> daemon;router1;DOWN;host-notify-by-epager;CRITICAL - Plugin timed out
> after 10 seconds
> /var/log/nagios/nagios.log [1058351829] HOST NOTIFICATION:
> daemon;router1;DOWN;host-notify-by-email;CRITICAL - Plugin timed out
> after 10 seconds
> /var/log/nagios/nagios.log [1058351829] HOST NOTIFICATION:
> daemon;switch3;DOWN;host-notify-by-epager;/bin/ping -n -U -c 1
> 192.168.1.232
> /var/log/nagios/nagios.log [1058351829] HOST NOTIFICATION:
> daemon;switch3;DOWN;host-notify-by-email;/bin/ping -n -U -c 1
> 192.168.1.232
>
> Can anybudy give me a hint?
>
> Best regards,
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list