Module: check_mk
Branch: master
Commit: 24caf33ebbc9b7b1c7db23d8324dfddaec127346
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=24caf33ebbc9b7…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Mar 1 16:37:25 2011 +0100
Fixed PNP template for Check_MK execution time
---
ChangeLog | 1 +
pnp-templates/check-mk.php | 6 +++---
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 7ccea6a..8cc6762 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -34,6 +34,7 @@
* FIX: cisco_temp_perf: fix return state in case of WARNING (was 0 = OK)
* FIX: repair PNP template for df when using trends
* FIX: cisco_qos: fix WATO exception (was due to print command in check)
+ * FIX: check_mk check: fixed template for execution time
Multisite:
* FIX: fix json/python Webservice
diff --git a/pnp-templates/check-mk.php b/pnp-templates/check-mk.php
index 0adcd59..537a434 100644
--- a/pnp-templates/check-mk.php
+++ b/pnp-templates/check-mk.php
@@ -25,11 +25,11 @@
$range = $CRIT[1];
-$opt[1] = "--vertical-label 'time (s)' -l 0 -u 10 --title '$hostname:
Check_MK check execution time' ";
+$opt[1] = "--vertical-label 'time (s)' -l 0 --title '$hostname:
Check_MK check execution time' ";
$def[1] = "DEF:extime=$RRDFILE[1]:$DS[1]:MAX ";
-$def[1] .= "AREA:extime#4080ff:\"time offset \" ";
-$def[1] .= "LINE1:extime#2060d0: ";
+$def[1] .= "AREA:extime#d080af:\"execution time \" ";
+$def[1] .= "LINE1:extime#d020a0: ";
$def[1] .= "GPRINT:extime:LAST:\"current\: %.2lf s\" ";
$def[1] .= "GPRINT:extime:MAX:\"max(+/-)\: %.2lf s \" ";
$def[1] .= "GPRINT:extime:AVERAGE:\"avg(+/-)\: %.2lf s\" ";