Hello,

i've setup several check plugins to use icingacli. It's very fast and easy way to get current state of monitored services and hosts. The problem was that the nagios user, under which check were run, did not have access to /etc/icingaweb2, so icingacli did not work at all.

I found out, that this can be solved by adding user nagios to icingaweb2 group by: 'usermod -a -G icingaweb2 nagios'. (It is also mentioned here https://github.com/Icinga/icingaweb2-module-director/issues/952 ). After this modification, all the check plugins work just fine, but i am not sure, if this is not a potential security risk.

Any thoughts on this?

regards,
Vaclav
--
Václav Mach
tel: +420 234 680 206
CESNET, z.s.p.o.
www.cesnet.cz

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to