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 02-15-2010, 02:11 PM
New Member
 
Posts: 4
Default Disable disk warning for one mount point

I have not found on the forum how to disable the alerts for disk one mount point in particular which is full of 100% which make me receive alerts every 10 minutes
Reply With Quote
  #2 (permalink)  
Old 02-17-2010, 11:21 AM
Outstanding Member
 
Posts: 594
Default

Read [SOLVED] zimbramon disk warnig
Reply With Quote
  #3 (permalink)  
Old 02-17-2010, 11:36 AM
New Member
 
Posts: 4
Default

Thank you but I don't see solution formy problem, I have already read this thread.

My disk (not USB) is full and will remain so. I need to exclude it from the check
Reply With Quote
  #4 (permalink)  
Old 04-27-2010, 07:32 PM
Member
 
Posts: 10
Default bump?

same issue here, any help would be great, thanks
Reply With Quote
  #5 (permalink)  
Old 04-28-2010, 07:16 AM
New Member
 
Posts: 4
Thumbs down

I set the treshold at 120% so I am no longer receiving email
Reply With Quote
  #6 (permalink)  
Old 04-28-2010, 12:41 PM
Member
 
Posts: 10
Default how?

Where can I change that?
Reply With Quote
  #7 (permalink)  
Old 04-28-2010, 10:43 PM
New Member
 
Posts: 4
Default

Quote:
my $DISK_CRIT_THRESHOLD = getLocalConfig("zmdisklog_critical_threshold") || 120;
my $DISK_WARN_THRESHOLD = getLocalConfig("zmdisklog_warn_threshold") || 110;
in /opt/zimbra/libexec/zmstat-df
Reply With Quote
  #8 (permalink)  
Old 11-22-2010, 12:58 AM
Advanced Member
 
Posts: 213
Default

Or, you can just use the zmlocalconfig variables:

Code:
zmlocalconfig -e zmdisklog_warn_threshold=95
zmlocalconfig -e zmdisklog_critical_threshold=99
zmstatctl stop
zmstatctl start
Of course, this just sets the thresholds for all disks. If you want to just disable monitoring for a partition, you can set a custom variable:
Code:
zmlocalconfig -e zmdisklog_ignore_disks="sdc1"
I just use the useful part of the mount point, no need for "/dev/", etc.

To ignore more than one partition, separate them by a pipe:
Code:
zmlocalconfig -e zmdisklog_ignore_disks="sda1|sdc1"
Then, to use the new variable, you modify zmstat-df. Comment out the my $DF line,
Code:
#my $DF = '/bin/df -k';
and substitute:
Code:
my $IGNORE_DISKS = getLocalConfig("zmdisklog_ignore_disks");
my $DF = "/bin/df -k | /bin/egrep -v \"$IGNORE_DISKS\"";
Then, stop/start stats:
Code:
zmstatctl stop
zmstatctl start
If you don't want to bother with the variable, you can just be explicit in zmstat-df:
Code:
my $DF = '/bin/df -k | /bin/egrep -v sdc1';
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.