Module: check_mk
Branch: master
Commit: eca7c06f014154f72bd72df9ef4ae900a58bbb4f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=eca7c06f014154…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Jul 11 10:31:43 2014 +0200
if: Fix header of PNP template, again
---
pnp-templates/check_mk-if.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pnp-templates/check_mk-if.php b/pnp-templates/check_mk-if.php
index 3f5280d..71a869d 100644
--- a/pnp-templates/check_mk-if.php
+++ b/pnp-templates/check_mk-if.php
@@ -90,10 +90,10 @@ $range = min(10, $bandwidth);
$bandwidthInfo = "";
if ($bandwidth > 0){
- $bandwidthInfo = " at " . sprintf("%.1f", $bandwidth) .
"${bwuom}${unit}/s $range";
+ $bandwidthInfo = " at " . sprintf("%.1f", $bandwidth) . "
${bwuom}${unit}/s";
}
$ds_name[1] = 'Used bandwidth';
-$opt[1] = "--vertical-label \"$vertical_label_name\" -l -$range -u $range
-X0 -b 1024 --title \"Used bandwidth $hostname / $servicedesc $bandwidthInfo\"
";
+$opt[1] = "--vertical-label \"$vertical_label_name\" -l -$range -u $range
-X0 -b 1024 --title \"Used bandwidth $hostname / $servicedesc$bandwidthInfo\"
";
$def[1] =
"HRULE:0#c0c0c0 ";
if ($bandwidth)