Bug ID 441642: /etc/monitors/monitors_logrotate.conf contains an error

Last Modified: Jul 13, 2024

Affected Product(s):
BIG-IP LTM(all modules)

Known Affected Versions:
11.5.0, 11.5.1, 11.5.1 HF1, 11.5.1 HF2, 11.5.1 HF3, 11.5.1 HF4, 11.5.1 HF5, 11.5.1 HF6, 11.5.1 HF7, 11.5.1 HF8, 11.5.1 HF9, 11.5.1 HF10, 11.5.1 HF11, 11.5.2, 11.5.2 HF1

Fixed In:
11.6.0, 11.5.3

Opened: Dec 26, 2013

Severity: 4-Minor

Related Article: K16107

Symptoms

The primary symptom will be unrotated monitor log files. Other symptoms include: - Error messages: -- error: /etc/monitors/monitors_logrotate.conf:6 unknown unit 'B' -- error: found error in /var/log/monitors/*.log , skipping - No disk space

Impact

Monitor logs will not consider file size for rotation criteria. An email notification is generated periodically, which references an error in /etc/monitors/monitors_logrotate.conf.

Conditions

This occurs in /etc/monitors/monitors_logrotate.conf.

Workaround

edit /etc/monitors/monitors_logrotate.conf to be "size=5M" instead of "size=5MB" the file should look like this once edited: /var/log/monitors/*.log { compress missingok notifempty rotate 7 size=5M olddir=/var/log/monitors }

Fix Information

Monitor log rotation functionality has been restored, so that emails with error statements sent to the postmaster every 30 minutes have been stopped.

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips