{ 'type' : 'Web' , 'subents' : [ { 'status' :'on', 'name':'yahoo', 'webHost':'www.yahoo.com', 'webUrl':'/', 'triggers': [{'level': 'warn', 'trigger': '8'}] }, ] }
The Web Entity monitors the availability of Web servers by pinging the server, connecting to their port, sending a request, and reading the respose. The entity can check for a particular phrase in the returned page. The Entity reports the number of pings dropped, the ping time in seconds, the connect time in seconds, the time to send a message (if specified), and the time to receive a response from the server.
Fields
A descriptive name for this subentity.
The hostname or IP address of the host to monitor.
(Optional)The port to connect to on webHost.
The selector to request on webHost. Usually this is just '/' for the top-level page.
(Optional) Trigger a notification if this phrase is read in the returned page. If not specified, a phrase is not checked for. This can be used to check for site problems (database failure, etc.).
(Optional) A string representing the cookies to send to the remote host, if requested.
(Optional) The string sent as the encrypted hash for Basic authentication.