Applies to NAM 2018+
When creating a NAM alert, you can define a compound metric that is calculated based on other metrics.
For example, you could select
Client TCP data packets and
Server TCP data packets, and then define a compound metric called
Client and Server TCP data packets as the sum of the client and server metrics. You can then trigger your alert based on the calculated result (the compound metric). Let's walk through a definition for that alert.
Open the Alert configuration wizard to edit or create an alert, define the basic settings, and click Next.
On the Triggering and propagation page, in the Dimensions section, set a dimension such as
Analyzerwith a filter type of
In the Metrics section, add the
Client TCP data packetsand
Server TCP data packetsmetrics.
- Click Add metric to add a metric row as needed.
- Select a metric from the Metric list for that row.
Click Add compound metric
The Add compound metric edit box is displayed.
Give the compound metric a name. In this example, we are using
Client and Server TCP data packets.
Click in the edit box, press Ctrl+Shift to list available metrics, and select
Client TCP data packets.
Type the operator for your calculation, which in this case is
Press Ctrl+Shift again and select
Server TCP data packets.
Now you have the expression
<Client TCP data packets> + <Server TCP data packets>displayed in the edit box.Note
You do not need to select metrics from the list if you know the syntax and the exact names of the available metrics. You can instead type the metric names (enclosed in
>brackets) and the operator (
+in this example), but the lists will help you to avoid errors.
The new compound metric is listed in the Metrics section of your alert definition.
Add a relevant Filter to the alert.
For example, in the row for your new
Client and Server TCP data packetscompound metric, set Type to
Valueand Filter to
<10to trigger the alert if the value of your compound metric is calculated to be less than 10.
Click Next to go to the Notifications page, where a basic notification is already defined for you.
Click in the edit box to type any additional explanation needed to understand the alert.
For example, add a line to the notification text, press Ctrl+Shift to list available metrics, select your new compound metric, and then type
is less than 10. The line should look like:
<Client and Server TCP data packets> is less than 10.
If you have a recipient for the alert, select the recipient in the Alert recipients section.
Click Next to review the summary.
The Triggering and propagation section describes the conditions under which the alert will be sent. In this example, it should tell you that the alert will be raised when "Client and Server TCP data packets (
+ ) metric value <10".
Click Finish to save the alert.