Module: check_mk
Branch: master
Commit: b8c79e12e3e2b744db1a9eb2207d0e67c041c3aa
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b8c79e12e3e2b7…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Dec 19 13:48:23 2017 +0100
5582 FIX hr_cpu: Fixed displaying of "per core CPU utilization" in raw edition
graphs
Change-Id: Ie4d25040e1422eb1aa5894fe1176eccbb496b06a
---
.werks/5582 | 11 +++++++++++
pnp-templates/check_mk-hr_cpu.php | 39 ---------------------------------------
2 files changed, 11 insertions(+), 39 deletions(-)
diff --git a/.werks/5582 b/.werks/5582
new file mode 100644
index 0000000..6210a8f
--- /dev/null
+++ b/.werks/5582
@@ -0,0 +1,11 @@
+Title: hr_cpu: Fixed displaying of "per core CPU utilization" in raw edition
graphs
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+Edition: cre
+State: unknown
+Version: 1.5.0i2
+Date: 1513687681
+
+
diff --git a/pnp-templates/check_mk-hr_cpu.php b/pnp-templates/check_mk-hr_cpu.php
deleted file mode 100644
index 0a548ed..0000000
--- a/pnp-templates/check_mk-hr_cpu.php
+++ /dev/null
@@ -1,39 +0,0 @@
-<?php
-# +------------------------------------------------------------------+
-# | ____ _ _ __ __ _ __ |
-# | / ___| |__ ___ ___| | __ | \/ | |/ / |
-# | | | | '_ \ / _ \/ __| |/ / | |\/| | ' / |
-# | | |___| | | | __/ (__| < | | | | . \ |
-# | \____|_| |_|\___|\___|_|\_\___|_| |_|_|\_\ |
-# | |
-# | Copyright Mathias Kettner 2014 mk(a)mathias-kettner.de |
-# +------------------------------------------------------------------+
-#
-# This file is part of Check_MK.
-# The official homepage is at
http://mathias-kettner.de/check_mk.
-#
-# check_mk is free software; you can redistribute it and/or modify it
-# under the terms of the GNU General Public License as published by
-# the Free Software Foundation in version 2. check_mk is distributed
-# in the hope that it will be useful, but WITHOUT ANY WARRANTY; with-
-# out even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE. See the GNU General Public License for more de-
-# tails. You should have received a copy of the GNU General Public
-# License along with GNU Make; see the file COPYING. If not, write
-# to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
-# Boston, MA 02110-1301 USA.
-
-$opt[1] = "--vertical-label 'CPU utilization %' -l0 -u 100 --title
\"CPU Utilization for $hostname\" ";
-#
-$def[1] = "DEF:util=$RRDFILE[1]:$DS[1]:AVERAGE " ;
-$def[1] .= "CDEF:idle=100,util,- ";
-
-$def[1] .= "AREA:util#60f020:\"Utilization\":STACK " ;
-$def[1] .= "GPRINT:util:MIN:\"Min\: %2.1lf%%\" " ;
-$def[1] .= "GPRINT:util:MAX:\"Max\: %2.1lf%%\" " ;
-$def[1] .= "GPRINT:util:LAST:\"Last\: %2.1lf%%\" " ;
-
-$def[1] .= "LINE:idle#ffffff:\"Idle\" " ;
-$def[1] .= "GPRINT:idle:LAST:\"%2.1lf%%\" " ;
-
-?>