Can't enter downtime information

Thomas Schweikle tschweikle at fiducia.de
Sat May 3 16:43:15 CEST 2003


Hi!

I've configured nagios as described to let me enter scheduled downtimes 
for hosts and services. I can view the related page. But entering 
scheduled downtime gives me the error: "Sorry, but you are not authorized 
to commit the specified command."

Any idea what might be wrong here is welcome!

cgi.cfg:
use_authentication=1
authorized_for_system_information=nagiosadmin
authorized_for_configuration_information=nagiosadmin
authorized_for_system_commands=nagiosadmin
authorized_for_all_services=nagiosadmin,guest
authorized_for_all_hosts=nagiosadmin,guest
authorized_for_all_service_commands=nagiosadmin
authorized_for_all_host_commands=nagiosadmin

htaccess is set too:
AuthName "Nagios Access"
AuthType Basic
AuthUserFile /etc/nagios/htpasswd.users
require valid-user

and httpd.conf holds:
ScriptAlias /nagios/cgi-bin/ /usr/lib/nagios/cgi/
<Directory /usr/lib/nagios/cgi/>
   AllowOverride AuthConfig
   Options ExecCGI
   order deny,allow
   deny from all
   allow from 192.168.19.0/24
   allow from 127.0.0.1
</Directory>

Alias /nagios/ /usr/share/nagios/
<Directory /usr/share/nagios/>
   AllowOverride AuthConfig
   Options None
   order deny,allow
   deny from all
   allow from 192.168.19.0/24
   allow from 127.0.0.1
</Directory>

nagios is running daemon.daemon. Rights on log files are daemon.daemon:
-rw-rw-r--    1 daemon   daemon          0 May  3 01:39 comment.log
-rw-rw-r--    1 daemon   daemon          0 May  3 01:39 downtime.log
-rw-r--r--    1 daemon   daemon       8426 May  3 16:34 nagios.log
-rw-rw-r--    1 daemon   daemon      18574 May  3 16:37 status.log
-rw-r--r--    1 daemon   daemon      13901 May  3 15:39 status.sav

apache is running wwwrun.nogroup. Rights on config files are root.root:
-rw-rw-r--    1 root  root       17179 May  2 22:39 cgi.cfg
-rw-rw-r--    1 root  root        5706 May  2 22:39 checkcommands.cfg
-rw-rw-r--    1 root  root       14413 May  2 22:39 command.cfg
-rw-r--r--    1 root  root        1030 May  2 22:39 contactgroups.cfg
-rw-r--r--    1 root  root        1467 May  2 22:39 contacts.cfg
-rw-r--r--    1 root  root         880 May  2 22:39 dependencies.cfg
-rw-r--r--    1 root  root        1274 May  2 22:39 escalations.cfg
-rw-r--r--    1 root  root        2198 May  2 22:39 hostgroups.cfg
-rw-r--r--    1 root  root        8246 May  2 22:39 hosts.cfg
-rw-r--r--    1 root  root          22 May  2 22:39 htpasswd.users
-rw-------    1 root  root       13597 May  2 22:39 minimal.cfg-sample
-rw-rw-r--    1 root  root        4259 May  2 22:39 misccommands.cfg
-rw-rw-r--    1 root  root       21157 May  2 22:39 nagios.cfg
-rw-r--r--    1 root  root        4980 May  2 22:39 nsca.cfg
-rw-r-----    1 root  root        3068 May  2 22:39 resource.cfg
-rw-r--r--    1 root  root        1628 May  2 22:39 send_nsca.cfg
-rw-r--r--    1 root  root       20929 May  2 22:39 services.cfg
-rw-rw-r--    1 root  root        1592 May  2 22:39 timeperiods.cfg

nagios-logs tell nothing about this error.
I am clueless at the moment.

-- 
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20030503/5a991dbe/attachment.html>


More information about the Users mailing list