Proteggiamo il tuo ambiente digitale da qualsiasi attacco informatico. Sfrutta tutte le potenzialità della piattaforma SGBox!

Gallery

Contatti

Via Melchiorre Gioia, 168 - 20125 Milano

info@sgbox.it

+39 02 60830172

Search another article?

Create a new test script

You are here:
< Back

The test scripts

These scripts are used to perform check and evaluate the health of your network. Below is explained how to configure a simple script that makes a ping to check if the machine is up or down.

Requirements:

  • the host must be present in the section SCM > Network > Host.

Connect at the SGBox web interface.
SGBox > SM > Configuration
sm_1

Select Script.
sm_2

Click on New Script Test to create a new script.
sm_3
Once you open the configuration window, select the host on which you want to make the test.
sm_4

On section Email Alert select the user who should be notified when a problem occur.
In Frequency section, specify every how many minutes the check will be perform.
Below are some values to be set when the check fails:
For N times: set the number of times you want to retry the check before changes state.
Every N Seconds: specify every how many seconds the re-check will be perform.
Alert after N Failures: After these number of failures the state will be changed ( from OK to CRITICAL for example ).
Click on Next to go to the next step.
sm_5

Select a Default Script from the list. In our case we will select Ping Report.
Select a Probe, that is the machine that will perform the check. If SGBox will run the test (as in our case): select SGBox. If you are in a distributed environment or MultiTenant environment and the collector will run the test: select the collector instead SGBox.
Click on Add button.
sm_6

Click on Save button to finish.
sm_7

We have configured the test script.
sm_8