Results 1 to 3 of 3

Thread: Disk warning thresholds and notification frequency

  1. #1
    Join Date
    Oct 2007
    Location
    Santa Rosa. CA
    Posts
    40
    Rep Power
    8

    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?

  2. #2
    Join Date
    Jan 2008
    Posts
    658
    Rep Power
    8

    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

  3. #3
    Join Date
    Oct 2007
    Location
    Santa Rosa. CA
    Posts
    40
    Rep Power
    8

    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?

Posting Permissions

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