Prérequis: installation de Munin sur votre serveur

Il existe un plugin pour Munin appelé Pinger permettant de tracer un graphe comportant les temps de réponse de plusieurs destinations que vous aurez choisi.

Le plugin se trouve ici.

Rendez-vous sur votre serveur dans le répertoire /usr/share/munin/plugins/
Tapez:

wget -O pinger http://muninexchange.projects.linpro.no/download.php?phid=199
chmod +x pinger
ln -s /usr/share/munin/plugins/pinger /etc/munin/plugins/pinger

Il reste ensuite éditer le fichier /etc/munin/munin-node.conf et ajouter en fin de fichier:

 [pinger]
 timeout 60


Enfin, éditons /etc/munin/plugins/pinger et allons éditer les variables suivantes.
Nous supposerons que votre interface réseau est eth0 et que vous souhaitez faire le graphe du temps de latence de www.google.fr www.sivit.fr:

### PROPERTIES START ###
# An array of external interfaces to ping through
IF=(eth0)

# An array of hosts to ping
HOST=(www.google.fr www.sivit.fr)


Maintenant il faut redémarrer Munin Node et le tour est joué:

/etc/init.d/munin-node restart

Vous trouverez ainsi une partie 'Pinger' dans votre interface Web Munin.