How to Monitor Services on your Cloud Server

Leave your reply

The 1&1 Cloud Panel provides a built-in Monitoring Center, which you can use to monitor services on your server. Learn how to monitor ports and services, and set up a policy to email you when a service becomes unavailable.

Requirements

  • A 1&1 Cloud Server (any operating system)

Monitoring Center Overview

The Monitoring Center lets you see the current and historical data for your server(s) load, usage, and response times.

To access the Monitoring Center, log in to your 1&1 Cloud Panel and go to Security > Monitoring Center.

Monitoring Center

The Monitoring Center gives an overview of your servers, and the option to show various logs and statistics.

Monitoring Center

Select a server, then scroll down to see statistics for that server's CPU usage, RAM usage, network usage, and ping times.

Monitoring Center

You can also click the buttons to view the current resources, charts, reports, and warnings for your server(s).

Monitoring Center

Most of these pages will let you adjust the date range, so that you can change the timespan of the charts you are viewing. Select a date range from the drop-down menu, or enter the date range you wish to view, then click Enter.

Monitoring Center

Create and Deploy a Monitoring Policy

There are three steps to creating and deploying a monitoring policy for your server(s):

  • Choose which services you want to monitor, and the monitoring method you want to use (port or service monitoring).
  • Assign one or more servers to the policy.
  • Allow firewall access (for port monitoring) or install the monitoring agent (for service monitoring).

Choose Services and Monitoring Method

In the left menu, click Security > Monitoring Policies.

Monitoring Center

Click Create to create a new monitoring policy.

Monitoring Center

Fill out a name for the monitoring policy. Then choose whether you want to monitor with or without an agent.

Monitoring Center

Which method you choose will depend on what you need to monitor, and your personal preference:

With an Agent

  • This method uses software on the server to monitor and report.
  • The agent allows you to monitor services directly.
  • It can also report on issues such as diskspace and processes.
  • This method requires you to install software on the server.

Without an Agent

  • This method monitors a specified port as a way to detect if the service is running.
  • It cannot report on issues "inside" the server, such as diskspace or processes.
  • This method does not require you to install software on the server. However, you will need to allow firewall access to the required port.

In the next section, select the threshold for sending a Warning and/or Critical alert. Tick the box in the "Send email" column to be notified when the threshold is crossed.

Monitoring Center

Fill out the email address where you want to receive notifications and click the + sign to add it to the policy.

Monitoring Center

You can add multiple email addresses to the policy. To add another email address, fill out the field and click the + sign again.

Note: If you wish to receive a text message alert, most wireless carriers have an email address which forwards the message to your phone as an SMS message:

  • ATT: [ten-digit number]@txt.att.net. Example: 2065551212@txt.att.net
  • Verizon: [ten-digit number]@vtext.com. Example: 2065551212@vtext.com
  • T-Mobile: [ten-digit number]@tmomail.net. Example: 2065551212@tmomail.net
  • Sprint: [ten-digit number]@messaging.sprintpcs.com. Example: 2065551212@messaging.sprintpcs.com

Standard messaging rates apply.

Select the ports (for port monitoring) or the processes (for agent monitoring) that you wish to monitor.

Monitoring Center

Port Monitoring

For this example we will be using port monitoring to track MySQL services. Click Add Predefined Values then select MySQL from the list.

Monitoring Center

This will populate the fields with TCP port 3306, the default MySQL port. Tick the box to select Send email then click the green + to add this rule to the policy.

Monitoring Center

You can add as many rules to the policy as you wish. When you are finished, click Create to save the monitoring policy.

Agent Monitoring

If you will be using agent monitoring instead, fill in the name of the process on the server.

Monitoring Center

Tick the box to select Send email then click the green + to add this rule to the policy.

You can add as many rules to the policy as you wish. When you are finished, click Create to save the monitoring policy.

Assign One or More Servers to the Policy

Select a server, then click + Assign in the Assigned Servers section to add it to this monitoring policy.

Monitoring Center

Activate one or more servers, then click Save changes to add the server(s) to the policy.

Monitoring Center

It will take a few moments for the changes to be saved. After the status turns green, the policy will be active.

Monitoring Center

Enable Monitoring on the Server(s)

The final step is to enable monitoring access on the server(s).

Port monitoring: You will need to allow firewall access to the port(s) which will be monitored. For more information about using a firewall on a 1&1 Cloud Server, consult our documentation on the topic.

Agent monitoring: You will need to install the monitoring agent on the server. For step-by-step instructions, please see: