Module: check_mk
Branch: master
Commit: 02aabc943d2ba016b55ee4a78462afc5fb45dfff
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=02aabc943d2ba0…
Author: Konstantin Büttner <kb(a)mathias-kettner.de>
Date: Fri Jan 19 11:13:23 2018 +0100
Remove confusing comment
Change-Id: I8b876a80931fbbae792da847f91b3d584428a6db
---
checks/cpu_util.include | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/cpu_util.include b/checks/cpu_util.include
index c595a5c..d4bf8ce 100644
--- a/checks/cpu_util.include
+++ b/checks/cpu_util.include
@@ -184,7 +184,7 @@ def check_cpu_util_unix(values, params, cores = None):
else:
steal_perc = 0
- if len(values) >= 10: # and (values[8] or values[9]):
+ if len(values) >= 10:
guest = diff_values[8] + diff_values[9]
guest_perc = 100.0 * float(guest) / float(sum_jiffies)
yield 0, "guest: %.1f%%" % guest_perc, [ ("guest",
guest_perc) ]