This is still happening, but not 100% of the time. What we have found is on working machines:
ls -la /var/lib/nagios/ total 20 drwxr-xr-x 5 nagios nagios 4096 Jul 29 17:15 . drwxr-xr-x 54 root root 4096 Jul 29 17:08 .. drwxr-xr-x 4 nagios nagios 4096 Jul 29 17:15 .kube drwxr-xr-x 2 root root 4096 Jul 29 17:09 export drwxr-xr-x 3 nagios nagios 4096 Jul 29 17:15 snap
But on non-working machines: drwxr-xr-x 5 root root 4096 Jul 29 17:15 .
Doing a chown nagios:nagios /var/lib/nagios makes the issue go away.
This is still happening, but not 100% of the time. What we have found is on working machines:
ls -la /var/lib/nagios/
total 20
drwxr-xr-x 5 nagios nagios 4096 Jul 29 17:15 .
drwxr-xr-x 54 root root 4096 Jul 29 17:08 ..
drwxr-xr-x 4 nagios nagios 4096 Jul 29 17:15 .kube
drwxr-xr-x 2 root root 4096 Jul 29 17:09 export
drwxr-xr-x 3 nagios nagios 4096 Jul 29 17:15 snap
But on non-working machines:
drwxr-xr-x 5 root root 4096 Jul 29 17:15 .
Doing a chown nagios:nagios /var/lib/nagios makes the issue go away.