Table of Contents

How to create and use server probes

You can define triggers and actions and combine them into probes according to your needs. This page shows you how.

How probes work

Probes allow you to automatically perform certain predefined actions when the amount of hosting resources (CPU, disk, bandwidth…) used by your server passes a threshold value you set. This will allow you to, for example:

It is possible to configure multiple actions for the same probe, and actions are saved and can be reused on other probes.

Create and configure the probe

To create a new probe, follow these steps:

  1. Go to the control panel of the server in question
  2. In the “Monitoring” section, click on “Manage”

  1. Click on “Add a probe” to get to the parameters screen:

The available parameters are:

Create a new action

In this section, you will select a predefined action from a dropdown menu.

To create a new action, click “Create.”

Notifications

Notifications are purely informative.

Temporary resource modification

Modifying resources allows you to increase or decrease the quantity of resources allocated to the server for a period of 1 to 24 hours. This is particularly useful in cases of brief but drastic changes in the CPU, RAM or bandwidth usage of your server.

This only works on Classic mode servers. It will have no effect on a VPS in AI mode, because its configuration would have to be resubmitted in order for the change to take effect.

The modification itself is defined by the following parameters:

Server reboot

Select this option to reboot the server automatically if the probe is triggered.

Special case: bandwidth example

Under the new billing system (introduced May 2013), bandwidth is billed according to the total consumption of all interfaces owned by a given Gandi handle. You can find out the current consumption of all your servers:

Automatically limit the amount of data sent by a server

In order to prevent an unexpected spike in bandwidth usage on a given server, you can use a probe to impose a temporary limit on an overcharged interface's outbound traffic.

To do so, create a probe with the following parameters:

Then, create an action to throttle the bandwidth on the interface: