Skip to main content

Trap Policy

Overview

The trap policy feature in Motadata AIOps enables effective monitoring and analysis of SNMP trap data, allowing proactive identification and resolution of network device issues. With trap policies, you can define rules and conditions to generate alerts based on trap data, ensuring smooth network operation and timely response to potential issues.

Use-Case

  • Network Device Monitoring: Configure trap policies to detect and alert on various SNMP trap events generated by network devices, such as link status changes, hardware failures, or configuration errors.

  • Performance Monitoring: Create trap policies to monitor network device performance metrics, including CPU utilization, memory usage, or interface bandwidth, enabling you to optimize device performance and prevent bottlenecks.

  • Fault Detection: Utilize trap policies to identify and alert on critical faults or abnormalities in network device behavior, helping you mitigate risks and maintain network reliability.

Create Trap Policy

Go to Menu, Select Settings . After that, Go to Policy Settings . Select Metric/Log/Flow/Trap policy. The list of the created policies is now displayed.

Click on to start creating a policy. From the panel on the left side of the screen, click on the Flow tab to start creating a metric policy. The screen to create a Flow Policy is now displayed.

Enter the details of the following parameters to create a Trap Policy:

FieldDescription
Policy NameEnter a unique name of the policy you want to create.
TagEnter a name to logically categorize the policy. You can quickly and easily identify a policy based on the tag assigned to it.

Set Conditions

FieldDescription
Trigger ConditionChoose the specific trap event you wish to create a policy for by selecting from the available options. This event will be the basis for monitoring and generating alerts.
OperatorSelect the operator that will be applied to the trap event values to define the triggering condition for the alert. Different operators such as equal to, not equal to, greater than, less than, etc., are available to provide flexibility in defining your alert conditions.
ValueSpecify the threshold value against which the trap event values will be compared. Once the trap event value meets the specified condition, an alert will be triggered.
Source FilterSource Host will be selected by default.
SourceSelect the specific Source Host for which you want to create the policy.

Filter Criteria

FieldDescription
CriteriasYou can choose the type of operation to be performed on inter-filters. Below is a gist of available options:

- ALL:When selected, this will ensure that filtering criteria defined in all of the defined filters is being met.

- ANY: When selected, this will ensure that filtering criteria of any ONE among the defined filters is met.

VarbindSelect a Varbind value using the dropdown menu.
OperatorChoose an operator as per requirement using the dropdown.
ValueEnter a numerical value which will be used for the filteration.
Critical/Major/WarningKindly use these fields to set the severity under which the alert will be triggered.
Supress ActionSwitch this Toggle button ON to supress the actions and notifications mapped to the policy. Once you switch this button ON and the alert is triggered, the action will be executed once and you will receive a single notification before the actions and notifications configured in the policy are supressed for the time-period specified in the field Supress Window.
Supress WindowSpecify the time-period for which you do not wish to execute the actions and receive the notifications mapped to policy. (Enter a numerical value and use the drop-down to choose a duration unit.)
Enable this option specify criteria for resolving the alert to a clear stateTurn on this toggle to define a criteria to resolve an alert to a clear state.
note

The following fields are only visible when the toggle is turned on.

FieldDescription
CriteriasYou can choose the type of operation to be performed on inter-filters. Below is a gist of available options:

- ALL:When selected, this will ensure that filtering criteria defined in all of the defined filters is being met.

- ANY: When selected, this will ensure that filtering criteria of any ONE among the defined filters is met.

VarbindSelect a Varbind value using the dropdown menu.
OperatorChoose an operator as per requirement using the dropdown.
ValueEnter a numerical value which will be used for the filteration.

Notify Team

FieldDescription
NotifyThere are two ways you can populate this field:
  • Username of registered user in MotadataAIOps (The alert notification will be sent over email and SMS to the mapped email address and phone number respectively).
  • Any email address (In case the recipient whom you wish to notify is not a registered user, you can enter an email address).
  • Play SoundActivate this toggle to enable sound notifications when an alert is triggered.
    If Severity isChoose the severity level at which the sound notification should be triggered. This option becomes visible only when the Play Sound toggle is switched ON.

    Take Action

    FieldDescription
    Action to be takenSelect a runbook from the dropdown to be executed when the alert is triggered.
    Create NewSelect this button to start creating a new runbook which you might want to assign to the policy you are creating.

    Select the Create Policy button to create the policy based on the details entered.

    Select the Reset button to erase all the current field values, if required.