Commit b09c1a25 authored by Nicolas Dandrimont's avatar Nicolas Dandrimont

Modification de ping_ pour être indépendant de l'hôte

darcs-hash:20080907152538-ffbb2-61f639561787b354a146423479f10fd48ef0b51b.gz
parent e771f28c
......@@ -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'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment