Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Changing the default Disk Warning Thresholds

  1. #1
    cdmdotnet is offline Intermediate Member
    Join Date
    May 2008
    Posts
    24
    Rep Power
    7

    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.

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    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.

  3. #3
    mtorres is offline Trained Alumni
    Join Date
    May 2008
    Location
    Sierra Vista, Az
    Posts
    74
    Rep Power
    7

    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!

  4. #4
    maumar is offline Elite Member
    Join Date
    Mar 2007
    Location
    Small village in the center of Italy
    Posts
    350
    Rep Power
    8

    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

  5. #5
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Code:
    zmlocalconfig -e zimbra_disk_threshold=100

  6. #6
    krolen is offline Special Member
    Join Date
    Sep 2007
    Location
    Stockport
    Posts
    106
    Rep Power
    7

    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

  7. #7
    bhwong is offline Outstanding Member
    Join Date
    Feb 2009
    Location
    Singapore
    Posts
    503
    Rep Power
    7

    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?

  8. #8
    bhwong is offline Outstanding Member
    Join Date
    Feb 2009
    Location
    Singapore
    Posts
    503
    Rep Power
    7

    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

  9. #9
    infocentric is offline Junior Member
    Join Date
    Jan 2006
    Location
    Oakland, CA
    Posts
    9
    Rep Power
    9

    Default

    Looks like zmdisklog was merged into

    /opt/zimbra/libexec/zmmon


    thx
    Scott

  10. #10
    bhwong is offline Outstanding Member
    Join Date
    Feb 2009
    Location
    Singapore
    Posts
    503
    Rep Power
    7

    Default

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

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Daily mail report always reports "No messages found"
    By McPringle in forum Installation
    Replies: 42
    Last Post: 06-13-2011, 08:57 AM
  2. [SOLVED] Upgraded to 5.0 OSS - Sendmail Problem
    By Chewie71 in forum Installation
    Replies: 11
    Last Post: 12-28-2007, 07:07 PM
  3. Replies: 45
    Last Post: 11-28-2007, 06:39 PM
  4. perdition won't start after 4.5 Upgrade
    By freeformz in forum Administrators
    Replies: 1
    Last Post: 01-29-2007, 07:39 PM
  5. MTA is Dying after yum update
    By tonyawbrey in forum Administrators
    Replies: 27
    Last Post: 04-02-2006, 06:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •