Hi,
i am now able to acknowledge the service problem the page i got shows 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.
cgi.cfg
# MODIFIED
default_statusmap_layout=6
# UNMODIFIED
action_url_target=_blank
authorized_for_all_host_commands=nagiosadmin,nagiosadmin
authorized_for_all_hosts=nagiosadmin,nagiosadmin,
authorized_for_all_service_commands=nagiosadmin,nagiosadmin
authorized_for_all_services=nagiosadmin,nagiosadmin,
authorized_for_configuration_information=nagiosadmin,nagiosadmin,
authorized_for_system_commands=nagiosadmin,nagiosadmin
authorized_for_system_information=nagiosadmin,nagiosadmin
default_statuswrl_layout=4
escape_html_tags=1
lock_author_names=1
main_config_file=/usr/local/nagios/etc/nagios.cfg
notes_url_target=_blank
physical_html_path=/usr/local/nagios/share
ping_syntax=/bin/ping -n -U -c 5 $HOSTADDRESS$
refresh_rate=90
show_context_help=0
url_html_path=/nagios
use_authentication=1
use_pending_states=1
use_ssl_authentication=0
prw-rw---- 1 nagios nagios 0 Sep 22 17:18 /usr/local/nagios/var/rw/nagios.cmd
It is displaying Nagios admin when i click acknowledge
tried resetting the permissions also.
Please advice anything.
Not able to acknowledge service problem
Re: Not able to acknowledge service problem
What Linux distro and version of XI are you using?
Also, are you using our pre-installed VM or Manually installed version?
Also, are you using our pre-installed VM or Manually installed version?
Re: Not able to acknowledge service problem
Centos 5.5 64bit manually installed Nagios XI 2011R1.7
Re: Not able to acknowledge service problem
Stonehill,
You nagios.cmd should be owned by nagios.nagcmd
chown nagios.nagcmd /usr/local/nagios/var/rw/nagios.cmd
You nagios.cmd should be owned by nagios.nagcmd
chown nagios.nagcmd /usr/local/nagios/var/rw/nagios.cmd
Nicholas Scott
Former Nagios employee
Former Nagios employee
Re: Not able to acknowledge service problem
Sorry still the same error after changing the permissions also
prw-rw---- 1 nagios nagios 0 Sep 27 08:08 nagios.cmd
tried restarting nagios and nagiosxi also.
prw-rw---- 1 nagios nagios 0 Sep 27 08:08 nagios.cmd
tried restarting nagios and nagiosxi also.
Re: Not able to acknowledge service problem
Try our global permission fix and see if that resolves the issue:
http://library.nagios.com/library/produ ... -nagios-xi
There are a few users reporting this issue, but we haven't nailed down the source of it yet. Let us know if this takes care of it.
http://library.nagios.com/library/produ ... -nagios-xi
There are a few users reporting this issue, but we haven't nailed down the source of it yet. Let us know if this takes care of it.
Re: Not able to acknowledge service problem
The script did not solve the problem but stopped all my graphs.
It changed the permission of /usr/local/nagios/perfdata and its respective directories to 666 although in script it is 755
Re: Not able to acknowledge service problem
Try fixing your global permissions following the directions from out wiki page here:
http://support.nagios.com/wiki/index.ph ... ion_Issues
http://support.nagios.com/wiki/index.ph ... ion_Issues
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Not able to acknowledge service problem
Acknowledge service is working after restarting my nagios server again.
Re: Not able to acknowledge service problem
Thanks for the update and glad its working for you.
Nicholas Scott
Former Nagios employee
Former Nagios employee