Submit a ticketCall us

AnnouncementsFace your biggest database issues head-on

Our new eCourse helps you navigate SQL Server performance blocks by teaching you how to recognize and deal with the three DBA Disruptors: Performance Hog, Blame Shifter, and Query Blocker. Register today to learn how to defend your environment and fend off menacing disruptions.

Register for your free eCourse.

Home > Success Center > Server & Application Monitor (SAM) > SAM - Knowledgebase Articles > Create and alert on an HTTP monitor

Create and alert on an HTTP monitor

Table of contents

Overview

This example will monitor a site for changes in text and alert you via email when the text has changed.

Scenario: You want to be notified when concert tickets go on sale. Currently, a fictional website (NinjaTix.com) has the words, “Coming Soon.” When these words change (presumably to, “On sale now,”) you want to be notified so you can buy your tickets immediately.

Environment

All SAM versions

Steps

Creating a HTTP Monitor:

  1. From the web console, navigate to Settings > SAM Settings > Create a New Template.
  2. Enter a name for the template, then click Add Component Monitor and select HTTP Monitor. When done, click Add. (If you are monitoring an HTTPS link, select HTTPS Monitor for the component type)
  3. Select credentials or choose to Inherit Credentials from Node.
  4. Enter the Website in the URL field.
  5. Enter the string, Coming Soon, in the Search String field.
  6. Enter No for the Fail if Found field.
  7. When done, click Submit, then apply the template to a node to begin monitoring.

 

Creating the HTTP Monitor Alert:

  1. From the web console, navigate to Home > Alerts > Manage Alerts.
  2. Click Add New Alert, then enter a name for the alert.
  3. Evaluate and complete the properties on the Properties tab, then click Next.
  4. For the Trigger Conditions portion, select the following:
    png6.png
  5. Important: You will need to add the second trigger condition by clicking [+]. Thefirsttrigger condition tests for Status (Down). The second condition tests for the specific component instance. (The HTTP Monitor instance being tested is indicated by, 1 Object.)
  6. For the Trigger Actions portion, click Add Action, select Send an Email/Page, then click Configure Action.
  7. Enter your email address and other fields as required, then click Next and complete the email wizard as instructed, then click Submit.

 

 

Last modified

Tags

Classifications

Public
/*]]>*/