HTTPS Monitoring

About Server/Device HTTPS Monitoring

Server/Device HTTPS monitoring allows you to test the availability and response time of your website not only externally from multiple locations around the world (see Uptime Monitoring -> HTTPS), but also from your local network, if e.g. your website is deployed within your intranet and is not accessible outside of it.

You should use HTTPS vs HTTP monitoring if your web site uses HTTPS protocol for secure communication.

Once you download and install Smart Agent on your machine in your local network and add a Server/Device HTTPS monitor for your website, Monitis will start sending out HTTP requests over secure SSL connection to your website at your provided URL/IP at your preset regular intervals of time to check if your website is accessible.

You can also use Server/Device HTTPS monitoring to monitor your website externally from additional locations, by simply installing Smart Agent and adding the Server/Device HTTPS monitor on a machine in any location you want to monitor your website from.

In most cases, failure status is returned by your HTTPS monitor if:

  • No response from the server within the set timeout
  • DNS resolving error
  • HTTP error
  • Network or connection error
  • Connection closed by server
  • Basic authentication failed
  • Content matching failure
  • SSL version not supported by user’s server

Adding Server/Device HTTPS Monitor for Windows

To add a Server/Device HTTPS monitor, go to the Monitors menu and select Monitors => Server/Device Monitors => HTTPS.

Add_new_HTTPS_

The Add Server/Device Monitor – Step 1 window will open.

Demo_windows_Agent

If you have already downloaded and installed Smart Agent for Windows, select it from the Agent list.

Make sure that your Smart Agent for Windows is running, as shown under Agent Status. If the Agent is stopped, run it from Smart Agent Controller window (see Downloading, Installing and Running Smart Agent for Windows).

Agent_Key.png

If you haven’t downloaded Smart Agent for Windows yet, click on the Download Agent button to download it. Follow the instructions under Downloading, Installing and Running Smart Agent for Windows.

Note that it may take up to 5 min for newly installed Agent to appear in the agent list (you can click Refresh to refresh the agent list).

Select the Windows Agent from the list, and click Next.

The Add Server/Device Monitor – Step 2 window will open.

Scr-237.png

Select from the Monitor Group combo box the monitor group for this monitor to be assigned to.

You can also create a new monitor group by clicking on the “+” icon next to Add Group.

Under URL/IP, enter the URL or IP address of your web site. If you have an existing monitor using the same URL/IP, you can select the address from the combo box.

Change the default port number under Port if needed.

Select the Request method, GET, POST or HEAD. By default, GET method is selected. If you select POST, the POST DATA box will open, where you can input the data that you want to post (e.g. a web form field data). Select HEAD if you want to request only the website header.

Enter the value (milliseconds) under Timeout. Your website will be considered down if not responded within this amount of time.

Click Show Advanced Settings.

Scr-240.png

You can use the content matching feature to lookup a text string in the source code of your web page.

To do this, under Match text you can specify a text string to lookup in your website source code. If the string is not found during the monitoring check, your monitor will return a failure status. Choose between “Should contain” and “Should not contain” options in the combo box, and enter the text to match in the text box below. For example, use “Should not contain” to make sure your web page doesn’t show an error message.

Check the Follow Redirections box if you want monitoring requests to follow redirections on your website.

Check the Load Full Page box if you want monitoring requests to load fully the web page. Page load time will be counted in the request timeout in this case.

Important: note that in order for content match to work the Load Full Page box must be checked.

If your web site uses basic authentication mechanism, you need to provide the username and password for it, in order to enable Monitis access to your web site.

Scr-241.png

To add more Server-Device monitors of different types to the same Smart Agent, click the green “+” button under Add More Monitors (see Adding Multiple Server-Device and Application Monitors for the Same Agent).

Click Add when finished.

The Alert Configuration window will appear.

  • Click Send to All Contacts if you want to send alerts for this monitor to all contacts.
  • Click Custom Configuration (Advanced) to configure sending alerts for this monitor only to selected contacts. The Alert Rules window will open. Click on the Add Alert Rule button to configure alert rule(s) for your monitor.

Scr_139.png

Set up the alert rule and click Add Rule. See Alert Rules in Alerts 2.0 for more info about alert rules.

Note: To be able to add alert rules, you need to set up thresholds (Critical or Warning) in your monitor first.

A threshold includes two conditions connected by a logical OR. If any of the conditions matches the monitor will enter your specified state.

  • Check fails (response timed out, connection failure, etc)
  • Any or all of your selected metrics meet the failure conditions you specified for them

55.png

See Thresholds for more info.

  • Click Don’t Send Alerts if you don’t want any alerts for this monitor to be sent.

Your newly created Server-Device monitor will appear in your Monitis dashboard. Wait until it loads the first results.

Scr_141.png

 

Adding Server/Device HTTPS Monitor for Linux

Go to the Monitors menu, select Server/Device Monitors->HTTPS and click Add.

Add_new_HTTPS_

The Add Server/Device Monitor – Step 1 window will open.

Demo_linux_Agent

If you have already downloaded and installed Smart Agent for Linux, select it from the Agent list.

Make sure that your Smart Agent for Linux is running, as shown under Agent Status. If the Agent is stopped, run it on your Linux machine (see Downloading, Installing and Running Smart Agent for Linux).

Status Monitoring Smart Agent

If you haven’t downloaded Smart Agent for Linux yet, click on the Download Agent button to download it. Follow the instructions under Downloading, Installing and Running Smart Agent for Linux.

Note that it may take up to 5 min for newly installed Agent to appear in the list (you can click Refresh to refresh the agent list).

Select the Linux Agent from the list, and click Next.

The Add Server/Device Monitor – Step 2 window will open.

Scr-244.png

Select from the Monitor Group combo box the monitor group for this monitor to be assigned to.

You can also create a new monitor group by clicking on the “+” icon next to Add Group.

Under URL/IP, enter the URL or IP address of your web site. If you have an existing monitor using the same URL/IP, you can select it from the combo box.

Change the default port number under Port if needed.

Select the Request method, GET, POST or HEAD. By default, GET method is selected. If you select POST, the POST DATA box will open, where you can input the data that you want to post (e.g. a web form field data). Select HEAD if you want to request only the website header.

Enter the value (milliseconds) under Timeout. Your website will be considered down if not responded within this amount of time.

Click Show Advanced Settings.

Scr-245.png

You can use the content matching feature to lookup a text string in the source code of your web page.

To do this, under Match text you can specify a text string to lookup in your website source code. If the string is not found during the monitoring check, your monitor will return a failure status. Choose between “Should contain” and “Should not contain” options in the combo box, and enter the text to match in the text box below. For example, use “Should not contain” to make sure your web page doesn’t show an error message.

Check the Follow Redirections box if you want monitoring requests to follow redirections on your website.

Check the Load Full Page box if you want monitoring requests to load fully the web page. Page load time will be counted in the request timeout in this case.

Important: note that in order for content match to work the Load Full Page box must be checked.

If your web site uses basic authentication mechanism, you need to provide the username and password for it, in order to enable Monitis access to your web site.

Scr-246.png

To add more Server-Device monitors of different types to the same Smart Agent, click the green “+” button under Add More Monitors (see Adding Multiple Server-Device and Application Monitors for the Same Agent).

Click Add when finished.

The Alert Configuration window will appear.

  • Click Send to All Contacts if you want to send alerts for this monitor to all contacts.
  • Click Custom Configuration (Advanced) to configure sending alerts for this monitor only to selected contacts. The Alert Rules window will open. Click on the Add Alert Rule button to configure alert rule(s) for your monitor.

Scr_142.png

Set up the alert rule and click Add Rule. See Alert Rules in Alerts 2.0 for more info about alert rules.

Note: To be able to add alert rules, you need to set up thresholds (Critical or Warning) in your monitor first.

A threshold includes two conditions connected by a logical OR. If any of the conditions matches the monitor will enter your specified state.

  • Check fails (response timed out, connection failure, etc)
  • Any or all of your selected metrics meet the failure conditions you specified for them

56.png

See Thresholds for more info.

  • Click Don’t Send Alerts if you don’t want any alerts for this monitor to be sent.

Your newly created Server-Device monitor will appear in your Monitis dashboard. Wait until it loads the first results.

Scr_144.png

Note: by default check frequency for Server/Device monitors is 5 min. You can upgrade your Server/Device monitors to run on 1 min frequency. See Check Frequency in Server/Device Monitors for more info.