Plesk

Monitoring Disk Usage

Start or Stop Monitoring

To configure and start monitoring disk space usage:

  1. Go to Extensions > Watchdog > the Disks tab.

    All connected (mounted) devices will be listed.

  2. Specify the hard drive partitions that should be monitored and
    specify monitoring preferences:

    1. Click an icon near the partition you would like
      Watchdog to monitor.
    2. Click a partition or device name.
    3. In the Disk space usage threshold field, specify the amount of
      disk space that can be used without drawing your attention. When
      this threshold is reached, Watchdog will send you an alert and run
      the command you specified. You can specify the amount of disk
      space either in percentage from total amount or in measurement
      units: gigabytes, megabytes or kilobytes. We would recommend
      leaving the 80 % value selected.
    4. In the Files number threshold field, specify the number of
      files and directories that can be created on the server without
      drawing your attention. When this threshold is reached, Watchdog
      will send you an alert. You can specify a percent from the total
      amount or an exact number of files, if you know the total capacity
      of your file system: to find it out, log in as root to the server
      and run the command dumpe2fs <device name> from shell. We
      would recommend leaving the 80 % value selected.
    5. Specify the command that Watchdog will run when the specified disk
      space threshold is reached. This can be a command to run a disk
      space cleaning utility like a tmpwatch on RedHat Linux
      systems.
    6. Click OK.
    7. Repeat the procedure to configure monitoring for all the
      partitions you need.
  3. Once you have specified all partitions you would like Watchdog to
    monitor, click the Enable icon in the Tools group.

To stop monitoring…

Exit mobile version