« Smokeping master et slave » : différence entre les versions
Aller à la navigation
Aller à la recherche
(→Master) |
(→Master) |
||
Ligne 25 : | Ligne 25 : | ||
display_name=slave1, localisation de slave1 | display_name=slave1, localisation de slave1 | ||
color=33cc33 | color=33cc33 | ||
</pre> | |||
* Exemple de fichier Targets : | |||
<pre> | |||
*** Targets *** | |||
probe = FPing | |||
menu = Top | |||
title = Network Latency Grapher | |||
remark = Poney | |||
+ Online | |||
menu = Online | |||
title = Online Network | |||
++ ping | |||
menu = ping.online.net | |||
title = ping.online.net ICMPv4 Latency | |||
probe = FPing | |||
host = ping.online.net | |||
slaves = slave1.domain.tld | |||
++ ping6 | |||
menu = ping6.online.net | |||
title = ping6.online.net ICMPv6 Latency | |||
probe = FPing6 | |||
host = ping6.online.net | |||
slaves = slave1.domain.tld | |||
+ OVH | |||
menu = OVH | |||
title = OVH Network (AS16276) | |||
++ demo | |||
menu = demo.ovh.eu | |||
title = demo.ovh.eu ICMPv4 Latency | |||
probe = FPing | |||
host = demo.ovh.eu | |||
slaves = slave1.domain.tld | |||
</pre> | </pre> | ||
=Slave= | =Slave= |
Version du 13 avril 2014 à 14:03
Master
aptitude install smokeping apache2-mpm-itk
Les fichiers de configurations se trouvent dans /etc/smokeping/config.d/
- Dans le fichier
Alerts
, éditez les champs to et from - Dans le fichier
General
éditez les champs suivants :
owner = votre nom contact = votre mail mailhost = adresse de votre serveur smtp cgiurl = http://localhost/cgi-bin/smokeping.cgi display_name = serveur_name, localisation
- Dans le fichier
Probes
éditez le comme cela :
*** Probes *** + FPing binary = /usr/bin/fping + FPing6 binary = /usr/bin/fping6
- Dans le fichier
Slaves
ajoutez le nom de votre slave :
+slave1.domain.tld display_name=slave1, localisation de slave1 color=33cc33
- Exemple de fichier Targets :
*** Targets *** probe = FPing menu = Top title = Network Latency Grapher remark = Poney + Online menu = Online title = Online Network ++ ping menu = ping.online.net title = ping.online.net ICMPv4 Latency probe = FPing host = ping.online.net slaves = slave1.domain.tld ++ ping6 menu = ping6.online.net title = ping6.online.net ICMPv6 Latency probe = FPing6 host = ping6.online.net slaves = slave1.domain.tld + OVH menu = OVH title = OVH Network (AS16276) ++ demo menu = demo.ovh.eu title = demo.ovh.eu ICMPv4 Latency probe = FPing host = demo.ovh.eu slaves = slave1.domain.tld