Module: check_mk
Branch: master
Commit: cb18578a48bb276bec464b4defa94a609fdb400e
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=cb18578a48bb27…
Author: Florian Heigl <fh(a)mathias-kettner.de>
Date: Fri Jul 13 20:08:22 2012 +0200
hpux_tunables: Fix drawing of warn/crit
---
pnp-templates/check_mk-hpux_tunables.php | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/pnp-templates/check_mk-hpux_tunables.php
b/pnp-templates/check_mk-hpux_tunables.php
index 3dd2c66..79f534e 100644
--- a/pnp-templates/check_mk-hpux_tunables.php
+++ b/pnp-templates/check_mk-hpux_tunables.php
@@ -42,9 +42,8 @@ $def[1] = "DEF:var1=$RRDFILE[1]:$DS[1]:MAX ".
# Add in warning / crit if they're passed to us.
if (isset($WARN[1]) and $WARN[1] != "") {
- $def[1] .= "";
- "HRULE:$WARN[1]#FFFF00:\"Warning at $WARN[1]\" ".
- "HRULE:$CRIT[1]#FF0000:\"Critical at $CRIT[1]\" ";
+ $def[1] .= "HRULE:$WARN[1]#FFFF00:\"Warning at $WARN[1]\" ".
+ "HRULE:$CRIT[1]#FF0000:\"Critical at $CRIT[1]\" ";
}
?>