Page 1 of 4

Can't Acknowledge or Schedule Down Time (Not Authorized)

Posted: Fri Aug 26, 2011 8:57 am
by espint
Whenever we try to acknowledge a service problem or schedule down time the Author (Your Name) field comes up blank and will not let you enter anything. As a result, acknowledging a service problem or scheduling downtime fails. The error for either command is: "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." Should the field be editable or should it populate from the login credentials. I get this error with all user logons including nagiosadmin. Thanks in advance for your help.

I have Nagios XI 2011R1.6 installed on CentOS 5.5'

The results of commands

[root@monsrv003 ~]# service mysqld restart
Stopping MySQL: [ OK ]
Starting MySQL: [ OK ]
[root@monsrv003 ~]# service postgresql restart
Stopping postgresql service: [ OK ]
Starting postgresql service: [ OK ]
[root@monsrv003 ~]#

Re: Can't Acknowledge or Schedule Down Time (Not Authorized)

Posted: Fri Aug 26, 2011 9:50 am
by lmiltchev
Run in terminal as root:

Code: Select all

/usr/local/nagiosxi/scripts/reset_config_perms
Go to "Admin" menu and click on "Reset Security Credentials" under "System Config" from the left panel menu. Enter a new Config Manager Admin Password and click on "Update Credentials".

Also, click on "Check File Permissions" under "Monitoring Config" to check for permission issues.

Hope this helps.

Re: Can't Acknowledge or Schedule Down Time (Not Authorized)

Posted: Fri Aug 26, 2011 12:04 pm
by espint
Thanks for the quick reply.

I ran in terminal as root, the result was:

SETUPID ROOT OK
RESETTING PERMS

Reset the security Credentials: Security credentials updated successfully.

Checked the File Permissions this is the result:

Config File Permissions Check
Config Scripts
The permissions on the Nagios XI configuration scripts appear to be okay.

Config Files
The permissions on the Nagios Core configuration files to be okay.

Re: Can't Acknowledge or Schedule Down Time (Not Authorized)

Posted: Fri Aug 26, 2011 1:38 pm
by lmiltchev
Can you schedule a downtime or acknowledge a problem now?

Re: Can't Acknowledge or Schedule Down Time (Not Authorized)

Posted: Mon Aug 29, 2011 7:33 am
by espint
No, nothing changed after followint those steps and I did not have any errors.

Re: Can't Acknowledge or Schedule Down Time (Not Authorized)

Posted: Mon Aug 29, 2011 1:05 pm
by lmiltchev
Can you run the following command in terminal and post the output?

Code: Select all

# ls -l /usr/local/nagios/var/rw/nagios.cmd

Re: Can't Acknowledge or Schedule Down Time (Not Authorized)

Posted: Fri Sep 09, 2011 10:11 am
by espint
Here are the results of the command:

[root@monsrv003 ~]# ls -l /usr/local/nagios/var/rw/nagios.cmd

prw-rw---- 1 nagios nagcmd 0 Sep 9 10:03 /usr/local/nagios/var/rw/nagios.cmd

[root@monsrv003 ~]#


Thanks.

Re: Can't Acknowledge or Schedule Down Time (Not Authorized)

Posted: Fri Sep 09, 2011 3:13 pm
by lmiltchev
Are you using LDAP or Active Directory components?

Re: Can't Acknowledge or Schedule Down Time (Not Authorized)

Posted: Mon Sep 12, 2011 8:59 am
by espint
I am not using LDAP or Active Directory components. I have been working on SSL but have not managed to make that fully functional. I wonder if the two could be related?

Re: Can't Acknowledge or Schedule Down Time (Not Authorized)

Posted: Mon Sep 12, 2011 9:29 am
by espint
When I get to the acknowledge page, the "logged in as" information in the upper left corner shows a "?". I have attached a snipit of this. The Author (Your Name) field on this same page will not let me click in it or add text in any way.