2014 Upgrade: Unable to Schedule or Cancel Downtime
2014 Upgrade: Unable to Schedule or Cancel Downtime
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.
Re: 2014 Upgrade: Unable to Schedule or Cancel Downtime
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
Re: 2014 Upgrade: Unable to Schedule or Cancel Downtime
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.
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
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.
Re: 2014 Upgrade: Unable to Schedule or Cancel Downtime
All accounts are pre-upgrade, and I will PM a copy of the cfg.
- 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
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...
EDIT: We also apparently cannot disable notifications. I just tried doing so from an Admin account and nothing happens...
Re: 2014 Upgrade: Unable to Schedule or Cancel Downtime
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?
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?
- 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
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
Could you give the output from the following command after seeing this behavioruidaho 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?
Code: Select all
tail -50 /var/log/httpd/error_logRe: 2014 Upgrade: Unable to Schedule or Cancel Downtime
No new entries are being made in httpd/error_log when we try to schedule downtime.