Question
How to exclude mount points from cPanel's disk space monitoring
Answer
Some mount points, may be at 100% full at all times by design. cPanel's disk space monitoring will send notifications regarding disk usage by default, which may be triggered by these. Instead of disabling these notifications, you can instead exclude the mount points from being monitored.
- Login as the
rootuser via SSH, or using the Terminal in WHM. -
Edit the following file:
# nano /var/cpanel/chkservd_ignored_mounts
-
For each mount point that you want to ignore, add an entry to this file. For example, if the following was added:
CONFIG_TEXT: snap
tempbackupThis would ignore mounts such as the following:
CONFIG_TEXT: /var/lib/snapd/snap/snapd/1500
/var/lib/snapd/snap/snapd/310
/var/tempbackup/ -
Restart the
chkservdservice:# /scripts/restartsrv_chkservd
Comments
0 comments
Article is closed for comments.