Bobcares

Zabbix Free Disk Space Is Less Than 20 On Volume – Let’s fix it

by | Feb 20, 2020

Oops!! Frustrated with Zabbix free disk space is less than 20 on volume alert?

Monitoring systems like the Zabbix gives this alert when server disk space usage crosses 80%.

High disk space usage eventually can affect the working of mail services, database servers, etc.

That’s why at Bobcares, we get emergency requests regarding Zabbix disk space alerts, as a part of our Server Management Services.

Today, we’ll see how our Support Engineers act upon the Zabbix alert for our customers.

 

What is this Zabbix Free Disk Space Is Less Than 20 On Volume alert?

In general, Zabbix greatly helps in monitoring the servers. Zabbix triggers alerts to indicate upcoming problems on the server.

One such alert is this free disk space less alert.

The trigger gives this alert when the disk space is less than 20%  on the volume. Here, the Zabbix allows customization on the threshold at which the system triggers the alert.

Moreover, based on the purpose of the server, we see some customers set it at even low values like 10%. A snippet of Zabbix dashboard with such alerts show up as:

zabbix_free_disk_space_is_less

Low free disk space is a critical alert on the server. This is because, when the server is running out of disk space, all disk writes fail. This means it cannot fetch emails, updated databases, etc. This, in turn, causes mail failure, website down, etc.

In such situations, we firstly find out what is consuming the disk space and take action accordingly.

Let’s see how our Engineers found a fix for this Zabbix message.

 

How do we fix disk space?

From our expertise in managing servers, we see many reasons for high server disk space usage. This can be large logs, huge website content, backup files, etc.

Let’s now check the top causes for high disk usage.

 

1. Large log files

In many cases, large log files cause a free disk space shortage in servers.

Recently, one of our customers approached us saying that he was getting an alert “Free disk space is less than 20% on volume /” in his Zabbix.

So, our Engineers checked in detail and found that 86% of the filesystem mounted on / was already used. Only 2.8G out of 20G was remaining and that’s why Zabbix triggered such an alert.

Zabbix Free Disk Space Is Less Than 20 On Volume

Next, we searched for what is consuming that much space. And our search reached the access log. We found that the size of access logs was really high and those are consuming 80% of disk space.

Apache access logs were taking more space, especially one of the old access logs that had a size of 5.6GB.

Our Dedicated Engineers did a deeper dig for finding a solution for this and they finally found a misconfiguration in log rotation.

In Linux, all the logs are noted, compressed and rotated by logrotate utility. It is a log file manager.

So, we had to tweak the delaycompress parameter in the corresponding file under /etc/logrotate.d. This fixed the problem.

 

2. Big Home directory

Likewise, a big home directory of the user can also create a disk space problem in the server. Website users tend to save too much content on their servers, large backups, old emails, etc. As a result, server disk space usage goes high.

That’s why our Dedicated Engineers periodically audit the servers for disk space usage. Additionally, we set up Zabbix alerts to monitor disk space triggers.

 

3. Installation Left-overs

Similarly, we often see bad software installation practices also shoot up server disk space usage. Major triggers here include not removing failed install files, keeping partially restored backups, multiple old backups, and many more.

Therefore, we always make sure to check for such files on the triggering of disk space usage alert.

 

[Having trouble in fixing Zabbix errors? – Our Experts are available 24/7.]

 

Conclusion

In short, we discussed the reasons for Zabbix Free Disk Space Is Less Than 20% On Volume alert and saw how our Support Engineers resolve it for our customers.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF