Acknowledgment doesn't work

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Frédéric GRANAT
Posts: 445
Joined: Mon Nov 19, 2012 11:36 am

Acknowledgment doesn't work

Post by Frédéric GRANAT »

Hi,
Acknowledgment doesn't work since yesterday.
I already created a topic about that in 2016.
The problem came from the right of user nagiosadmin.

If I ran the following command (the same proposed by the Nagioxi support) :

Code: Select all

authorized_for_read_only=nagiosadmin,nagios
[root@nagiosxi ~]# grep -i 'nagiosadmin\|authentication' /usr/local/nagios/etc/cgi.cfg
authorized_for_all_host_commands=nagiosadmin,nagiosadmin,fgay,JUrsch2,nagiosadmin
authorized_for_all_hosts=nagiosadmin,nagiosadmin,fgay,JUrsch2,nagiosexploit,nagiosadmin,nagios
authorized_for_all_service_commands=nagiosadmin,nagiosadmin,fgay,JUrsch2,nagiosadmin
authorized_for_all_services=nagiosadmin,nagiosadmin,fgay,JUrsch2,nagiosexploit,nagiosadmin,nagios
authorized_for_configuration_information=nagiosadmin,nagiosadmin,fgay,JUrsch2,nagiosexploit,nagiosadmin,nagios
authorized_for_system_commands=nagiosadmin,nagiosadmin,fgay,JUrsch2,nagiosadmin
authorized_for_system_information=nagiosadmin,nagiosadmin,fgay,JUrsch2,nagiosadmin
use_authentication=1
use_ssl_authentication=0
authorized_for_read_only=nagiosadmin,nagios
I saw that authorized_for_read_only=nagiosadmin,nagios whereas (according to the solution proposed by the NagiosXI support in 2016) it should be empty

I performed the following operations (according to the solution proposed by the NagiosXI support in 2016) :
I set authorized_for_read_only=
service nagios restart

Now the acknowledgement works.

Do you have any explanation about that ?
Particularly, Is it possible that the value authorized_for_read_only changed in the file /usr/local/nagios/etc/cgi.cfg whereas no change occured ?

Rgds,

Frederic
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Acknowledgment doesn't work

Post by scottwilkerson »

The only place that file is edited is when setting permissions for users in Admin -> Manage Users.

You shouldn't be able to mark read only and admin at the same time.

However it is possible the the file was manually edited by someone.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Frédéric GRANAT
Posts: 445
Joined: Mon Nov 19, 2012 11:36 am

Re: Acknowledgment doesn't work

Post by Frédéric GRANAT »

Hi,
Is there another explanation about the fact that acknowledgement doesn't work anymore ?

Rgds,

Frederic
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Acknowledgment doesn't work

Post by scottwilkerson »

Frédéric GRANAT wrote:Hi,
Is there another explanation about the fact that acknowledgement doesn't work anymore ?

Rgds,

Frederic
If your previous message you said
Frédéric GRANAT wrote:I performed the following operations (according to the solution proposed by the NagiosXI support in 2016) :
I set authorized_for_read_only=
service nagios restart

Now the acknowledgement works.
Did something switch these back again?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked