Module: check_mk
Branch: master
Commit: 9d0cfbdb1a464bb98c1e6b0026b4d23df3e68556
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9d0cfbdb1a464b…
Author: Florian Heigl <fh(a)mathias-kettner.de>
Date: Tue Jun 5 12:37:17 2012 +0200
Man page for PostgreSQL sessions
---
checkman/postgres_sessions | 28 ++++++++++++++++++++++++++++
1 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/checkman/postgres_sessions b/checkman/postgres_sessions
new file mode 100644
index 0000000..33d3f83
--- /dev/null
+++ b/checkman/postgres_sessions
@@ -0,0 +1,28 @@
+title: PostgreSQL Database sessions
+agents: linux
+author: Mathias Kettner <mk(a)mathias-kettner.de>
+license: GPL
+distribution: check_mk
+description:
+ This check allows tracking of the session parameters for a PostgreSQL
+ database.
+ It reports how many sessions there are in total, how many of them are
+ active, and at what rate new sessions are generated.
+
+ It allows to set {WARN} and {CRIT} tresholds on any of these parameters.
+
+ The data is gathered from the {show global status} query.
+
+inventory:
+ The check generates one item for the sessions connected to the PostgreSQL
+ daemon.
+
+
+[configuration]
+ There is no preset level for this service, as the thresholds are dependant
+ on the application and usage of the PostgreSQL databases.
+
+
+perfdata:
+ The check generates perfdata for the total and running sessions, and the
+ connection rate.