Follow these steps to create a watcher in the Control panel:
- Go to the Monitoring section.
- Click New watcher.
- Enter the name and tags in the new window.
- Specify the watcher parameters. Parameters are either common (required for all metrics) or additional (only apply to a particular watcher type). The required parameters include the following:
- Interval — how often the service will be checked;
- Timeout — how much time before a check is considered unsuccessful;
- Check sequence — what order checks will be performed in from the selected points of presence (sequentially, simultaneously, or randomly);
- Host/IP — the domain name or IP address of the server to be checked;
- Protocol — the preferred protocol the check should be performed over (IPv4 or IPv6).
- Specify the additional parameters. Individual parameters are set for each watcher:
|SSH||Connection port; check host response.|
|TCP||Connection port; send string; response string.|
|UDP||Connection port; send string; response string.|
|SMTP||Connection port; SSL (enable/disable); STARTTLS (enable/disable); username; password; domain; check host response.|
|POP3, IMAP||Connection port; SSL (enable/disable); STARTTLS (enable/disable); username; password; check host response.|
|DNS||Record type; resolves to; server name.|
|HTTP GET||Connection port; user agent; referer; cookie; content to be checked (substring, element, xpath) (Substring - substring and whether substring should be present. Element - selector (ID or class), element name and value. XPath - string and value.); use return value as response time (enable/disable); expected status; offset (KB); follow redirection (enable/disable).|
|HTTP POST||Data to be transferred (body); connection port; user agent; referer; cookie; expected status; offset (KB); follow redirection (enable/disable).|
|HTTP HEAD||Connection port; user agent; referer; cookie; expected status; offset (KB); follow redirection (enable/disable).|
|HTTP base authority, HTTP Digest authorization||Username; password; connection port; user agent; referer; cookie; content to be checked (substring, element, xpath) (Substring - substring and whether substring should be present. Element - selector (ID or class), element name and value. XPath - string and value.); use return value as response time (enable/disable); expected status; offset (KB); follow redirection (enable/disable).|
|FTP||Connection port; mode (active/passive); anonymity (enable/disable); username; password; expected status; check host response (enable/disable).|
|PostreSQL, MySQL||Connection port; username; password; SSL (enable/disable); database; query; use return value as response time (enable/disable).|
|Redis||Connection port; password.|
|SSL||Connection port; expiry period.|
|6. Select the points of presence where the watcher will be launched from.|
|Please note that the list of our PoPs includes the IP addresses for each point. If you have a firewall, you should enable these in the firewall rules.|
|7. Configure settings for notifications and reports.|
|8. Click Test to test the created watcher.|
|9. Click Create and launch to activate the watcher.|
|10. To configure notifications, open the Triggers tab on the watcher page and click New trigger. Select conditions and save settings.|
Notifications sent from triggers contain additional information, which can be used to identify problematic areas.
Viewing Watcher Information
A full list of added watchers is displayed under the Watchers tab in the Monitoring section. For each watcher, using the menu on the right, you can:
- run the check;
- add to favorites (or remove from watchers);
- delete watcher.
Clicking any watcher in the list opens a new block with detailed information under the following tabs:
- info — lists the type, host, SLA, last incident, and last 5 reports;
- graphs — graphs displaying availability and lag;
- history — a list of the last checks performed and the date, checkpoint, response time, and results;
- statistics — shows uptime and downtime for various periods of time;
- settings — lets you view and edit parameters;
- triggers — notification conditions.
Under the Favorites tab, you’ll find a list of watchers added to favorite.
You can also find information regarding the last three incidents and the last five successful checks.
Detailed information on the results of all of your checks can be found under the Checks tab.
The Incidents tab shows a record of errors and malfunctions tracked by watchers.
All activity pertaining to watchers can be found under the Log section of the Monitoring section of the Control panel.
To view and add new contacts, open the Notification center tab in the Monitoring section of the Control panel.
SMS notifications can be purchased by clicking the Order sms button. Enter the number of SMS you would like to purchase in the new window and click Pay for Service. Under Contacts tab, you can add a contact with a phone number, where the SMS notifications can be sent to.
Under Contacts tab, you can create contacts from phone numbers, e-mail addresses, or HTTP addresses, where notifications will be sent.
To add a contact, click Add contact, fill out the form in the new window, and click Add contact.
Weekly reports can be managed under the Weekly reports tab.
Weekly reports contain detailed information about watchers run over the previous seven days. These are sent every Monday to the selected e-mail address (or several addresses).
The Notification logs tab shows a history of all messages sent for all watchers.