Monitoring servers from the Admin console

To Enable monitoring of all zimbra servers from the admin console do the following:

  1. make sure logging is installed on all servers

  2. On the “master” edit the/etc/rsyslog.conf with the following changes:

 # line 17, 18: uncomment
$ModLoad imtcp
$InputTCPServerRun 514

 # specify senders you permit to access

$AllowedSender TCP, 127.0.0.1, 10.20.0.0/24, *.yourdomain.co.za 

  1. On the “master” server run the following as root:

 /opt/zimbra/libexec/zmsyslogsetup

/etc/rc.d/init.d/rsyslog restart

  1. On the “master” server run the following as zimbra:

 /opt/zimbra/libexec/zmloggerinit

  1. On the other “client” servers vi /etc/rsyslog.conf and make the following changes:

# for exmaple, output logs for "authpriv.*" to remote host

authpriv.* @@10.20.0.13:514

 

# line 73: uncomment

$WorkDirectory /var/lib/rsyslog # where to place spool files
$ActionQueueFileName fwdRule1 # unique name prefix for spool files
$ActionQueueMaxDiskSpace 1g # 1gb space limit (use as much as possible)
$ActionQueueSaveOnShutdown on # save messages to disk on shutdown
$ActionQueueType LinkedList # run asynchronously
$ActionResumeRetryCount -1 # infinite retries if host is down

  1. Run the following as root:

/opt/zimbra/libexec/zmsyslogsetup

/etc/rc.d/init.d/rsyslog restart

  1. Run the following as zimbra:

/opt/zimbra/libexec/zmloggerinit