Extended Monitoring Guide

  • Docs Home
  • Community Home

5. Check for Specific Content on the Web Page

This procedure allows Zenoss to create an event if content at the web page does not match the expected output.

  1. Navigate to the device in the Zenoss interface.

  2. Click the page menu, then select MoreTemplates.

  3. If the button at the right-hand side of the template has the label Create Local Copy, then click on that button to create a local copy. If you don't create a local copy your changes will affect all templates, not just the template bound to this one device.

  4. Click on the HttpMonitor template.

  5. Click on the HttpMonitor data source from the Data Sources table menu.

  6. Change data source options as needed.

    Table 16.3. HTTPMonitor Content Checking Data Source Options

    OptionDescription

    Regular Expression

    A Python regular expression to match text in the web page.

    Case Sensitive

    Is the regular expression case-sensitive or not?

    Invert Expression

    If you would like to test to see if the web page does not contain content matched by a regular expression, check this box.


  7. Click Save to save your changes.