Search found 2 matches

by rcs123
Mon Jan 16, 2023 1:50 pm
Forum: Nagios XI
Topic: Logrotate not working on /usr/local/nagiosxi/var/*log
Replies: 3
Views: 1534

Re: Logrotate not working on /usr/local/nagiosxi/var/*log

Update: The problem seems to be within the logorate service itself. Logrotate is starting but failing: root@:/run/log/journal# systemctl status logrotate.service ● logrotate.service - Rotate log files Loaded: loaded (/lib/systemd/system/logrotate.service; static; vendor preset: enabled) Active: fail...
by rcs123
Mon Jan 16, 2023 10:37 am
Forum: Nagios XI
Topic: Logrotate not working on /usr/local/nagiosxi/var/*log
Replies: 3
Views: 1534

Logrotate not working on /usr/local/nagiosxi/var/*log

Hi team, I've been having issues with logrotate for Nagios. If I check at the status it says that the logs have been rotated, however when I check the size the files are still growing (they should be rotated if size is bigger than 5M): usr/local/nagiosxi/var# cat /var/lib/logrotate/status | grep -i ...