Module: check_mk
Branch: master
Commit: 36f22269b7e176961c3eb255a892f16b4209868d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=36f22269b7e176…
Author: Florian Heigl <fh(a)mathias-kettner.de>
Date: Mon Jun 4 20:06:49 2012 +0200
WATO config for PostgreSQL stat_database
---
web/plugins/wato/check_parameters.py | 66 ++++++++++++++++++++++++++++++++++
1 files changed, 66 insertions(+), 0 deletions(-)
diff --git a/web/plugins/wato/check_parameters.py b/web/plugins/wato/check_parameters.py
index f7b9543..84de09b 100644
--- a/web/plugins/wato/check_parameters.py
+++ b/web/plugins/wato/check_parameters.py
@@ -1063,6 +1063,72 @@ checkgroups.append((
checkgroups.append((
subgroup_applications,
+ "postgres_stat_database"m
+ _("PostgreSQL Database Statistics"),
+ Dictionary(
+ help = _("This check monitors how often database objects in a PostgreSQL
Database are accessed"),
+ elements = [
+ ( "blocks_read",
+ Tuple(
+ title = _("disk blocks read"),
+ elements = [
+ Float(title = "warning at", unit =
_("bytes/s")),
+ Float(title = "critical at", unit =
_("bytes/s")),
+ ],
+ ),
+ ),
+ ( "xact_commit",
+ Tuple(
+ title = _("Commited transactions / subtransactions"),
+ elements = [
+ Float(title = "warning at", unit =
_("bytes/s")),
+ Float(title = "critical at", unit =
_("bytes/s")),
+ ],
+ ),
+ ),
+ ( "tup_fetched",
+ Tuple(
+ title = _("Database Fetches"),
+ elements = [
+ Float(title = "warning at", unit = _("/s")),
+ Float(title = "critical at", unit = _("/s")),
+ ],
+ ),
+ ),
+ ( "tup_deleted",
+ Tuple(
+ title = _("Tuple Deletes"),
+ elements = [
+ Float(title = "warning at", unit = _("/s")),
+ Float(title = "critical at", unit = _("/s")),
+ ],
+ ),
+ ),
+ ( "tup_updated",
+ Tuple(
+ title = _("Tuple Updates"),
+ elements = [
+ Float(title = "warning at", unit = _("/s")),
+ Float(title = "critical at", unit = _("/s")),
+ ],
+ ),
+ ),
+ ( "tup_inserted",
+ Tuple(
+ title = _("Tuple Inserts"),
+ elements = [
+ Float(title = "warning at", unit = _("/s")),
+ Float(title = "critical at", unit = _("/s")),
+ ],
+ ),
+ ),
+ ],
+ ),
+ None,
+ None))
+
+checkgroups.append((
+ subgroup_applications,
"win_dhcp_pools",
_("Windows DHCP Pool"),
Tuple(