Module: check_mk
Branch: master
Commit: c48d50b3758c86853c95711d00362ebe07277d3c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c48d50b3758c86…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Thu Jan 26 14:02:59 2017 +0100
4305 FIX postgres_stat_database.size: fixed missing database size perfometer
Change-Id: I4aa806918f9ae931e3cb49abb22bb6dba05f4d15
---
.werks/4305 | 10 ++++++++++
ChangeLog | 1 +
web/plugins/metrics/check_mk.py | 4 ++++
3 files changed, 15 insertions(+)
diff --git a/.werks/4305 b/.werks/4305
new file mode 100644
index 0000000..ea502f6
--- /dev/null
+++ b/.werks/4305
@@ -0,0 +1,10 @@
+Title: postgres_stat_database.size: fixed missing database size perfometer
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.4.0i4
+Date: 1485435749
+
+
diff --git a/ChangeLog b/ChangeLog
index 33a678a..74bf3eb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -73,6 +73,7 @@
* 4303 FIX: sap_state: fixed error handling
* 4214 FIX: jolokia_metrics.tp: Fix crash in case of partial thread information...
* 4304 FIX: mk_inventory.linux: fixed missing redirection to null device in if
statement
+ * 4305 FIX: postgres_stat_database.size: fixed missing database size perfometer
Multisite:
* 4169 View action: Default values of sticky, notification and persistent options can
now be configured via global settings....
diff --git a/web/plugins/metrics/check_mk.py b/web/plugins/metrics/check_mk.py
index af87ff3..0c11283 100644
--- a/web/plugins/metrics/check_mk.py
+++ b/web/plugins/metrics/check_mk.py
@@ -4519,6 +4519,10 @@ check_metrics["check_mk-postgres_sessions"] = {
"running": {"name": "running_sessions"}
}
+check_metrics["check_mk-postgres_stat_database.size"] = {
+ "size" : { "name" : "database_size"}
+}
+
check_metrics["check_mk-oracle_sessions"] = {
"sessions" : {"name": "running_sessions"}
}