2014 Upgrade: Unable to Schedule or Cancel Downtime

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
uidaho
Posts: 89
Joined: Tue Feb 12, 2013 11:58 am

2014 Upgrade: Unable to Schedule or Cancel Downtime

Post by uidaho »

After upgrading to 2014R1.0, most of our users have lost the ability to schedule and cancel host/service downtime. A few users are still able to schedule downtime, and it is possible to schedule downtime when masquerading as these users. The user's settings (Admin>Manage Users) are the same for users that can and can't schedule downtime.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: 2014 Upgrade: Unable to Schedule or Cancel Downtime

Post by tmcdonald »

Check in the /usr/local/nagios/etc/cgi.cfg file and make sure that the contacts are also all represented properly in the various "authorized_for" entries.
Former Nagios employee
uidaho
Posts: 89
Joined: Tue Feb 12, 2013 11:58 am

Re: 2014 Upgrade: Unable to Schedule or Cancel Downtime

Post by uidaho »

Thank you for the quick reply.
In the cgi.cfg file, the users that are working appear twice per line (authorized_for_* except read only). The users that are not working only have one entry per line.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: 2014 Upgrade: Unable to Schedule or Cancel Downtime

Post by sreinhardt »

Would you be able to PM one of us that config file to take a look, and an example (although it sounds pretty straight forward) of both a working and not working account? Also were all of these accounts existing when you did the upgrade or are some created post upgrade?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
uidaho
Posts: 89
Joined: Tue Feb 12, 2013 11:58 am

Re: 2014 Upgrade: Unable to Schedule or Cancel Downtime

Post by uidaho »

All accounts are pre-upgrade, and I will PM a copy of the cfg.
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: 2014 Upgrade: Unable to Schedule or Cancel Downtime

Post by snapon_admin »

I appear to be having a similar issue. My users can schedule downtime, but when we do so (I say we because this includes me, who is an admin, and all users) it doesn't actually show up in the scheduled downtime page, nor does it trigger when it's supposed to.

EDIT: We also apparently cannot disable notifications. I just tried doing so from an Admin account and nothing happens...
uidaho
Posts: 89
Joined: Tue Feb 12, 2013 11:58 am

Re: 2014 Upgrade: Unable to Schedule or Cancel Downtime

Post by uidaho »

One important note:
Another server, pre-upgrade, has an almost identical config file, but all users work.

Edit:
A further description of the problem:
When users that aren't working try to create downtime, they are redirected to a page with a blank white center pane. The page appears as /nagiosxi/index.php?
User avatar
snapon_admin
Posts: 952
Joined: Mon Jun 10, 2013 10:39 am
Location: Kenosha, WI
Contact:

Re: 2014 Upgrade: Unable to Schedule or Cancel Downtime

Post by snapon_admin »

I'm going to create a separate thread for my issue. Upon further testing it appears my issue is a little different than this one.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: 2014 Upgrade: Unable to Schedule or Cancel Downtime

Post by scottwilkerson »

uidaho wrote:One important note:
Another server, pre-upgrade, has an almost identical config file, but all users work.

Edit:
A further description of the problem:
When users that aren't working try to create downtime, they are redirected to a page with a blank white center pane. The page appears as /nagiosxi/index.php?
Could you give the output from the following command after seeing this behavior

Code: Select all

tail -50 /var/log/httpd/error_log
Thanks
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
uidaho
Posts: 89
Joined: Tue Feb 12, 2013 11:58 am

Re: 2014 Upgrade: Unable to Schedule or Cancel Downtime

Post by uidaho »

No new entries are being made in httpd/error_log when we try to schedule downtime.
Locked