Page 1 of 1

Scheduled Downtime Broken with r1.6 upgrade

Posted: Sun Aug 21, 2011 8:05 am
by arnab.roy
Hi Guys,

When I try setting up a scheduled downtime I am getting this. Can a quick fix be supplied asap. As this will be disastrous for us.

External Command Interface
Last Updated: Sun Aug 21 14:01:55 BST 2011
NagiosĀ® Coreā„¢ 3.2.3 - www.nagios.org
Logged in as nagiosadmin


Sorry, but you are not authorized to commit the specified command.

Read the section of the documentation that deals with authentication and authorization in the CGIs for more information.

Return from whence you came

Re: Scheduled Downtime Broken with r1.6 upgrade

Posted: Sun Aug 21, 2011 8:07 am
by arnab.roy
Just to add I have tried with the default nagioadmin and other user accounts but no difference

Re: Scheduled Downtime Broken with r1.6 upgrade

Posted: Sun Aug 21, 2011 8:11 am
by arnab.roy
Cgi.conf for you:


# MODIFIED
default_statusmap_layout=6


# UNMODIFIED
action_url_target=_blank
authorized_for_all_host_commands=nagiosadmin,nagiosadmin,arnab.roy,don.dyer,arnab.roy,don.dyer
authorized_for_all_hosts=nagiosadmin,nagiosadmin,arnab.roy,don.dyer,arnab.roy,andy.brimson,don.dyer,jolanta.tkacz,buddhi.asanka,gareth.trollip,guy.jermany,matt.ashman,sales
authorized_for_all_service_commands=nagiosadmin,nagiosadmin,arnab.roy,don.dyer,arnab.roy,don.dyer
authorized_for_all_services=nagiosadmin,nagiosadmin,arnab.roy,don.dyer,arnab.roy,andy.brimson,don.dyer,jolanta.tkacz,buddhi.asanka,gareth.trollip,guy.jermany,matt.ashman,sales
authorized_for_configuration_information=nagiosadmin,nagiosadmin,arnab.roy,don.dyer,arnab.roy,andy.brimson,don.dyer,jolanta.tkacz,buddhi.asanka,gareth.trollip,guy.jermany,matt.ashman,sales
authorized_for_system_commands=nagiosadmin,nagiosadmin,arnab.roy,don.dyer,arnab.roy,don.dyer
authorized_for_system_information=nagiosadmin,nagiosadmin,arnab.roy,don.dyer,arnab.roy,don.dyer
default_statuswrl_layout=4
escape_html_tags=1
lock_author_names=1
main_config_file=/usr/local/nagios/etc/nagios.cfg
notes_url_target=_blank
physical_html_path=/usr/local/nagios/share
ping_syntax=/bin/ping -n -U -c 5 $HOSTADDRESS$
refresh_rate=90
show_context_help=0
url_html_path=/nagios
use_authentication=1
use_pending_states=1
use_ssl_authentication=0

Re: Scheduled Downtime Broken with r1.6 upgrade

Posted: Sun Aug 21, 2011 8:17 am
by arnab.roy
Ok found the problem, was trying with wrong host name, very misleading error message though..! :)

Re: Scheduled Downtime Broken with r1.6 upgrade

Posted: Mon Aug 22, 2011 10:42 am
by nscott
:D Glad it was easy-ish fix, I can see how that error message is confusing, thanks for letting use know the break/fix.