1. White Star Software
  2. Advanced Alerting Configuration

Disk Space Monitoring

Disk Space monitoring

Protop can monitor the free space available on your system.

Configuration steps

  1. Edit pt3agent.[*].cfg and add ‘df’ to ptInitDC

    df in ptInitDC

  2. Modify alert.[*].cfg to adjust the threshold

    disk mon alert cfg

  3. Restart the agent for the configuration changes to take effect by removing [PROTOPDIR]/tmp/pt3agent.[*].flg. The dbmonitor will restart the agent shortly.

 

To assign a different alert threshold to specific file systems, use the fsPctUsed_[ Mount name ] convention seen in etc/alert.[*].cfg:

# fsPctUsed_/home num > 95 "" "daily" "/home Disk space % &1 &2 &3" alert
# fsPctUsed_/db num > 80 "" "daily" "/db Disk space % &1 &2 &3" alert
# fsPctUsed_/bi num > 30 "" "daily" "/bi Disk space % &1 &2 &3" alert

*nix

Copy, uncomment and edit one of the above lines to your liking. In the examples above we've added the file system name to the alert message to distinguish it from other "Disk space" alerts generated by the default alert configuration entries:

fsPctUsed num > 90 "" "hourly" "Disk space % &1 &2 &3" alarm
fsPctUsed num > 86 "" "daily" "Disk space % &1 &2 &3" alert.

Windows

The Mount name is a unique string of numbers and letters that bears no resemblence to your Windows drive name. To see your Mount names, open ProTop RT and use the "D" command. You'll see something like this:

win disk free space

Your device name is to the right. The mount name is to the left. Given the Mount name in the image above (minus the ">"), your alert line might look something like:

fsPctUsed_8AD63CEA num > 80 "" "daily" "C: Disk space % &1 &2 &3" alert 

Notice the device name "C:" included in the alert message to distinguish this specific device from other volumes you might have mounted on your machine. They are monitored by the default alert configuration entries:

fsPctUsed num > 90 "" "hourly" "Disk space % &1 &2 &3" alarm
fsPctUsed num > 86 "" "daily" "Disk space % &1 &2 &3" alert