TCP Monitoring

Server/Device TCP monitoring allows you to test the availability and response time of your TCP server from your local network, if e.g. your TCP server is deployed within your intranet and is not accessible outside of it.

Once you download and install Smart Agent on your machine in your local network and add a Server/Device TCP monitor for your website, Monitis will start trying to connect to your server at preset regular intervals of time to check if your TCP server is accessible.

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

In most cases, failure status is returned by your Server/Device TCP monitor if:

  • No response from the server within the set timeout
  • Network or connection error
  • DNS resolving error

 

Adding Server/Device TCP Monitor for Windows

To add a Server/Device TCP Monitor, go to the Monitors menu and select Monitors->Server/Device Monitors -> TCP.

Add_TCP_Monitor_

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 the  Smart Agent Controller window (see DownloadingInstalling 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 DownloadingInstalling 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.

TCP_Monitoring_Step_2

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.

Enter the Host/IP of your TCP server.

Set the port number under Port.

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

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

Add_TCP_Monitor_Step_2.1

Click Add when finished.

The Alert Configuration window will appear.
Alert_Configuration_

  • 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 Add Alert Rules window will open. Click on the Add Alert Rule button to configure alert rule(s) for your monitor.

Scr_101.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

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.

Demo_Windows_Agent_data

 

Adding Server/Device TCP Monitoring for Linux

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

Add_TCP_Monitor_

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.

Add_TCP_Monitor_Step_2_Linux

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.

Enter the Host/IP of your TCP server.

Set the port number under Port.

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

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).

Add_TCP_Monitor_Step_2.1_Linux_

Click Add when finished.

The Alert Configuration window will appear.

Alert_Configuration_

  • 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 Add Alert Rules window will open. Click on the Add Alert Rule button to configure alert rule(s) for your monitor.

Scr_101.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

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.

demo_linux-agent__data_

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.