Module: check_mk
Branch: master
Commit: 35805b2ea127bb154a2385f69691b1da10ff93b8
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=35805b2ea127bb…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Apr 15 10:49:42 2013 +0200
esx_vsphere_hostsystem.cpu_usage: label for right axis
---
pnp-templates/check_mk-esx_vsphere_hostsystem.cpu_usage.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pnp-templates/check_mk-esx_vsphere_hostsystem.cpu_usage.php
b/pnp-templates/check_mk-esx_vsphere_hostsystem.cpu_usage.php
index 82c4d1d..ee522ef 100644
--- a/pnp-templates/check_mk-esx_vsphere_hostsystem.cpu_usage.php
+++ b/pnp-templates/check_mk-esx_vsphere_hostsystem.cpu_usage.php
@@ -38,7 +38,7 @@ $warnthreads = $WARN[1] * $num_threads / 100.0;
$critthreads = $CRIT[1] * $num_threads / 100.0;
$rightscale = 100.0 / $num_threads;
-$opt[1] = "--vertical-label 'Used CPU threads' --right-axis $rightscale:0
--right-axis-format '%4.1lf%%' -l0 -ru $num_threads --title \"CPU
Utilization for $hostname ($num_threads CPU threads)\" ";
+$opt[1] = "--vertical-label 'Used CPU threads' --right-axis $rightscale:0
--right-axis-format '%4.1lf%%' --right-axis-label 'Utilization %' -l0 -ru
$num_threads --title \"CPU Utilization for $hostname ($num_threads CPU
threads)\" ";
$def[1] = "DEF:perc=$RRD[util] "
. "CDEF:util=perc,$num_threads,*,100,/ "