Hello.
I think the basic approach in cases like this is to allow only users who are
okay with reading this to join the group.
We probably don't need to loosen the permissions or install unnecessarily
strong security measures yet :)
Regards.
On 2026/02/18 2:39, Andrea Venturoli wrote:
Hello.
I've been using nagios4 for a long time and for a long time I've been having a
problem: when I try to watch alert history for a service I get:
Error: Cannot open log file '/var/spool/nagios/nagios.log' for reading!
In fact:
# ls -l /var/spool/nagios/nagios.log
-rw-r----- 1 nagios nagios 925763 Feb 17 18:17 /var/spool/nagios/nagios.log
Apache won't be able to open it unless it's permission is 644.
I can manually change it and the problem will temporarily go away; alas, the
next day, after Nagios rotates the file, it will come back again with 640.
There's a discussion about this at
https://github.com/NagiosEnterprises/nagioscore/issues/303