-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathservers.conf
More file actions
29 lines (23 loc) · 1.65 KB
/
servers.conf
File metadata and controls
29 lines (23 loc) · 1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#######################################################################
# EXEMPLE DE CONFIGURATION - MONITORBOX V3
# Syntaxe : URL;NOM;PING;MOT-CLE;MESSAGE_AUDIO;PAGER
#######################################################################
# --- CAS 1 : TEST DE LA CONNEXION INTERNET (PING SEUL) ---
# On utilise une IP robuste (Cloudflare). Si KO, c'est probablement votre connexion.
1.1.1.1;INTERNET (Cloudflare);yes;.;Attention: Internet connection is lost.;yes
# --- CAS 2 : SITES WEB STANDARDS (CURL + PING) ---
# Surveillance complète : On vérifie si le serveur répond ET si le contenu est bon.
https://www.debian.org;Debian Projet;yes;Debian;Warning: Debian website is down.;no
https://www.wikipedia.org;Wikipedia;yes;Wikipedia;Alert: Wikipedia is unreachable.;no
# --- CAS 3 : SURVEILLANCE SANS PING (CURL UNIQUEMENT) ---
# Utile si le serveur bloque les requêtes ICMP (Ping) mais que le site fonctionne.
https://www.google.com;Google Search;no;Google;Google web service is not responding.;no
# --- CAS 4 : SERVEUR DE PRODUCTION AVEC ALERTE PAGER ---
# Ici, on active tout : Ping, Curl, Espeak et le Pager physique.
https://www.perdu.com;PERDU;yes;ici;Urgent: Production server is down!;yes
# --- CAS 5 : TEST DE SÉCURITÉ (MOT-CLÉ SPÉCIFIQUE) ---
# On peut vérifier si une version spécifique est toujours en ligne.
https://www.kernel.org;Linux Kernel;yes;Latest;The Kernel website has changed or is down.;no
# --- CAS 6 : TEST D'ERREUR (POUR VÉRIFIER VOS ALERTES) ---
# Ce site n'existe pas, il servira à tester vos haut-parleurs et votre dashboard.
https://un-site-qui-n-existe-pas.com;Test Erreur;yes;Introuvable;This is a test alert. Monitoring is working.;no