Commit b09c1a25 authored by Nicolas Dandrimont's avatar Nicolas Dandrimont

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

parent e771f28c
......@@ -32,12 +32,13 @@
#%# family=manual
hostname=`hostname --fqdn`
file_host=`basename $0 | sed 's/^ping_//g'`
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