[checkmk-commits] Check_MK Git: check_mk: check-mk-ping.php: avoid silly Y-achsis for values below 1ms

Mathias Kettner mk at mathias-kettner.de
Tue Aug 19 14:16:53 CEST 2014


Module: check_mk
Branch: master
Commit: 0a0bc66a617bcca0c8572d30320a156a8dae5c11
URL:    http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=0a0bc66a617bcca0c8572d30320a156a8dae5c11

Author: Mathias Kettner <mk at mathias-kettner.de>
Date:   Tue Aug 19 14:16:47 2014 +0200

check-mk-ping.php: avoid silly Y-achsis for values below 1ms

---

 pnp-templates/check-mk-ping.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pnp-templates/check-mk-ping.php b/pnp-templates/check-mk-ping.php
index 659e0ad..4180da1 100644
--- a/pnp-templates/check-mk-ping.php
+++ b/pnp-templates/check-mk-ping.php
@@ -24,7 +24,7 @@
 # Boston, MA 02110-1301 USA.
 
 $ds_name[1] = "Round Trip Averages";
-$opt[1] = "--vertical-label \"RTA (ms)\" --title \"Ping times for $hostname\" ";
+$opt[1] = "--vertical-label \"RTA (ms)\" -X0 --title \"Ping times for $hostname\" ";
 $def[1] =  "DEF:var1=$RRDFILE[1]:$DS[1]:AVERAGE " ;
 $def[1] .= "DEF:var2=$RRDFILE[2]:$DS[2]:MAX " ;
 $def[1] .= "VDEF:maxrta=var1,MAXIMUM " ;



More information about the checkmk-commits mailing list