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? |