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 04-27-2010, 10:11 AM
Active Member
 
Posts: 39
Default Disk warning thresholds and notification frequency

Having read several threads on this topic, I do not see answers for v6.0.5.

Zimbra crontab has the zmdisklog line commented out, so I think that the notification frequency must be set elsewhere. There are no disk threshold settings in the output of zmlocalconfig, and /opt/zimbra/libexec/zmstat-df doesn't look wise to edit.

How does one find & modify these settings in v6.0.x?
Reply With Quote
  #2 (permalink)  
Old 04-27-2010, 10:39 AM
y@w y@w is offline
Moderator
 
Posts: 658
Default

Looks like the interval is set using the zmstat_disk_interval using zmlocalconfig.

It also looks like the thresholds were set by adding a couple of properties to zmlocalconfig in ZCS 5.x. Not sure if it's the same in 6.x. http://www.zimbra.com/forums/adminis...n-t-reset.html
__________________
What a n00b!
Reply With Quote
  #3 (permalink)  
Old 04-27-2010, 12:15 PM
Active Member
 
Posts: 39
Default

I reset the disk threshold via zmlocalconfig to get hourly notification:

zmlocalconfig -e zmstat_disk_interval=3600 (was 600, I want 1 notification per hour instead of 1 per 10 minutes)

Following maumar's admonition on downtime in the linked post,, I followed his instructions for stopping and restarting zmstat. I got:

[zimbra@zimbra libexec]$ Illegal modulus zero at /opt/zimbra/zimbramon/lib/Zimbra/Mon/Zmstat.pm line 134.

[1]+ Exit 25 /usr/bin/perl -w /opt/zimbra/libexec/zmstat-df

The line referenced is in this block:

128 sub waitUntilNiceRoundSecond($) {
129 my $interval = shift;
130 $interval %= 3600;
131 while (1) {
132 my ($sec, $min) = localtime();
133 my $t = $min * 60 + $sec;
134 my $howlong = $t % $interval;
135 last if ($howlong == 0);
136 select(undef, undef, undef, 0.05);
137 }
138 return time;
139 }

What now?
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


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.