Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-06-2008, 02:25 PM
Intermediate Member
 
Posts: 24
Question Changing the default Disk Warning Thresholds

I am aware of the bug in ZCS 5.04, and i have upgraded to 5.05, however this is not related to that bug.

I do infact have a partition that is 90% used, however this partition is not used by zimbra (it's a partition set aside for some media files)

I'd either like to know how I can exclude this partition from the warning emails or how to change the threshold settings for the disk warning system that fires out emails. In fact if i can do the first I'd still like to know how to change the threshold settings.

Also an email ever 10 minutes probably isn't the most user friendly solution, maybe an email ever 10 minutes for 3 warnings, then change the timing to 30 minutes and so forth till it's once every 6 hours. The bug in 5.04 highlighted how overzealous the "email every 10 minutes" idea has been.
Reply With Quote
  #2 (permalink)  
Old 05-07-2008, 03:22 AM
Moderator
 
Posts: 7,928
Default

Welcome to the forums

The default, according to zmcontrol, is 100Mb. Looking at the code is checks for the config variable zimbra_disk_threshold so you should be able to set it to whatever you like using
Code:
su - zimbra
zmlocalconfig -e zimbra_disk_threshold = 100
Also, check /opt/zimbra/libexec/zmdisklog as they are hardcoded in there
Code:
my $DISK_CRIT_THRESHOLD = 90;
my $DISK_WARN_THRESHOLD = 80;
__________________

Last edited by uxbod; 05-07-2008 at 04:42 AM..
Reply With Quote
  #3 (permalink)  
Old 05-31-2008, 04:36 PM
Trained Alumni
 
Posts: 74
Default

I was having the same problem, but changed the $DISK_WARN_THRESHOLD = 80 to 90, and it stopped send out those e-mails. Thanks for the post uxbod!
Reply With Quote
  #4 (permalink)  
Old 01-29-2009, 01:16 AM
Elite Member
 
Posts: 296
Default

centos 5 with NE 5.0.11
$ zmlocalconfig |grep zimbra_disk_threshold
is empty

[ 10:07:11 zimbra@zimbra ~ ]$ zmlocalconfig -e zimbra_disk_threshold = 100
Error: argument 'zimbra_disk_threshold' not in key=value form

how can i stop at all this notify?
i have a 100% disk full, i need to save backup files and logs files to free space and i do not wont receive this warning in the meantime
tia
maurizio
Reply With Quote
  #5 (permalink)  
Old 01-29-2009, 01:25 AM
Moderator
 
Posts: 7,928
Default

Code:
zmlocalconfig -e zimbra_disk_threshold=100
__________________
Reply With Quote
  #6 (permalink)  
Old 09-24-2009, 10:29 AM
Loyal Member
 
Posts: 93
Default

Hey guys. I Don't seam to have that file in my libexec dir? I Have tried changing the threshold command but still I am getting emails every 10 mins

Many thanks

Andy
Reply With Quote
  #7 (permalink)  
Old 11-20-2009, 05:10 PM
Elite Member
 
Posts: 377
Default

I set [zmlocalconfig -e zimbra_disk_threshold = 90] and still get emails every 10 mins too! My usage is about 85%. How come?

Also, I can't amend zmdisklog as it said it's read only. How do I make it writable?
Reply With Quote
  #8 (permalink)  
Old 11-20-2009, 05:25 PM
Elite Member
 
Posts: 377
Default

btw, is it normal to keep receiving not just service /dev/sda1 warning regarding over 81% harddisk usage, but also:

1. sasl changed from stopped to running
2. mta changed from stopped to running
3. stats changed from stopped to running
Reply With Quote
  #9 (permalink)  
Old 01-18-2010, 11:19 AM
Junior Member
 
Posts: 9
Default

Looks like zmdisklog was merged into

/opt/zimbra/libexec/zmmon


thx
Scott
Reply With Quote
  #10 (permalink)  
Old 01-18-2010, 05:08 PM
Elite Member
 
Posts: 377
Default

How is zmdisklog get merged into zmmon automatically? What can I do about this?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.