Hello,
I am receiving the following error when attempting to schedule downtime for a host group. I am attempting to complete this task using our Nagios Administrator login which has admin access.
"Sorry, but you are not authorized to commit the specified command."
Unable to schedule downtime for a hostgroup
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Unable to schedule downtime for a hostgroup
Hello, @chelch.
Are you using Scheduled Downtime form the Incident Managment menu in XI? Also, can you schedule downtime for an individual host just fine or will it give you the same error?
Could you upload your Nagios XI System Profile so I can review it?
To send us your system profile. Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and upload it in this forum or send it in a pm. If you send it in a pm please let us know here when you do that.
Are you using Scheduled Downtime form the Incident Managment menu in XI? Also, can you schedule downtime for an individual host just fine or will it give you the same error?
Could you upload your Nagios XI System Profile so I can review it?
To send us your system profile. Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and upload it in this forum or send it in a pm. If you send it in a pm please let us know here when you do that.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Unable to schedule downtime for a hostgroup
Hello,
The way I am attempting to schedule downtime is by clicking on hostgroup summary on the left and then next to the host I am clicking the black box that says "view hostgroup commands". From there I am attempting to schedule downtime for a host group. I actually did this with no problem a few months ago so not sure what changed.
When I try and schedule downtime for an individual host under incident management it schedules fine. I have PM'd you my profile
The way I am attempting to schedule downtime is by clicking on hostgroup summary on the left and then next to the host I am clicking the black box that says "view hostgroup commands". From there I am attempting to schedule downtime for a host group. I actually did this with no problem a few months ago so not sure what changed.
When I try and schedule downtime for an individual host under incident management it schedules fine. I have PM'd you my profile
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Unable to schedule downtime for a hostgroup
@chelch, I received it, thanks. Please make a backup of your system first:
In XI web interface go to Admin/ System backups in the left column, Local Backup Archives and create a backup.
After that in linux console go to this folder:
and run
and then
After restart nagios and httpd:
Let us know if that resolved your problem.
In XI web interface go to Admin/ System backups in the left column, Local Backup Archives and create a backup.
After that in linux console go to this folder:
Code: Select all
/usr/local/nagios/scripts/Code: Select all
sudo ./reset_config_perms.shCode: Select all
./repair_databases.sh
Code: Select all
service nagios restart
service httpd restartAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Unable to schedule downtime for a hostgroup
Ran through all steps and same issue. Was able to fix by just removing the host group and recreating. Any idea what would cause this behavior?
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Unable to schedule downtime for a hostgroup
The repair script doesn't always fix everything in the db. We may have been able to fix it by running more advanced fixes, but since it's fixed, do you want to go ahead and lock the thread?