Module: check_mk
Branch: master
Commit: 62b92eca23c127ee4a43e4cfa861eb6027500916
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=62b92eca23c127…
Author: Sebastian Herbord <sh(a)mathias-kettner.de>
Date: Fri Apr 29 15:51:27 2016 +0200
3128 mem.win: graphs now display the available memory
---
.werks/3128 | 10 ++++++++++
ChangeLog | 1 +
web/plugins/metrics/check_mk.py | 26 ++++++++++++++++++++++++++
3 files changed, 37 insertions(+)
diff --git a/.werks/3128 b/.werks/3128
new file mode 100644
index 0000000..0ad351b
--- /dev/null
+++ b/.werks/3128
@@ -0,0 +1,10 @@
+Title: mem.win: graphs now display the available memory
+Level: 1
+Component: checks
+Class: feature
+Compatible: compat
+State: unknown
+Version: 1.2.9i1
+Date: 1461937818
+
+
diff --git a/ChangeLog b/ChangeLog
index 45b7b6f..b31bbdd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -73,6 +73,7 @@
* 3524 fileinfo, fileinfo.groups: both checks are now cluster ready...
* 3445 mssql_versions: With up-to-date agent plugin it is now writing out the used
edition
* 3446 mssql_version: Outputs info about cluster state and cluster name
+ * 3128 mem.win: graphs now display the available memory
* 3073 FIX: windows agent: relative paths to mrpe scripts are now treated as relative
to the agent installation directory...
* 3061 FIX: mk_jolokia: Fixed debugging of the agent plugin
* 3074 FIX: windows agent: fixed incorrect values for 32-bit performance counters
diff --git a/web/plugins/metrics/check_mk.py b/web/plugins/metrics/check_mk.py
index 3149b31..9a823aa 100644
--- a/web/plugins/metrics/check_mk.py
+++ b/web/plugins/metrics/check_mk.py
@@ -5781,6 +5781,32 @@ graph_info.append({
})
graph_info.append({
+ "title" : _("RAM used"),
+ "metrics" : [
+ ("mem_used", "area"),
+ ],
+ "scalars" : [
+ ("mem_used:max#000000", "Maximum"),
+ ("mem_used:warn", "Warning"),
+ ("mem_used:crit", "Critical"),
+ ],
+ "range" : (0, "mem_used:max"),
+})
+
+graph_info.append({
+ "title" : _("Commit Charge"),
+ "metrics" : [
+ ("pagefile_used", "area"),
+ ],
+ "scalars" : [
+ ("pagefile_used:max#000000", "Maximum"),
+ ("pagefile_used:warn", "Warning"),
+ ("pagefile_used:crit", "Critical"),
+ ],
+ "range" : (0, "pagefile_used:max"),
+})
+
+graph_info.append({
"title" : _("Filesystem Writeback"),
"metrics" : [
("mem_lnx_dirty", "area"),