You can use the HTTP Content monitor (TCPIP monitor) to monitor web pages. The HTTP Content monitor checks a specified web page to make sure that content appears on the page. If the results of the web page content are not what is expected, you can be notified through an associated action.
For example, to check whether a page is up and available, you can look for a text string contained in the web page. The following script checks for the words "WhatsUp Gold Tech Support" on the WhatsUp Gold main Support page. If this HTTP Content monitor shows as UP, the web page is displaying as expected. If this HTTP Content monitor shows as DOWN, he web page is down, missing, or has been changed:
Send=GET /support/index.aspx HTTP/1.0\r\nAccept: */*\r\nHost:www.whatsupgold.com\r\nUser-Agent: WhatsUp/1.0\r\n\r\n
Expect=WhatsUp Gold Tech Support
To configure a web page monitor (HTTP Content active monitor):
- or -
Send, Expect, SimpleExpect, and Flow Control keywords as you would like. For more information, see Script Syntax.Note: Refer to the script above as an example for setting up a check for expected content on a specific web page URL.
To configure a web page monitor (HTTP Content active monitor) and email alert for a device:
The active monitor and resulting email action are now enabled. When the web page cannot return the web content, the page is triggered as down and the HTTP Content monitor fails, triggering the E-mail Action that tells you that the page is down the Web server cannot return web content.