Thresholds are the alerting mechanism for potential and actual problems with your managed
resources. Use the tutorial to learn the basic steps for defining a threshold to raise an
alarm when the condition occurs.
About this task
This tutorial uses the Linux OS agent for showing you how
to define a threshold in the Threshold Manager and
view the raised alarm in the Application Performance Dashboard. Your user
ID must have View permission for the Threshold Manager to
complete these steps.
Procedure
- From the navigation bar, click
.
- Click the Data Source Type list
box and select the Linux OS data type.
The
thresholds that were defined for the Linux OS agent are displayed
in the table.
- Click
New to open the Threshold
Editor for defining the threshold.
-
Define a threshold to raise an alarm of
Unknown severity when the average CPU is under 75%:
-
In the Name field, enter
CPU_average_below_75_percent.
-
In the Description field, enter Threshold
tutorial
-
Leave the Severity, Interval, and
Required consecutive samples fields at their default values.
-
In the Data set field, select KLZ CPU Averages.
-
In the Conditions field, click
New and add the comparison in the dialog box that pops up:
- In the Attribute field, select
CPU_Usage_Current_Average
- In the Operator field, select Less than
- In the Value field, enter 75
After you click OK, the attribute and comparison are displayed in
the Conditions field.
-
In the Group assignment field, select the Linux OS
system group.
-
Click Save to complete the definition and return to the
Threshold Manager page.
CPU_average_below_75_percent is displayed in the list of thresholds
that are defined for the Linux OS data source.
Results
You defined a threshold that raises an alarm when the average CPU usage on any of your Linux
OS managed systems is under 75%.
What to do next
- View the event:
- From the navigation bar, click
.
- In the My Components summary box, click the Events link.
- In the Events tab that opens, look for the
CPU_average_below_75_percent threshold in the list. It can take 1 or 2 minutes for
the alarm to be raised. If the CPU average is over 75 percent, however, no alarm is raised.
- Edit the threshold:
- From the navigation bar, click
.
- Click the Data Source Type list box and
select the Linux OS data type.
- Select the
CPU_average_below_75_percent threshold
from the list and click
Edit.
- Change any of the fields for a condition that you want to be alerted
of. For example, you might change Name to CPU_high_warning,
change Severity to Warning,
edit the condition to be Greater than 75, and add
a condition: Less than 95. To edit the comparison,
click
Edit,
change Operator to Greater than and
click OK. To add the new condition, leave the Logical
operator field at the default And (&),
click
New for
a new condition, select Operator Less
than, and enter Value 95.
- Review the predefined thresholds for your agents and adjust any
comparison values as needed for your environment.
- Create new thresholds to raise alarms on other conditions that
you want to be alerted of.