All,
I'm using Check_MK with OMD 1.2 (Check_MK/Livestatus 1.2.4p5). On the Check_MK documentation page for Livestatus, https://mathias-kettner.com/checkmk_livestatus.html, I noticed that you can set the Nagios variables service_authorization or group_authorization to change how Nagios handles permissions. Changing this would be attractive for our setup.
In my ~/etc/mk-livestatus/nagios.cfg, if I add the variable "service_authorization=strict", Nagios refuses to restart and claims that I've added an unknown variable. The documentation says to add this to nagios.cfg, (which gets built from a variety of files, including the one I added the variable into). Does anyone else use this Livestatus variable or have any insight into why this configuration errors out?
Andrew Wagner
The variable needs to be added to the broker line inside your nagios.cfg,
Example:
broker_module=/usr/local/lib/mk-livestatus/livestatus.o \
pnp_path=/var/lib/pnp4nagios/perfdata service_authorization=strict /var/lib/nagios/rw/live
In your installation the paths can be different.
br
Andreas
···
Andrew Wagner andrew.wagner@ssec.wisc.edu schrieb am Wed Nov 26 2014 at 19:01:59:
All,
I’m using Check_MK with OMD 1.2 (Check_MK/Livestatus 1.2.4p5). On the
Check_MK documentation page for Livestatus,
https://mathias-kettner.com/checkmk_livestatus.html, I noticed that you
can set the Nagios variables service_authorization or
group_authorization to change how Nagios handles permissions. Changing
this would be attractive for our setup.
In my ~/etc/mk-livestatus/nagios.cfg, if I add the variable
“service_authorization=strict”, Nagios refuses to restart and claims
that I’ve added an unknown variable. The documentation says to add this
to nagios.cfg, (which gets built from a variety of files, including the
one I added the variable into). Does anyone else use this Livestatus
variable or have any insight into why this configuration errors out?
Andrew Wagner
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en