Problem with Acknowledge
Problem with Acknowledge
Hello,
I am having an issue with my NagiosXI install. Per the install docs, I put this on a Red Hat 6.2 fresh install. This box is only running Nagios, and the needed services that support Nagios.
Currently I am having an issue with user ID's not being about to Acknowledge, or Disable notification of a Server or Host group. I am able to disable notification single services or hosts. I have looked at the cgi.cfg and I have read the docs concerning this file. Still no luck.
Is there anything else I should be looking at?
Here is what my cgi.cfg looks like:
# MODIFIED
default_statusmap_layout=6
# UNMODIFIED
action_url_target=_blank
authorized_for_all_host_commands=nagiosadmin,nagiosadmin,appuser,appuser
authorized_for_all_hosts=nagiosadmin,nagiosadmin,appuser,appuser
authorized_for_all_service_commands=nagiosadmin,nagiosadmin,appuser,appuser
authorized_for_all_services=nagiosadmin,nagiosadmin,appuser,appuser
authorized_for_configuration_information=nagiosadmin,nagiosadmin,appuser,appuser
authorized_for_system_commands=nagiosadmin,nagiosadmin,appuser,appuser
authorized_for_system_information=nagiosadmin,nagiosadmin,appuser,appuser
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
Permission on the cgi.cfg are: -rw-rw-r-- 1 apache nagios
I am having an issue with my NagiosXI install. Per the install docs, I put this on a Red Hat 6.2 fresh install. This box is only running Nagios, and the needed services that support Nagios.
Currently I am having an issue with user ID's not being about to Acknowledge, or Disable notification of a Server or Host group. I am able to disable notification single services or hosts. I have looked at the cgi.cfg and I have read the docs concerning this file. Still no luck.
Is there anything else I should be looking at?
Here is what my cgi.cfg looks like:
# MODIFIED
default_statusmap_layout=6
# UNMODIFIED
action_url_target=_blank
authorized_for_all_host_commands=nagiosadmin,nagiosadmin,appuser,appuser
authorized_for_all_hosts=nagiosadmin,nagiosadmin,appuser,appuser
authorized_for_all_service_commands=nagiosadmin,nagiosadmin,appuser,appuser
authorized_for_all_services=nagiosadmin,nagiosadmin,appuser,appuser
authorized_for_configuration_information=nagiosadmin,nagiosadmin,appuser,appuser
authorized_for_system_commands=nagiosadmin,nagiosadmin,appuser,appuser
authorized_for_system_information=nagiosadmin,nagiosadmin,appuser,appuser
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
Permission on the cgi.cfg are: -rw-rw-r-- 1 apache nagios
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Problem with Acknowledge
What are the Security Settings set for this user found in
Admin -> Manage Users -> Edit
Admin -> Manage Users -> Edit
Re: Problem with Acknowledge
Authorization Level: Admin
Can see all hosts and services: checked
Can (re)configure hosts and services: checked
Can control all hosts and services: checked
Can see/control monitoring engine: checked
Can access advanced features: checked
Its like this for all users defined on the server, and all the users are having the same issue.
Can see all hosts and services: checked
Can (re)configure hosts and services: checked
Can control all hosts and services: checked
Can see/control monitoring engine: checked
Can access advanced features: checked
Its like this for all users defined on the server, and all the users are having the same issue.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Problem with Acknowledge
What version of XI are you running?
Also, if you go to Admin -> Performance Settings -> Pages Tab are any boxes checked?
I kind of remember a bug like this, but I believe it was resolved a couple versions ago.
Also, if you go to Admin -> Performance Settings -> Pages Tab are any boxes checked?
I kind of remember a bug like this, but I believe it was resolved a couple versions ago.
Re: Problem with Acknowledge
Hi Scott,
NagiosXI 2011R3.2
There are no boxes checked on the Pages Tab.
I just came to know that we have one other user who is working. We removed my user ID, we re-created my ID, it still does not work. Created a new user ID called wayne and it works just fine. We cloned a user ID that also works.
Could something have been wrong with my original ID? Is there something I need to clean up?
Thanks,
Wayne
NagiosXI 2011R3.2
There are no boxes checked on the Pages Tab.
I just came to know that we have one other user who is working. We removed my user ID, we re-created my ID, it still does not work. Created a new user ID called wayne and it works just fine. We cloned a user ID that also works.
Could something have been wrong with my original ID? Is there something I need to clean up?
Thanks,
Wayne
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Problem with Acknowledge
is your user listed in the authorized_for_* section of the cgi.cfg?
Re: Problem with Acknowledge
Yes both old and new ID are in the cgi.cfg. Old ID still does not work, new ID works like a charm.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Problem with Acknowledge
What version of XI are you running?
Re: Problem with Acknowledge
Hi Scott,
NagiosXI 2011R3.2
NagiosXI 2011R3.2
Re: Problem with Acknowledge
Can you run the following:
And post the output from:
Code: Select all
service nagios stop
killall -9 nagios
service nagios startCode: Select all
ll /usr/local/nagios/var/rw