VuNet Docs

Configuration > Alert Creation

Alert Creation

The following guide explains the whole workflow and you can configure the steps between Simple, Compound, and Programmable Alerts.

Accessing Alerts

You can create as many alert rules as needed in vuSmartMaps. 

The system will periodically evaluate these alerts and generate alert notifications when the conditions are evaluated to True. These alert notifications are sent through the configured channels for each alert and send notifications when the conditions are met.

vuSmartMaps Alerts can be accessed by navigating from the left navigation menu (Configure Observability > Alerts).

  • Name – The name of an Alert Rule. 
  • Description – The description of the Alert Rule.
  • Status– Describes whether the alert is Enabled or Disabled.
  • Created By – The information on the user who created the Alert Rule.
  • Created At – The information on the date and time when the Alert Rule was created. 
  • Modified By – The information on the user who modified the Alert Rule recently. 
  • Modified At – The information on the date and time when an Alert Rule recently was modified. 

Simple Alert Creation

You can set up a Simple Alert by entering the Basic Details and configuring a single Data Model.

To create a new alert rule, click the ‘+’ button and follow the steps below.

Step 1: Basic details

Use this section to configure the descriptive contents of the notifications generated based on this alert.

  • Summary: Contents filled in here will be used as the subject field in the notification email generated and the summary field in the notification document.
    • Example: “Link Status Down”, “CPU Usage High”
  • Description: Contents filled here will be present in the description field of the notification generated. It is recommended to use this field to give a detailed explanation of the alert and recommended corrective steps and best practices
    • Example: “This server is experiencing heavy load for an extended period. Please check the services/processes in the system. You might want to terminate any unwanted services running. If the condition persists, you might want to consider increasing the CPU/Memory resources allocated to the server.

💡Note: Portions of Summary and Description fields can be dynamically formed using contents from the actual alert document. Use the format specifiers for this purpose. For example, configuring Summary as “Server CPU usage is now %m for %G” will result in an alert notification to contain summary as “Server CPU usage is now 76% for host:1.1.1.1”

Supported format specifiers are:

  • %G – Add Group by parameters and their values Example: “Alert observed for %G” will result in “Alert observed for process:apache of host:micmac”
  • %g – Add only Group by parameter values. Example: “Alert observed for %g” will result in “Alert observed for apache of micmac”
  • %M – Monitoring parameters along with its values. Example: “Monitoring parameter %M” will result in “Monitoring parameter cpu_usage:18.2”
  • %m – Only monitoring parameter values. Example: “Monitoring parameter value observed=%m” will result in “Monitoring parameter value observed=18.2”
  • %S – Add severity information. Example: “%S: CPU Usage High” will result in “Critical: CPU Usage High”

Step 2: Data Models to be alerted on

vuSmartMaps allows users to model their data using a Data Modelling workspace which can then be used for alerting. You can configure one or multiple data models and convert any business logic to alerts.

Select a Data Model from the list based on the requirement and the time for which the Data Model is to be evaluated.

  • R1 or Rule Name: Provide a name for your alert rule.
  • Data Model: Enlists all the available Data Models. You can choose one of them as per your requirements. Click on the + New Data Model button to create a fresh Data Model.
  • Get Data Model for the last: Choose the time slot as required from minutes through years.
  • Preview: The Preview Data Model shows a snapshot of the data contained within the Data Model for last 15 mins
  • Metric, Duration, Threshold: For the selected Data Model, select the ‘Metric’ against a threshold value. You can use the Data Model Threshold by default. You can manually set up the threshold but it overrides what is configured in the Data Model.
  • + New Data Model: To add a new Data Model, click on ‘+ New Data Model. It will take you to the Data Modelling Workspace for creating a new Data Model.
  • Information Collection: When a rule is marked as Information Collection, the results of the rule are not used to decide whether a notification should be generated.
    • Instead, if a notification is generated based on other rule conditions, data from this rule is included in the notification. For example, this can be used to include Top processes consuming CPU when a notification is generated for system CPU usage above the threshold rule.
    • The first rule is always used for generating notifications, hence the ‘Info Collection Only’ option is hidden for this. However, for other rules, you can mark it as per your requirement.
    • Please note that the values from the information rule are available in the evaluation script as well and can be used in business logic implementation.

Compound Alert Creation

Include the previous steps from Simple Alert Creation, that is, Basic Information and Data Models and continue to configure Logic Conditions explained further.

When using multiple rules, here’s what to keep in mind:

  • The buckets in the first rule should also be in the second rule.
  • The second rule can have additional buckets, and the third rule should include all the buckets from the second rule.
  • When creating Data Models, ensure the order of the buckets is the same.
  • Alerts will only be executed when all the rules are true; otherwise, the alerts won’t trigger.
  • Rules that don’t have ‘Info collection only’ checked participate in the alert decision and if there is no logic condition or evaluation script created, all alert rules should be evaluated to True to generate the alert notification.

Example: This alert fires when too many HTTP requests (>3%) with a response status between 400 and 599.

Step 3: Logic Conditions (optional)

Alert notification behavior and notification contents can be modified using the conditions specified here. For example, based on the value of a metric (Metric Condition), you can decide on the email recipients for a notification.

Based on the metric condition, duration, and/or severity of the alert, three types of controls are possible:

  • Decide whether an alert notification should be generated
  • Modify the contents of the notification
  • Modify the notification channels to be used and individual recipients within the channel

  • C1 or Condition Name: Optional name for the logic condition. This can be configured to represent the purpose of this block.
  • Match all the following conditions: When selected, actions configured in this block are executed by the system, if all the conditions specified here are satisfied.
  • Match any of the following conditions: When selected, actions configured in this block are executed by the system, if one of the conditions specified here is satisfied.
  • Generate Alert on Match (toggle): If it is enabled then the alert notification is generated when either one condition is True, or all conditions are True.
  • Alert Content: The actions listed here are used to modify, remove, or add fields in the notification. This will only occur if the alert engine triggers the alert using the conditions in this block.
  • Alert Destination: Modifications listed here will be applied to the notification channels and recipients.

The evaluation conditions configured here are executed from top to bottom. The system stops the execution as soon as a condition matches. There are 3 kinds of conditions available in the logical blocks.

  • Duration: This is the time duration for which the alarm has been active. This condition returns True if the duration alert has been active is greater than the value configured here.
  • Severity: This returns True if the severity of the alert notification is equal to or more than the one configured by the user. Severity is categorized as Critical > Error > Warning > Information with ‘Critical’ being more severe and ‘Information’ being the least.
  • Metric Condition: This is a combination of one or more conditions based on the data models specified by the users in the Rule section. Only the Data models specified in the Rule section can be used here. All the metric conditions have an AND relationship among them.

💡Note: All three conditions can have an AND or OR relationship among them based on the Match all the following conditions or Match any of the following conditions flags.

Alert Evaluation Conditions:

In some cases, you might need more control over how your alert rule behaves beyond the basic settings like thresholds and alert channels. This is where alert evaluation conditions come in.

For example:

  • Your base alert rule for monitoring transaction failures notifies the operator in charge. But if the issue persists, you might want to notify a larger team or follow an escalation process.
  • If the transaction failure rate exceeds a certain value, you might want to add a special tag to the notification for highlighting in dashboards.

You can configure these additional conditions, as shown in the snapshot below.

As can be seen in the screenshot, the user can configure

  • A list of condition blocks
  • Each condition block has a list of conditions section and actions section.
    • A list of comparison rules. A condition block is selected if the list of comparison rules is matched when executing an alert rule
    • Actions to take when the condition block is matched. There are 3 separate controls available.
      • Whether to generate or notification for this case
      • Update notification channels and recipients
      • Add, remove, or modify contents in the notification

💡Note: Evaluation conditions are like a set of rules that the system checks one by one. It starts at the top and goes through each rule. When it finds a rule that matches the current situation, it stops checking further rules and takes the actions specified in that rule.

In other words, the first matching rule in the list is the one that counts, and the system won’t bother with the rest once it finds a match.

Common Use Cases: These options give you a lot of flexibility in how you set up your alerts. We’ll explore these features in more detail here.

Programmable Alert Creation

Include the previous steps from Simple Alert Creation and Compound Alert Creation, that is, Basic Information, Data Models and Logic Conditions, and continue configuring the Evaluation Script and Alert Controls as explained further.

Step 4: Evaluation Script (Optional)

vuSmartMaps lets you use Python scripts to create programmable alerts. Using an evaluation script, you can generate alerts for breaching any business logic. Below is a typical alert engine execution workflow and where the evaluation script is used.

The evolution script runs after metrics are checked and thresholds are applied, allowing you to customize alert behavior. Apart from implementing business logic to generate the alert, you can also tweak alert notification content and channel settings like who gets notified.

In simple terms, the Python script lets you create detailed and specific alert conditions that fit your needs. You can write this script in the “Evaluation Script” section.

In the evaluation script, you can do the following:

  • Set Custom Conditions: You can implement complex conditions using programming logic to determine if the alert should be generated. For instance, you can have different thresholds for “Development” systems or dynamically adjust the threshold based on server type, location, and deviation.
  • Control Notifications: Decide which notification channels to use and who should receive notifications. For example, you can send an email to an escalation team if the alarm condition persists for more than 4 hours.
  • Customize Notification content: Modify notification content and add extra information. You can include dynamic action recommendations based on metrics and their values.

Example: Adding New Fields using Evaluation Script

You can add new fields to the notifications generated by the system using the evaluation script. 

For instance, if you need to include a new field or category with values based on the transaction success rate metric, you can achieve this with the following script snippet.

success_rate = get_DM_value(D, 1, ‘Success Rate’)

if success_rate and success_rate > 90: 

    DYNAMIC_FIELDS[‘category’] = ‘Normal’

else:

    DYNAMIC_FIELDS[‘category’] = ‘Need Investigation’

RESULT = True

As can be seen, any field to be added to the notification generated can be specified in the DYNAMIC_FIELDS dictionary with the corresponding key and value.

Common Use Cases: These options give you a lot of flexibility in how you set up your alerts. We’ll explore these features in more detail here.

💡Note: The programming interface is supported exclusively using Python Language.

Step 5. Alert Controls

In this step, you can set up how alert notifications work for this rule. You can configure notification channels, and recipients, enable or disable alarm mode, and control the intervals for active alert rule notifications.

  • Evaluate the Alert Rule: These settings allow you to tell the system how frequently this alert rule should be executed. If this alert is critical and you want to generate this faster, you can reduce this to a minimum of 1 minute.
  • Enable Alarm Mode
    • When activated, the system monitors the alarm state, sending notifications when the alert condition is met and when it’s cleared. No additional notifications are sent while the condition remains active. For example, when the queue size exceeds 80%, an active alarm notification is sent, but no more are sent while the queue size is above the threshold. When it drops below 80%, a clear notification is sent.
    • When disabled, notifications are generated at regular intervals as decided in the ‘Evaluate the Alert Rule’. In this case, the system does not track the state of the alert and no clear notifications will be generated.
  • Throttling: Throttling is only active when alarm mode is turned off. If the throttle is disabled, alerts will start firing as and when they are created.
    • When throttling is enabled, the system stops sending notifications for a particular condition for the configured interval. 
    • For example, for a CPU utilization alert, if the throttling interval is configured as 2 hours, a CPU usage high alert for a particular server will be notified a second time only after 2 hours from the first notification. 
    • This configuration would be useful to avoid repeated notifications when alarm mode is disabled.
  • Enable Alerts during: This configuration is handy for avoiding notifications during periods of lower activity, such as weekends or non-business hours, ensuring that you only receive notifications when it’s most relevant.

    💡Note: You can specify an alert’s active period to prevent it from triggering alerts during planned maintenance activities. During this period, the rule won’t generate alert notifications, but you can still access them in the Events section for reference.
  • Advanced Configuration: Experts configure the more advanced settings. This is sometimes also used by the Software development team to extend Alert functionality without changing the User Interface.
    • You can use the Advanced Configuration for adding new functionalities to alert rules through a YAML interface. It’s a way to configure features that may not be available through the regular menu options.  For instance, you can configure the alert notification level using this interface by specifying it in the advanced configuration text area.
      notification_level: 0 
    • Related Dashboards: To configure Related-dashboards of an alert, use the YAML configuration as shown below.
    • Tags: –To add tags during Alert configuration, enable the Advanced Configuration section and use a YAML script like the one shown in the attached snapshot below.

Common Configuration for all types of Alerts

Step 6. Alert Channels

Use this section to control the alert notification channels.

  • SMS: The system notifies users through SMS. A list of SMS identifiers of recipients or an SMS group corresponding to the recipients is to be configured here. The system uses a predefined SMS format for notifications. The same can be overridden using “SMS Body”.

    Sample SMS – CPU Utilization for Host_Name:IHYDIBMPF-C1B5-CL6, Touch_Point: xMobile  #DAQ  #Server Health. The severity of Alert – Warning In case a custom alert message is required, it can be configured using the alert format string as shown below.Sample SMS – vuSmartMaps Alert APP – UPI KPI-Technical Decline TH:0.5% ACT – 0.52 % Details – FailedAt: XYZ RespCode: U48 AlertTime: 22.06.2020 08:35:33 IST ActiveSince: 12 Hour(s) and 30 min(s) Past Incidents Today – 7 incident(s) spanning 45 Min(s)💡Note: The alert document contents can be seen on the search page by selecting the notification index. The alert document lists the full set of fields that can be included in the SMS message using the placeholder string format defined above.

    Some examples of the fields that users can use in alert messages are – 
    • Header Section
    • {{header>Alert-Rule-Name}} – Name of the alert
    • {{header>severity}}  – Severity of the Alert
    • {{header>summary}} – Summary of the alert
    • {{header>type}} – Alert Type
    • {{header>description}}  – Alert description
    • {{header>duration}} – Duration of the alert alarm
    • {{header>start_time}}  – Time at which the alert started
    • {{header>@timestamp}}  – Time at which the current alert got triggered
    • {{header>tags}} – Tags attached to the alert
    • History Section
    • {{History>Today}}  – Information about past incidents today
    • {{History>Last 7 Days}}  – Information about past incidents in last 7 days
    • {{History>Last 1 Month}}  – Information about past incidents in the last month
    • Rule Metrics
    • {{R1>M1}} – A formatted value of the first metric of the first rule 
    • {{R1>M1>average_rtt}} – If there are any additional fields in any metric, they can be accessed this way.
    • {{R2>Information[1]>M1}} – If the rule is an Information rule, users can access metric data in such a way. In this example, the user is accessing the Top value of the first metric from the second rule which is an information rule behind the scenes of SMS Alert Channel.

    💡Note: To use SMS as an alert notification channel, you need to activate SMS APIs and SMS Gateways in your vuSmartMaps installation. Please reach out to our support team for detailed information on this process.


  • Email: The system notifies users through email. A list of email identifiers of recipients or an email group corresponding to the recipients is to be configured here.Email identifiers and email group names are specified as a comma-separated list. Please refer to the email groups sections to understand how to conFig email groups.

The system uses a predefined email format for notifications. A sample email notification is shown below.

The default notification email format used by the system can be replaced with a user-configured static text.

  • WhatsApp: The vuSmartMaps platform can notify users through WhatsApp. Recipient phone numbers are to be configured here.
    • Mobile Number:  Enter the phone numbers with the country code. Each mobile number must be separated by commas.
    • Mobile Group: Select the  WhatsApp groups from the dropdown. These are configured in the definition section under settings.


  • Slack: The vuSmartMaps platform can notify users through Slack Channels. Recipient Slack Channels are to be configured here.


    • Slack Users: Enter Slack User IDs by separating them with commas.
    • Slack Groups: Enter Slack Channel IDs or names by separating them with commas. 
    • Slack Message Body: Add content that needs to be sent as a message. Eg: Alert_Name: {{Alert-Rule-Name}} and Severity: {{severity}}. The variables inside the brackets will be substituted with values in real-time.
    • Some examples of the fields that users can use in alert messages are – 
      • Header Section
      • {{header>Alert-Rule-Name}} – Name of the alert
      • {{header>severity}}  – Severity of the Alert
      • {{header>summary}} – Summary of the alert
      • {{header>type}} – Alert Type
      • {{header>description}}  – Alert description
      • {{header>duration}} – Duration of the alert alarm
      • {{header>start_time}}  – Time at which the alert started
      • {{header>@timestamp}}  – Time at which the current alert got triggered
      • {{header>tags}} – Tags attached to the alert
      • History Section
      • {{History>Today}}  – Information about past incidents today
      • {{History>Last 7 Days}}  – Information about past incidents in last 7 days
      • {{History>Last 1 Month}}  – Information about past incidents in the last month
      • Rule Metrics
      • {{R1>M1}} – A formatted value of the first metric of the first rule 
      • {{R1>M1>average_rtt}} – If there are any additional fields in any metric, they can be accessed this way.
      • {{R2>Information[1]>M1}} – If the rule is an Information rule, users can access metric data in such a way. In this example, the user is accessing the Top value of the first metric from the second rule which is an information rule behind the scenes of Slack Alert Channel.

      💡Note: The use of Slack as an alert notification requires a special activation in the vuSmartMaps installation to enable Business APIs for Slack. Please contact the support team for more details on this.

  • Microsoft Teams: The vuSmartMaps platform can notify users through Teams Channels. Recipient Teams groups are to be configured here.


    • MS Teams Groups: Enter Teams Channel/Group or names by separating them with commas. The channels that are configured in the Preference Section must be entered here.
    • MS Teams Message Body: Add content that needs to be sent as a message. Eg: Alert_Name: {{Alert-Rule-Name}} and Severity: {{severity}}. The variable inside the brackets will be substituted with values in real-time. 
    • Some examples of the field that users can use in alert messages are – 
      • Header Section
      • {{header>Alert-Rule-Name}} – Name of the alert
      • {{header>severity}}  – Severity of the Alert
      • {{header>summary}} – Summary of the alert
      • {{header>type}} – Alert Type
      • {{header>description}}  – Alert description
      • {{header>duration}} – Duration of the alert alarm
      • {{header>start_time}}  – Time at which the alert started
      • {{header>@timestamp}}  – Time at which the current alert got triggered
      • {{header>tags}} – Tags attached to the alert
      • History Section
      • {{History>Today}}  – Information about past incidents today
      • {{History>Last 7 Days}}  – Information about past incidents in last 7 days
      • {{History>Last 1 Month}}  – Information about past incidents in the last month
      • Rule Metrics
      • {{R1>M1}} – A formatted value of the first metric of the first rule 
      • {{R1>M1>average_rtt}} – If there are any additional fields in any metric, they can be accessed this way.
      • {{R2>Information[1]>M1}} – If the rule is an Information rule, users can access metric data in such a way. In this example, the user is accessing the Top value of the first metric from the second rule which is an information rule behind the scenes of Microsoft Teams Alert Channel.

      💡Note: The use of Microsoft Teams as an alert notification requires a special activation in the vuSmartMaps installation to enable Business APIs for Microsoft Teams. Please contact the support team for more details on this.

Tickets 

This section is useful for configuring Settings for vuSmartMaps to integrate with the ITSM system. This will be used to open tickets based on alert conditions and collect details of tickets present in the ITSM system.

Add content that needs to be sent as a message. Use “{{field_name_from_alert_doc}}”  as a variable inside content which can be substituted with a corresponding value. Eg: Alert_Name: {{Alert-Rule-Name}} and Severity: {{severity}}. The variable inside the brackets will be substituted with values in real-time.

Automation

Runbook Automation: You can attach your alerts to the Runbook automation scripts. The system invokes the configured scripts when the alert condition turns active.


For instance, in a rule monitoring router interfaces, you can configure a script to bounce (restart) an interface when it goes Down.

The script can use information from the alert notification and configuration to make decisions. Below is a sample script template.

 

if __name__ == “__main__”:

    try:

        opts, args = getopt.getopt(sys.argv[1:], “”, [])

    except getopt.GetoptError:

        sys.exit(1)

    # Collecting arguments

    alert_document = json.loads(args[0])

    alert_configuration = json.loads(args[1])

    mobile_number = alert_configuration.get(‘mobile_sms’, None)

    sms_content = alert_configuration.get(‘sms_content’, None)

    print(mobile_number)

    sms_list = _prepare_sms_body(

        alert_document, alert_configuration, mobile_number, sms_content)

 

A typical alert document passed to the script is shown below:

{

    “History”: {

      “Today”: {

        “Event Count”: 19,

        “Active For”: 26745.087917

      },

      “Last 7 Days”: {

        “Event Count”: 78,

        “Active For”: 211002.844929

      },

      “Last 1 Month”: {

        “Event Count”: 238,

        “Active For”: 1702128.547532

      }

    },

    “Alert-Rule-Evalution-Duration”: “12 Minutes”,

    “duration”: 300,

    “alert_id”: “3275183”,

    “timestamp”: “2020-06-14 06:21:51”,

    “R1”: {

      “name”: “BMV For Server CPU Utilization R1”,

      “M1”: {

        “value_for_eval_duration”: “0.8537999987602234”,

        “matched_threshold”: “> 0.01”,

        “field”: “system.cpu.total.norm.pct”,

        “color”: “#05a608”,

        “insights”: “Looks all fine”,

        “label”: “SYSTEM.CPU.TOTAL.NORM.PCT”,

        “formatted_value_for_eval_duration”: “85.38%”,

        “type”: “number”

      },

      “status”: “Available”

    },

    “severity”: “warning”,

    “summary”: “CPU Utilization for target:10.121.9.56”,

    “alarm_state”: “Alarm New”,

    “Alert-Rule-Name”: “Server CPU Utilization”,

    “group_values”: “10.121.9.56”,

    “target”: “10.121.9.56”,

    “tags”: [

      “Server Health”,

      “10.121.9.56”,

      “DAQ”

    ],

    “start_time”: “2020-06-14T06:16:51.000Z”,

    “Type”: “CPU Utilization”,

    “@timestamp”: “2020-06-14T06:21:51.000Z”,

    “group_label”: “Server CPU Utilization 10.121.9.56”,

  }

 

A typical alert configuration is passed to the script is shown below:

{

   “enableAlert”: true,

   “enableThrottle”: true,

   “alertByReport”: false,

   “activeStartTime”: “00:00:00”,

   “alertEmailBody”: “”,

   “alertByTicket”: false,

   “severity”: “warning”,

   “advancedConfiguration”: “\”tags\”:\n  – \”Server Health\””,

   “throttleDuration”: 2,

   “description”: “Process Memory Utilization for %g is %m”,

   “alertReportList”: “[]”,

   “enable_ansible_playbook”: false,

   “ansible_playbook_name”: “”,

   “summary”: “Process Memory Utilization”,

   “throttleDurationType”: “hour”,

   “alertEmailId”: “”,

   “enable_runbook_automation”: false,

   “activeAlertCheck”: “”,

   “alertEmailGroup”: “”,

   “runbook_script”: “”,

   “alertByEmail”: false,

   “ansible_playbook_options”: “”,

   “ruleLevelThreshold”: “”,

   “title”: “Server Process Memory Utilization”

}

 

Script Placement

Once you’ve written your runbook script, place it in the specified location on the shipper, and then restart the alert container.

  • /data/configs/vunet-scripts

Example 2:

import smtplib

import getopt

import sys

import json

if __name__ == “__main__”:

   try:

       opts, args = getopt.getopt(sys.argv[1:], “”, [])

   except getopt.GetoptError:

       sys.exit(1)

   # Collecting arguments

   alert_document = json.loads(args[0])

   alert_configuration = json.loads(args[1])

   alarm_state = alert_document.get(“alarm_state”)

   alert_id = alert_document.get(“alert_id”)

   alert_name = alert_document.get(“Alert-Rule-Name”)

   if alarm_state != “Alarm New”:

       sys.exit(1)

   # create a server instance

   server = smtplib.SMTP(“smtp.example.com”, 587)

   # start server connection

   server.starttls()

   # login using username and password

   server.login([email protected], “password”)

   # create message

   msg = (

       “Hello, this is a test email for an alarm new “

       + f“notification for alert {alert_name} with alert id {alert_id}

   )

   # send message

   server.sendmail([email protected], [email protected], msg)

   # end server connection

   server.quit()

   sys.exit(1)

Reports

Generate a report when the alert condition turns active. The report is sent out over email to the email recipients configured in the report.

Manage Alerts

Users can create any number of alert rules in vuSmartMaps. The system will evaluate all configured alert rules at regular intervals and track the alarm state corresponding to each.

The saved alert rules in the system can be viewed or modified by users who have appropriate access permissions for individual saved rules.

Listing Alert Rules Configured

To view existing alert rules, simply click the Alerts button under the Explore section situated on the right side of the Home page.

  • Name – The name of an Alert Rule. 
  • Description – The description of the Alert Rule.
  • Status– Describes whether the alert is Enabled or Disabled.
  • Created By – The information on the user who created the Alert Rule.
  • Created At – The information on the date and time when the Alert Rule was created. 
  • Modified By – The information on the user who modified the Alert Rule recently. 
  • Modified At – The information on the date and time when an Alert Rule recently was modified. 

Edit: Click on the Edit Button under the Actions column to view or edit the respective Alert Rule. 

Delete: Click on the Delete Button under the Actions column to delete the respective Alert Rule. 

Multi Delete: Select one or more Alert Rules and click the Delete button at the top right.

Permissions

Now, You can click on Permissions to manage Object Level Permissions in the Alert Rule.

The screen will look like this.

For every role, you can attribute 3 types of permission.

  • None: There are no permissions given.
  • View: The selected user can only view the Alert Rule.
  • Modify: The selected can also modify and make changes to the Alert Rule.

Edit: Click on this to edit the Alert Rule.

Clone: Click on this to replicate the current Alert Rule. This is the easiest and quickest way to duplicate an existing Alert Rule and make the relevant changes to match your requirements.

Enter the Clone name to create a unique name.

Enabling and Disabling Alert Rules

An alert rule can be disabled using the Alert Enable Switch button on the top right corner of the alert rule. When an alert is disabled, vuSmartMaps stops evaluating the alert conditions for the rule and will not generate any notifications.

Enable: Check one or more Alert Rules and click Enable.

Disable: Check one or more Alert Rules and click Disable.

Alarm Mode

By default, alert rules in vuSmartMaps work as alarms. In alarm mode, the system continuously monitors the alert conditions. It triggers an active alert notification when the conditions become true and a clear notification when they become false.

For example, let’s say you have an alert rule to monitor host CPU usage. When the CPU usage exceeds the set threshold, vuSmartMaps sends a notification. As long as the CPU usage remains above the threshold, no additional notifications are sent. Once the CPU usage falls below the threshold, vuSmartMaps sends a clear notification.

The clear notification for alarms will include details about how long the alarm was active and provide metrics and information for the entire duration of the alarm.

Disabling Alarm Mode

You can configure an alert rule to work in non-alarm mode if you need general information notifications. When alarm mode is disabled, vuSmartMaps will generate notifications whenever the alert rule conditions are met. It will also continue to send alert notifications at regular intervals as long as the conditions are met.

However, in this mode, vuSmartMaps won’t track the alert state, and it won’t send clear notifications when the conditions are no longer met.

Non-alarm mode-based alerts are particularly useful for one-time event cases. 

For instance, when monitoring Syslog messages and you only want to be notified when a specific event like ‘System rebooted’ is detected, you can configure a non-alarm mode to check for this condition. In such cases, vuSmartMaps will send notifications each time the event occurs without tracking it as an ongoing alarm.

Changing from one mode to another

Switching between alarm mode and non-alarm mode is a flexible process for users. You can change an alert rule from alarm mode to non-alarm mode or vice versa by adjusting the configuration and saving it.

It’s important to remember that when you switch from alarm mode to non-alarm mode, the system stops tracking the alarm state for the rule. This means that no clear notification will be sent for alarm conditions that were active at the time of the configuration change.

The same principle applies when an alert rule in alarm mode is disabled in the configuration. In this case, as well, the system won’t send an explicit clear notification.

Further Reading

  1. Alert Creation
  2. Alerts and Notification
  3. Rule-Based Alert Generation
  4. Flexible Alert Rule Modification

Resources

Browse through our resources to learn how you can accelerate digital transformation within your organisation.

Unveiling our all powerful Internet and Mobile Banking Observability Experience Center. Click Here