Getting wrong warning about disk space

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
masoumeh
Posts: 15
Joined: Sun Nov 05, 2017 7:37 am

Getting wrong warning about disk space

Post by masoumeh »

I have 22G available disk space of 48G on one of my serve; But my admin user get some emails about reaching the threshold of disk usage:
Jul 21 09:40:33 ------ n[7619]: 7619:crit: Disk warning: ----------r: /dev/sda1 at 98%

I have belog log that is correct:
Jul 29 00:10:09 ---- zimbramon[2817042]: 2817042:info: zmstat df.csv: timestamp, path, disk, disk_use, disk_space, disk_pct_used:: 07/29/2018 00:10:09, /, /dev/sda1, 24309368, 49334064, 52

Why I get the warning and how to prevent it?
User avatar
JDunphy
Outstanding Member
Outstanding Member
Posts: 901
Joined: Fri Sep 12, 2014 11:18 pm
Location: Victoria, BC
ZCS/ZD Version: 9.0.0_P39 NETWORK Edition

Re: Getting wrong warning about disk space

Post by JDunphy »

masoumeh wrote:I have 22G available disk space of 48G on one of my serve; But my admin user get some emails about reaching the threshold of disk usage:
Jul 21 09:40:33 ------ n[7619]: 7619:crit: Disk warning: ----------r: /dev/sda1 at 98%

I have belog log that is correct:
Jul 29 00:10:09 ---- zimbramon[2817042]: 2817042:info: zmstat df.csv: timestamp, path, disk, disk_use, disk_space, disk_pct_used:: 07/29/2018 00:10:09, /, /dev/sda1, 24309368, 49334064, 52

Why I get the warning and how to prevent it?
You have some control over the threshold warnings and can increase the percentages until they don't fire.

Code: Select all

% su - zimbra
% zmlocalconfig |grep zmdisklog
zmdisklog_critical_threshold = 98
zmdisklog_warn_threshold = 95
% zmlocalconfig -e zmdisklog_warn_threshold=95
masoumeh
Posts: 15
Joined: Sun Nov 05, 2017 7:37 am

Re: Getting wrong warning about disk space

Post by masoumeh »

JDunphy wrote:
masoumeh wrote:I have 22G available disk space of 48G on one of my serve; But my admin user get some emails about reaching the threshold of disk usage:
Jul 21 09:40:33 ------ n[7619]: 7619:crit: Disk warning: ----------r: /dev/sda1 at 98%

I have belog log that is correct:
Jul 29 00:10:09 ---- zimbramon[2817042]: 2817042:info: zmstat df.csv: timestamp, path, disk, disk_use, disk_space, disk_pct_used:: 07/29/2018 00:10:09, /, /dev/sda1, 24309368, 49334064, 52

Why I get the warning and how to prevent it?
You have some control over the threshold warnings and can increase the percentages until they don't fire.

Code: Select all

% su - zimbra
% zmlocalconfig |grep zmdisklog
zmdisklog_critical_threshold = 98
zmdisklog_warn_threshold = 95
% zmlocalconfig -e zmdisklog_warn_threshold=95
The disk isn't full 95% yet! It's about 50%, but I get a warning about filling 98% and it is not correct at all
Post Reply