Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| smokeping [Le 11/10/2011, 13:02] – [Smokeping] snoopy_p | smokeping [Le 03/09/2026, 16:16] (Version actuelle) – le truc existe encore : page à réécrire ! krodelabestiole | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| + | {{tag> | ||
| + | |||
| ====== Smokeping ====== | ====== Smokeping ====== | ||
| **Outil de surveillance des temps de latence sur votre réseau.** | **Outil de surveillance des temps de latence sur votre réseau.** | ||
| + | |||
| + | ===== Mise en place ===== | ||
| + | |||
| * Installation: | * Installation: | ||
| < | < | ||
| Ligne 7: | Ligne 12: | ||
| * Accès à l' | * Accès à l' | ||
| < | < | ||
| - | * Changer l' | + | * Changer l' |
| < | < | ||
| \\ | \\ | ||
| * Configuration: | * Configuration: | ||
| - | La configuration comporte plusieurs fichiers: | + | La configuration comporte plusieurs fichiers |
| < | < | ||
| - | General --> Information de base \\ | + | General --> Information de base. \\ |
| - | Alerts --> Déclarer des alertes (sur mail) \\ | + | Alerts --> Déclarer des alertes (sur mail). \\ |
| - | Database --> Déclaration des bases RRD \\ | + | Database --> Déclaration des bases [[rrdtool|rrdtool]]: |
| - | Presentation --> Mise en forme des graphs \\ | + | - Config du step, par défaut 300 sec (exécution du script toutes les 5 min). \\ |
| - | Probes --> Déclaration des probes \\ | + | - Nombre de ping (par défaut 20). \\ |
| - | Slaves --> Déclaration en Master/ | + | Presentation --> Mise en forme des graphs. \\ |
| - | Targets --> Déclaration des hosts à monitorer \\ | + | Probes --> Déclaration des probes, outils permettant la mesure (fping, httpping, etc.): \\ |
| + | - Voir les probes disponibles: | ||
| + | Slaves --> Déclaration en Master/ | ||
| + | Targets --> Déclaration des hosts à monitorer. \\ | ||
| - | * Mod debug: | + | * Mode debug: |
| < | < | ||
| smokeping --debug</ | smokeping --debug</ | ||
| - | \\ | + | * Activer les logs dans syslog (éditer fichier General): |
| - | * Exemple de Probe: | + | < |
| + | syslogfacility = local0 | ||
| + | syslogpriority = debug | ||
| + | </ | ||
| + | |||
| + | Il faut ensuite modifier le syslog (ou rsyslog): | ||
| + | < | ||
| + | |||
| + | **Pouvez-vous préciser où et comment, s'il vous plait ?** | ||
| + | |||
| + | Créer le fichier: | ||
| + | < | ||
| + | chmod 600 / | ||
| + | chown smokeping / | ||
| + | |||
| + | Redémarrer: | ||
| + | < | ||
| + | |||
| + | ===== Exemple | ||
| + | |||
| + | * Probe | ||
| < | < | ||
| *** Probes *** | *** Probes *** | ||
| - | |||
| + FPing | + FPing | ||
| binary = / | binary = / | ||
| # these expect to find echoping in /usr/bin | # these expect to find echoping in /usr/bin | ||
| - | # if not, you'll have to specify the location separately for each probe | + | # if not, you'll have to specify the location separately for each probe |
| - | # + EchoPing | + | # + EchoPing |
| - | # + EchoPingDiscard | + | # + EchoPingDiscard |
| - | # + EchoPingChargen | + | # + EchoPingChargen |
| - | + EchoPingSmtp | + | + EchoPingSmtp |
| - | + EchoPingHttps | + | + EchoPingHttps |
| - | + EchoPingHttp | + | |
| - | | + | + EchoPingHttp |
| - | | + | accept_redirects = yes |
| - | | + | timeout = 5 |
| - | | + | offset = 50% |
| - | + EchoPingIcp | + | revalidate_data = no |
| - | # these need at least echoping 6 with the corresponding plugins | + | |
| - | + EchoPingDNS | + | + EchoPingIcp |
| - | + EchoPingLDAP | + | # these need at least echoping 6 with the corresponding plugins |
| - | + EchoPingWhois | + | + EchoPingDNS |
| + | + EchoPingLDAP | ||
| + | + EchoPingWhois | ||
| + Curl | + Curl | ||
| Ligne 71: | Ligne 100: | ||
| </ | </ | ||
| - | \\ | + | |
| - | | + | |
| < | < | ||
| # default probe | # default probe | ||
| Ligne 101: | Ligne 129: | ||
| probe = Curl | probe = Curl | ||
| host = www.google.fr | host = www.google.fr | ||
| - | extraargs = --proxy-ntlm --proxy-user | + | extraargs = --proxy-ntlm --proxy-user domaine\user: |
| ++ IP | ++ IP | ||
| Ligne 110: | Ligne 138: | ||
| </ | </ | ||
| - | \\ | + | A continuer. |
| - | A continuer. | + | (N'hésitez |
| - | (N'hésiter | + | |
| - | ===== Liens ===== | + | ===== A partir d' |
| - | * [[http:// | + | |
| - | * [[http://tobi.oetiker.ch/ | + | La nouvelle version |
| - | * [[http://oss.oetiker.ch/ | + | |
| + | * Ajoutez un lien | ||
| + | < | ||
| + | * Activez les modules apache smokeping et cgid | ||
| + | < | ||
| + | * Relancez Apache2 | ||
| + | < | ||
| + | * Vérifiez le fonctionnement de Smokeping sur un navigateur Web | ||
| + | |||
| + | Ubuntu 14.04 / apache 2.4.7 | ||
| + | Pour éviter de saisir l'URL complétée par http:// | ||
| + | < | ||
| + | ln -s smokeping.fcgi.dist index.cgi</ | ||
| + | Et juste accéder via http:// | ||
| + | |||
| + | ===== Voir aussi ===== | ||
| + | |||
| + | * [[https:// | ||
| + | * [[https://github.com/ | ||
| + | * [[https://oss.oetiker.ch/ | ||
| + | * [[https://tobi.oetiker.ch/ | ||
