Module: check_mk
Branch: master
Commit: e4e6600d1bde311d4c33e0d3bd77fa374682a281
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e4e6600d1bde31…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Mon Jan 13 14:02:42 2014 +0100
FIX stulz_humidity: Fixed coloring in pnp template
Befor the change, the color for minimal warning was red and for minimal critical was
yellow.
---
.werks/118 | 9 +++++++++
ChangeLog | 1 +
pnp-templates/check_mk-stulz_humidity.php | 4 ++--
3 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/.werks/118 b/.werks/118
new file mode 100644
index 0000000..7d6ca97
--- /dev/null
+++ b/.werks/118
@@ -0,0 +1,9 @@
+Title: stulz_humidity: Fixed coloring in pnp template
+Level: 1
+Component: checks
+Class: fix
+State: unknown
+Version: 1.2.5i1
+Date: 1389617988
+
+Befor the change, the color for minimal warning was red and for minimal critical was
yellow.
diff --git a/ChangeLog b/ChangeLog
index 0cdd11c..7a47a0e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -94,6 +94,7 @@
* 0404 FIX: cups_queues: fix exception in case of alternative time format...
* 0444 FIX: timemachine: do not inventorize check when timemachine is not used
* 0116 FIX: cisco_vpn_tunnel: Fixed typo that lead to an exception
+ * 0118 FIX: stulz_humidity: Fixed coloring in pnp template...
Multisite:
* 0371 Added log class filter to hostsvcevents view
diff --git a/pnp-templates/check_mk-stulz_humidity.php
b/pnp-templates/check_mk-stulz_humidity.php
index aba6a03..94f6731 100644
--- a/pnp-templates/check_mk-stulz_humidity.php
+++ b/pnp-templates/check_mk-stulz_humidity.php
@@ -31,8 +31,8 @@ $def[1] .= "GPRINT:var1:LAST:\"%2.0lf%%\" ";
$def[1] .= "GPRINT:var1:AVERAGE:\"(Avg\: %2.0lf%%,\" ";
$def[1] .= "GPRINT:var1:MIN:\"Min\: %2.0lf%%,\" ";
$def[1] .= "GPRINT:var1:MAX:\"Max\: %2.0lf%%)\" ";
-$def[1] .= "HRULE:$CRIT[1]#FFFF00 ";
-$def[1] .= "HRULE:$WARN[1]#FF0000 ";
+$def[1] .= "HRULE:$CRIT[1]#FF0000 ";
+$def[1] .= "HRULE:$WARN[1]#FFFF00 ";
$def[1] .= "HRULE:$MIN[1]#FFFF00 ";
$def[1] .= "HRULE:$MAX[1]#FF0000 ";
?>