Setting Thresholds for Disk Monitoring

Revision as of 15:53, 14 June 2010 by Jason (talk | contribs) (Created page with '==Description== The '''''stats''''' service in the Zimbra Collaboration Suite will monitor disk usage and alert the server admin account when usage on any mounted device hits a c…')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

The stats service in the Zimbra Collaboration Suite will monitor disk usage and alert the server admin account when usage on any mounted device hits a certain level. The admin guide reads:

Monitoring Disk Space

You should regularly review your disks capacity and when disks are getting full you should take preventative measures to maintain service. To alert administrators of low disk space, an email notification is sent to the admin account. The default is to send out warning alerts when the threshold reaches 85% and a critical alert when the threshold reaches 95%. You can change these values. Use zmlocalconfig to configure the disk warning thresholds.

• Warning alerts: zmdisklog_warn_threshold

• Critical alert: zmdisklog_critical_threshold

When starting services with zmcontrol, if the threshold is exceeded, a warning is displayed before the services are started. You should clean up your disk to free up space.

Viewing Current Local Configuration Values

Warning and Critical Thresholds

zmlocalconfig zmdisklog_warn_threshold
zmlocalconfig zmdisklog_critical_threshold

Admin Notification Account

Source The email address for the "From:" field in admin notifications.

zmlocalconfig smtp_source

Destination The email address for the "To:" field in admin notifications.

zmlocalconfig smtp_destination

Setting Thresholds

Configure disk monitoring thresholds using the '-e' flag for zmlocalconfig. For example, to set warnings to 90% and critical alerts to 98%:

zmlocalconfig -e zmdisklog_warn_threshold=90
zmlocalconfig -e zmdisklog_critical_threshold=98

Restart the Zimbra stat service for the new threshold values to take effect.

zmstatctl stop
zmstatctl start
Verified Against: ZCS 6.0 Date Created: 6/14/2010
Article ID: https://wiki.zimbra.com/index.php?title=Setting_Thresholds_for_Disk_Monitoring Date Modified: 2010-06-14



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »

Jump to: navigation, search