Module: check_mk
Branch: master
Commit: 8153def74dc4898c0ad094c0fb5b0696874bd35a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=8153def74dc489…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Nov 10 10:44:14 2011 +0100
FIX: mem.win: Default levels now works, check not always OK
---
ChangeLog | 4 ++++
checks/mem | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 60a1bd5..cb898e1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -31,6 +31,10 @@
* Windows agent: new config variable "host" in all sections that
restricts the folling entries to certain hosts.
+1.1.12p2:
+ Checks & Agents:
+ * FIX: mem.win: Default levels now works, check not always OK
+
Multisite:
* New nifty sidebar snapin "Speed-O-Meter"
* FIX: Fixed encoding problem when opening dashboard
diff --git a/checks/mem b/checks/mem
index a0f928a..a8b4c4f 100644
--- a/checks/mem
+++ b/checks/mem
@@ -140,8 +140,8 @@ checkgroup_of["mem.used"] = "memory"
# Special memory and page file check for Windows
check_default_levels['mem.win'] = "memory_win_default_levels"
factory_settings["memory_win_default_levels"] = {
- "memory" : ( "80.0", "90.0" ),
- "pagefile" : ( "50.0", "70.0" ),
+ "memory" : ( 80.0, 90.0 ),
+ "pagefile" : ( 50.0, 70.0 ),
}
def inventory_mem_win(info):