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

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
espint
Posts: 29
Joined: Thu Mar 03, 2011 12:06 pm

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

Post 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 ~]#
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

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

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
espint
Posts: 29
Joined: Thu Mar 03, 2011 12:06 pm

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

Post 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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

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

Post by lmiltchev »

Can you schedule a downtime or acknowledge a problem now?
Be sure to check out our Knowledgebase for helpful articles and solutions!
espint
Posts: 29
Joined: Thu Mar 03, 2011 12:06 pm

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

Post by espint »

No, nothing changed after followint those steps and I did not have any errors.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

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

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
espint
Posts: 29
Joined: Thu Mar 03, 2011 12:06 pm

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

Post 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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

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

Post by lmiltchev »

Are you using LDAP or Active Directory components?
Be sure to check out our Knowledgebase for helpful articles and solutions!
espint
Posts: 29
Joined: Thu Mar 03, 2011 12:06 pm

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

Post 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?
espint
Posts: 29
Joined: Thu Mar 03, 2011 12:06 pm

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

Post 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.
You do not have the required permissions to view the files attached to this post.
Locked