Page 1 of 1

Nagios core 4.4.6 not logging after reload

Posted: Tue Sep 17, 2024 9:00 am
by tcsillag83
Hi folks,

We have a Nagios Core 4.4.6 install (upgrade scheduled) in use with built-in hourly log rotation.
If we reload due to a config change, it doesn't log anything anymore until the next hourly rotation. :?
I guess it's something trivial, just can't see anything in the config/permissions that could cause it.
Possibly some SELinux context?

Regards,
Tamas

Re: Nagios core 4.4.6 not logging after reload

Posted: Thu Sep 19, 2024 3:10 pm
by danderson
Thanks for reaching out @tcsillag83,

Do you still get the issues after you do setenforce 0? If I remember correctly, by default the nagios core policy doesn't have the correct file paths so that might be causing the issue.

Re: Nagios core 4.4.6 not logging after reload

Posted: Mon Sep 30, 2024 10:07 am
by tcsillag83
I stand corrected: SELinux is already disabled on the host (should have checked before posting), so that won't be my culprit...

Re: Nagios core 4.4.6 not logging after reload

Posted: Mon Sep 30, 2024 5:38 pm
by danderson
Are the permissions the same before and after the log rotation?