Module: check_mk
Branch: master
Commit: 9484c87bc89450a7f4f5a5a978b5316950068781
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9484c87bc89450…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Fri May 12 17:15:24 2017 +0200
4654 oracle_reacovery_area: Added missing metric info
Change-Id: I407295a6685818feacd36da5a72b2502067d2355
---
.werks/4654 | 11 +++++++++++
web/plugins/metrics/check_mk.py | 13 +++++++++++++
2 files changed, 24 insertions(+)
diff --git a/.werks/4654 b/.werks/4654
new file mode 100644
index 0000000..7d397c9
--- /dev/null
+++ b/.werks/4654
@@ -0,0 +1,11 @@
+Title: oracle_recovery_area: Added missing metric info
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+Edition: cre
+State: unknown
+Version: 1.5.0i1
+Date: 1494602000
+
+
diff --git a/web/plugins/metrics/check_mk.py b/web/plugins/metrics/check_mk.py
index cfc24a0..36e7b85 100644
--- a/web/plugins/metrics/check_mk.py
+++ b/web/plugins/metrics/check_mk.py
@@ -512,6 +512,12 @@ metric_info["indexspace_wasted"] = {
"color" : "#20a080",
}
+metric_info["database_reclaimable"] = {
+ "title" : _("Database reclaimable size"),
+ "unit" : "bytes",
+ "color" : "45/a",
+}
+
metric_info["mem_total"] = {
"title" : _("RAM installed"),
"color": "#f0f0f0",
@@ -4045,6 +4051,11 @@ check_metrics["check_mk-oracle_jobs"] = {
"duration" : { "name" : "job_duration" }
}
+check_metrics["check_mk-oracle_recovery_area"] = {
+ "used" : { "name" : "database_size",
"scale" : MB },
+ "reclaimable" : { "name" : "database_reclaimable",
"scale" : MB },
+}
+
check_metrics["check_mk-vms_system.procs"] = {
"procs" : { "name" : "processes" }
}
@@ -6429,6 +6440,7 @@ graph_info["database_sizes"] = {
( "data_size", "stack" ),
( "indexes_size", "stack" ),
( "unused_size", "stack" ),
+ ( "database_reclaimable", "stack"),
],
"optional_metrics" : [
"unallocated_size",
@@ -6436,6 +6448,7 @@ graph_info["database_sizes"] = {
"data_size",
"indexes_size",
"unused_size",
+ "database_reclaimable",
],
"legend_scale" : MB,
}