From b09c1a25a79f3bdce4751a09c08322a61e3706f0 Mon Sep 17 00:00:00 2001 From: Nicolas Dandrimont Date: Sun, 7 Sep 2008 17:25:38 +0200 Subject: [PATCH] =?UTF-8?q?Modification=20de=20ping=5F=20pour=20=C3=AAtre?= =?UTF-8?q?=20ind=C3=A9pendant=20de=20l'h=C3=B4te?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit darcs-hash:20080907152538-ffbb2-61f639561787b354a146423479f10fd48ef0b51b.gz --- munin/ping_ | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/munin/ping_ b/munin/ping_ index 46b77287..3711a338 100755 --- a/munin/ping_ +++ b/munin/ping_ @@ -32,12 +32,13 @@ # #%# family=manual +hostname=`hostname --fqdn` file_host=`basename $0 | sed 's/^ping_//g'` host=${host:-${file_host:-www.google.com}} if [ "$1" = "config" ]; then echo host_name $host - echo graph_title Ping times from sila + echo graph_title Ping times from $hostname echo 'graph_args --base 1000 -l 0' echo 'graph_vlabel seconds' echo 'graph_category network'