Knowledge Base

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a low disk space alert based on both percentage and hard limit

Users can monitor all of the drives on their servers using the machine agent and receive alerts when drives have low disk space based on both a percentage and also a hard limit. 

 

Add a condition to check for a percentage of disk space in use

 

From the controller UI, click on the "Alert & Respond" tab.

   Screen Shot 2017-04-07 at 1.36.36 PM.png

 

Click on "Health Rules" in the left navigation bar.

 

Use the drop-down menu to select "Servers."

 

Screen Shot 2017-04-07 at 1.36.55 PM.png

 

Use the plus sign to create a new health rule.

 

Screen Shot 2017-04-07 at 1.37.14 PM.png

 

 

Select type "Node Health - Hardware, JVM, CLR (CPU, heap, disk I/O, etc)."

 

Tell the controller how many minutes of data to use when evaluating the health rule by entering a number. The following example uses 5 minutes of data. This will prevent a temporary process from triggering the alert.

 

Screenshot1.jpg

 

 

The health rule should affect all nodes within the machine agent tier.

 

Note: Failure to select "Machine Agent" from the list of selected tiers will result in multiple alerts per server for each tier.

 

Make the following selections (as shown in the screenshot below), then click the next button to continue.

  

Screenshot2.jpg

 

 

 Set up the percentage condition. In the following example, the health rule will send out a critical alert when the drive is over 90% full.

 

Screenshot3.jpg

 

 

Click the blue "Edit Expression" link to add a mathematical expression using declared variables.

 

In this example, the variables SpaceUsed and SpaceAvail have been created and are used in the following formula to create a percentage of disk space in use:  ({SpaceUsed} / ({SpaceAvail} + {SpaceUsed})) * 100 

 

Screenshot4.jpg

 

 

Add another condition to also check for a hard limit

 

In this example, the controller sends an alert when disk space drops below 5 GB (5000000).

 

Screenshot5.jpg

 

 

Notice in the above screenshots, the alerts are triggered only if all of the conditions have been met. This prevents false alerts. Users can select "Any" instead of "All" from the drop-down menu if they so choose.

 

Users need to create similar health rules for each drive used on their servers. The above example is specifically for the C: drive.

Version history
Revision #:
7 of 7
Last update:
‎06-23-2017 09:48 AM
Updated by:
 
Labels (1)


Found this article helpful? Click the Thumbs Up button.
Have an additional comment? Post it below.
0 Kudos