Sunteți pe pagina 1din 6

Alerts

• Alerts Overview, page 1


• Adding a Threshold Alert, page 1
• Deleting a Threshold Alert, page 3
• Customizing Threshold Metrics, page 3
• Quota Violations, page 4

Alerts Overview
Alerts are sent in the form of emails and are designed based on the results of your scheduled searches. Alerts
highlight the exceptions that occur as a result of exceeding the configured threshold criteria.

Adding a Threshold Alert


To add a threshold alert, perform the following steps:

Step 1 From the Home page, choose Alerts > Thresholds.

Videoscape Distribution Suite Service Manager User Guide, Release 3.4


1
Alerts
Adding a Threshold Alert

The Thresholds page appears.

Figure 1: Thresholds page

Step 2 Enter the following details in the Thresholds table:

Table 1: Adding a Threshold Alert–Field and Description

Field Description
Alert Condition Choose the condition for which the alert is to be triggered
and specify the value.

Alert Name Enter the alert name.

Email Id Enter the email ID(s) to which the alerts are to be sent.
Multiple email IDs can be added separated by commas.

Frequency Specify the frequency for triggering the alert emails.


The alert will be sent at regular intervals based on the value
that you configure in the Frequency field.

Step 3 Click Create.


The newly added alert appears in the Threshold Alerts table and admin folder in the Custom Search and Reports.

Videoscape Distribution Suite Service Manager User Guide, Release 3.4


2
Alerts
Deleting a Threshold Alert

Deleting a Threshold Alert


To delete a threshold alert, perform the following steps:

Step 1 From the Home page, choose Alerts > Thresholds.


The Thresholds page appears.
Step 2 In the Threshold Alerts table, click the Delete button next to the threshold alert that you want to delete.
Step 3 Click OK to permanently delete the threshold alert in the confirmation dialog box.
Step 4 Close the Success dialog box.

Customizing Threshold Metrics


VDS-SM provides an option to configure the list of threshold metrics. By default, the Thresholds page lists
five metrics such as Peak Throughput, Concurrent Active Sessions, Average Dynamic Storage, 4XX Errors,
and 5XX Errors. The CDN Operator can create a new metric and add scheduled alerts for that metric.

Note All the alerts related changes are saved under


/opt/splunk/etc/apps/CustomSearches/local/savedsearches.conf file and related
metadata information are stored under
/opt/splunk/etc/apps/CustomSearches/metadata/local.meta file.
Before making any changes to the CustomSearches app, take backup of
/opt/splunk/etc/apps/CustomSearches/local/savedsearches.conf and
/opt/splunk/etc/apps/CustomSearches/metadata/local.meta files.

To create a Threshold metric, perform the following steps:

Step 1 Log in to the Search Head node using the following credentials:
Username: bnisplunk
Password: <password>
Step 2 Navigate to the following location:
/opt/splunk/etc/apps/CustomSearches/local/

Step 3 Open the thresholds_Alerts.conf file.


thresholds_Alerts.conf file contains a list of codes as stanzas corresponding to the metrics listed in the Thresholds page.

Step 4 Add the search query.


Provide the appropriate attributes such as alert_condition, search_15mnts, search_1hr and search_1day in the query.

Videoscape Distribution Suite Service Manager User Guide, Release 3.4


3
Alerts
Quota Violations

Note • In the search query, use the pattern "$%operator%$" instead of comparison operator and
"$%thresholdValue%$" instead of comparison value.
• You can add footer to the alert mails by replacing ". " with the custom message for footer_Text option, in
thresholds_alerts.conf file.

The newly added metric appears in the Thresholds page.

Quota Violations
VDS-IS allows the Operator to set quota limits for Bandwidth, Storage, and Sessions at the delivery service
level. The CDN still caters the service to the providers when they exceed the quota limit (depending on buffer).
When the quota limit is exceeded, alerts are triggered.
From the main page, choose Alerts > Quota Violations. This displays the Bandwidth, Session, and Storage
alerts.

Bandwidth Alerts

Chart Description
Bandwidth Alerts Illustrates all bandwidth alerts that are triggered.
Filter This chart uses Provider, Delivery Service, and the
Time Range Picker as filters.

Videoscape Distribution Suite Service Manager User Guide, Release 3.4


4
Alerts
Session Alerts

Session Alerts

Chart Description
Session Alerts Illustrates all session alerts that are triggered.
Filter This chart uses Provider, Delivery Service, and the
Time Range Picker as filters.

Storage Alerts

Chart Description
Storage Alerts Illustrates all storage alerts that are triggered.
Filter This chart uses Provider, Delivery Service, and the
Time Range Picker as filters.

The Storage alert is disabled. If you want to enable this, perform the following steps:
1 Login to the JS node.

Videoscape Distribution Suite Service Manager User Guide, Release 3.4


5
Alerts
Storage Alerts

2 Navigate to /opt/splunk/etc/deployment-apps/CDNSummarization/local.
3 Open the savedsearches.conf file.
4 Find the stanza with name : Do Not Click - Summary Index - Storage Alert.
5 Change the disabled option to 0 (zero).
6 In the search query, add the threshold in GB in place of "XXX", and wait for the changes to take effect,
if the changes does not reflect, restart splunk on JS node.

Videoscape Distribution Suite Service Manager User Guide, Release 3.4


6