ZCS Administrator's Guide 8.0.3
ZCS Administrator's Guide 8.0.3
Open Source Edition


Monitoring ZCS Servers > Zimbra Logger

Zimbra Logger
The Logger includes tools for syslog aggregation and reporting. Installing the Logger is optional, but if you do not install it, server statistics and server status information are not captured.
In environments with more than one ZCS server, Logger is enabled on one mailbox server only. This server is designated as the monitor host. The ZCS monitor host is responsible for checking the status of all the other ZCS servers and presenting this information on the Zimbra administration console. Real-time service status, MTA, spam, virus traffic and performance statistics can be displayed. The Logger creates a daily report about mail activity, such as the number of messages, average delivery delay, and errors generated.
Note:
Enable Server Statistics
Enable server statistics to show both system-wide and server specific data about the inbound message volume, inbound message count, anti-spam/antivirus activity and disk usage for messages processed in the last 48 hours, 30 days, 60 days, and the last year.
1.
On each server, as root, type /opt/zimbra/libexec/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:
Enable Remote Syslogging on Mac 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.
sudo launchctl unload /System/Library/LaunchDaemons/com.apple.syslogd.plist
sudo launchctl load /System/Library/LaunchDaemons/com.apple.syslogd.plist
Review Server Status
The Monitor>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,
Enable or Disable Server Services
Server services are enabled or disabled from the Configure>Servers page. Select Services in the Navigation pane and select to enable or disable services.
Server Performance Statistics
If the 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 days, 60 days, 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 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:
Server-specific statistics also include the following:
*
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.
Configure Logger Mail Reports
The Logger generates a report about mail activity daily at 11:30 p.m. and sends it 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.
*
zmlocalconfig -e zimbra_mtareport_max_recipients=<number>
*
zmlocalconfig -e zimbra_mtareport_max_senders=<number>
Copyright © 2013 VMware Inc.