System Disk Warnings
About a month or so ago we stopped receiving system disk warnings from all of our cPanel servers. The email setup is correct and I am receiving other emails from cPanel just not the disk warnings.
Under tweak settings "System disk space usage warnings" is turned on. I am guessing an update or something changed but I can't seem to find what.
Any ideas?
Eric
-
Hello, Do you notice any entries for the notifications in /var/log/exim_mainlog? Have you tried enabling and disabling the notification configuration in "Tweak Settings"? Thank you. 0 -
Nothing to note in the exim logs. As I mentioned I am getting other emails from like account adds, deletes, etc so I am confident that is working. I will try disabling and re-enabling this setting and see what it does. I was just surprised to see the /home partition on a couple servers over 85% and I've not seen any warnings. Once I make this change, how long should it take to get a notifcation? I assume it runs a few times a day from cron? Eric 0 -
I will try disabling and re-enabling this setting and see what it does. I was just surprised to see the /home partition on a couple servers over 85% and I've not seen any warnings.
What do you have configured for "Account system disk usage "warn" percentage" and "Account system disk usage "critical" percentage" under the "Notifications" tab in "Tweak Settings"? Thank you.0 -
They are both set to the defaults which are 82.55% and 92.55%. Eric 0 -
You can manually run the following command to run the quota check script to see if it's working as expected (assuming your disk space usage is above the threshold): /usr/local/cpanel/scripts/quotacheck
Thank you.0 -
Doesn't that just check the account quotas? To be clear the emails I am missing are for the disk partitions not individual account quota emails although those may not be working either. Eric 0 -
Hello, The email generated for the system disk space notifications comes from Chkservd. Try running the following command: /scripts/restartsrv_tailwatchd && tail -f /var/log/chkservd.log
It will run through and output the results of "Disk Check". Thank you.0 -
Perhaps this is the issue. The log file shows 81.06% usage. tail /var/log/chkservd.log [2015-05-07 13:11:40 -0400] Disk check .... /dev/mapper/vg_serverx-lv_root (/) [81.06%] ... /dev/mapper/vg_serverx-lv_tmp (/tmp) [2.32%] ... /dev/vda1 (/boot) [15.81%] ... {status:ok} ... Done
However a df on the filesystem shows something different.df -h . Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_serverx-lv_root 480G 389G 67G 86% /
Why would there be a 5% difference between the two? Eric0 -
Hello, Is it possible there are processes running with open files that have since been deleted? A system reboot is often a quick way to ensure any processes running with deleted files are closed. Thank you. 0
Please sign in to leave a comment.
Comments
9 comments