Scheduled Downtime Broken with r1.6 upgrade

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
arnab.roy
Posts: 354
Joined: Sat Apr 30, 2011 10:24 am

Scheduled Downtime Broken with r1.6 upgrade

Post 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
User avatar
arnab.roy
Posts: 354
Joined: Sat Apr 30, 2011 10:24 am

Re: Scheduled Downtime Broken with r1.6 upgrade

Post by arnab.roy »

Just to add I have tried with the default nagioadmin and other user accounts but no difference
User avatar
arnab.roy
Posts: 354
Joined: Sat Apr 30, 2011 10:24 am

Re: Scheduled Downtime Broken with r1.6 upgrade

Post 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
User avatar
arnab.roy
Posts: 354
Joined: Sat Apr 30, 2011 10:24 am

Re: Scheduled Downtime Broken with r1.6 upgrade

Post by arnab.roy »

Ok found the problem, was trying with wrong host name, very misleading error message though..! :)
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Scheduled Downtime Broken with r1.6 upgrade

Post 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.
Nicholas Scott
Former Nagios employee
Locked