ZCS Administrator's Guide, Open Source Edition, 6.0.8
Table of Contents Previous Next Index


Monitoring Zimbra Servers : Zimbra Logger

Zimbra Logger
Zimbra-Logger includes tools for syslog aggregation and reporting. Installing the Logger package is optional, but if you do not install Logger, Server Statistics and Server Status information is not captured.
In environments with more than one Zimbra server, Logger is enabled on only one mailbox server. This server is designated as the monitor host. The Zimbra monitor host is responsible for checking the status of all the other Zimbra servers and presenting this information on the Zimbra administration console. Real-time service status, MTA, spam, virus traffic and performance statistics can be displayed.
Note: In a multi-server installation, you must set up the syslog configuration files on each server to enable logger to display the server statistics on the administration console, and you must enable the logger host. If you did not configure this when you installed ZCS, do so now.
To enable Server Statistics:
1.
On each server, as root, type /opt/zimbra/bin/zmsyslogsetup. This enables the server to display statistics.
2.
On the logger monitor host, you must enable syslog to log statistics from remote machines.
a.
Edit the /etc/sysconfig/syslog file, add -r to the SYSLOGD_OPTIONS setting, SYSLOGD_options=”-r -m 0”
b.
Stop the syslog daemon. Type /etc/init.d/syslogd stop.
c.
Start the syslog daemon. Type /etc/init.d/syslogd start.
Note: These steps are not necessary for a single-node installation.
Enabling Remote Syslogging on Mac OS X
To enable remote syslogging on Max OS X
1.
sudo cp /System/Library/LaunchDaemons/com.apple.syslogd.plist ~/Desktop/
2.
sudo nano /system/Library/LaunchDaemons/com.apple.syslogd.plist
3.
<sting>/usr/sbin/syslogd</string>
Add the following directly below this line
<string>-u</string>
4.
5.
Stop and start the daemon. Type
sudo launchctl unload /System/Library/LaunchDaemons/com.apple.syslogd.plist
sudo launchctl load /System/Library/LaunchDaemons/com.apple.syslogd.plist
Reviewing Server Status
The Server Status page lists all servers and services, their status, and when the server status was last checked. The servers include the MTA, LDAP, and mailbox server. The services include MTA, LDAP, Mailbox, SNMP, Anti-Spam, Anti-Virus, Spell checker, and Logger.
To start a server if it is not running, use the zmcontrol CLI command. You can stop and start services from the administration console, Servers>Services tab.
Server Performance Statistics
If the Zimbra-logger package is installed on a Zimbra mailbox server. Server Statistics shows bar graphs of the message count, message volume, anti-spam, and anti-virus activity. The information is displayed for the last 48 hours, and 30, 60, and 365 days.
When Server Statistics is selected in the Navigation pane, consolidated statistics for all mailbox servers is displayed. Selecting a specific server in the expanded view shows statistics for that server only. Server specific information also includes disk usage, session information, and mailbox quota details.
The following tabs display system-wide information:
Message Count counts message transactions. A transaction is defined as either the SMTP receipt of a message per person (by Postfix) or a LMTP delivery of it (by mailboxd) per person. For example, if a message is sent to three people, six transactions are displayed. Three for SMTP to Postfix and three for LMTP to mailboxd. The message count is increased by six.
Message Volume displays the aggregate size in bytes of transactions sent and received per hour and per day. Graphs show the total inbound data by volume in bytes.
Anti-Spam/Anti-Virus Activity displays the number of messages that were checked for spam or viruses and the number of messages that were tagged as spam or deemed to contain a virus. The AS/AV count is increased by one per message scanned. One message sent to three people counts as only one message processed by AS/AV.
The Message Count and the Anti-spam/Anti-virus Activity graphs display a different message count because:
Outbound messages may not go through the Amavisd filter, as the system architecture might not require outbound messages to be checked.
Message are received and checked by Amavisd for spam and viruses before being delivered to all recipients in the message. The message count shows the number of recipients who received messages.
Server-specific statistics also include the following tabs:
Disk for a selected server displays the disk used and the disk space available. The information is displayed for the last hour, day, month, and year.
Session displays information about the active Web client, administrator and IMAP sessions. You can see how many active sessions are opened, who is logged on, when the session was created and the last time the session was accessed.
Mailbox Quota displays information about each account sorted by mailbox size in descending order. See Monitoring Mailbox Quotas.
Generating Daily Mail Reports
When the Logger package is installed, a daily mail report is automatically scheduled in the crontab. The Zimbra daily mail report includes the following information:
The report runs every morning at 11:30 p.m. and is sent to the administrator’s email address.
You can configure the number of accounts to include in the report. The default is 25 sender and 25 recipient accounts.
To change the number of recipients to add to the report, type:
zmlocalconfig -e zimbra_mtareport_max_recipients=<number>
To change the number of senders to add to the report, type:
zmlocalconfig -e zimbra_mtareport_max_senders=<number>

Monitoring Zimbra Servers : Zimbra Logger

Table of Contents Previous Next Index
ZCS Administrator's Guide, Open Source Edition, 6.0.8
Copyright © 2010 Zimbra Inc.