This procedure allows Zenoss to create an event if content at the web page does not match the expected output.
Navigate to the device in the Zenoss interface.
Click the page menu, then select
→ .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.
Click on the HttpMonitor template.
Click on the HttpMonitor data source from the Data Sources table menu.
Change data source options as needed.
Table 17.3. HTTPMonitor Content Checking Data Source Options
Option Description 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.
Click Save to save your changes.