Disk Usage Alerts
This page describes how to get email alerts when disk usage exceeds a certain threshold.
By default disk usage alerting is not enabled.
Pre-requisites
Before you enable disk usage alerts you need to do two things.
Setup Email
Specify outgoing email server credentials. see Setup Email
Enable email alert delivery
Allow alert delivery via email see Email alert delivery
Edit Configuration Files
To enable disk alert threshold, you need to edit the hub and probe configuration files.
Setup Disk Usage Thresholds on Hub Node
Edit the trisulHubConfig.xml file and set the following parameters under SlicePolicy.
UsageRedMark
Represents the percent usage threshold of disk. Here it is shown to be 90.
Similarly set threshold values for all three storage areas, oper/ref/archive. You can set them all to the same value if they are mounted on the same storage volume.
<SlicePolicy>
<SliceWindow>DAILY</SliceWindow>
<Operational>
<SliceCount>32</SliceCount>
<UsageRedMark>90</UsageRedMark>
</Operational>
Setup Disk Usage Thresholds on Probe Node
Edit the trisulProbeConfig.xml file and set the following value.
UsageRedMark the disk percent threshold value for the probe node
<UsageRedMark>90</UsageRedMark>
Viewing Alerts
When disk usage crosses the thresholds set an “User Alert” will be generated.
Select Alerts → All Alerts -→ User Alerts
These alerts are also delivered instantly via E-mail.
A sample alert shows the current usage, the partition, the threshold usage and the directory root.
Figure: Showing a List of User Alerts