Administration Guide

  • Docs Home
  • Community Home

6. Maintenance and Performance Tuning

Read the following sections for Zenoss maintenance and tuning suggestions.

6.1. Pack ZEO Database

The ZEO database needs to be packed periodically to reclaim space. To do this you should set up a cron job that runs the following command weekly:

$ZENHOME/bin/zeopack.py -p 8100

6.2. Log Rotate Script

If your system uses logrotate to manage files, insert the following lines in the /etc/logrotate.d/zenoss file to manage Zenoss log files:

/opt/zenoss/log/*.log /opt/zenoss/log/*/*.log{
/usr/local/zenoss/log/*.log {
weekly
rotate 2
copytruncate
}