Dell OpenManage and their TTY logs

Dell's OpenManage tools keep some logs under /var/log and do not clean them up. You also can't turn them off and they contain important info from the PERC controllers.

Anyway, the mailing list mentions this often, so I thought I post a little solution using logrotate: Dell OpenManage and their TTY logs.

/var/log/TTY_*.log {
daily
notifempty
missingok
rotate 7 # how many you want to save
compress
delaycompress
sharedscripts
postrotate
/usr/sbin/invoke-rc.d dsm_om_shrsvc restart >/dev/null 2>&1 || true
endscript
}

See also Planet Malaysia.

No comments: