From e435ae582aa789c2a90f613233f2dd9d006709e2 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Mon, 1 Mar 2021 15:36:29 +0100 Subject: [PATCH] bundles/icinga2: add monitoring for IdoPgsqlConnection --- bundles/icinga2/metadata.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bundles/icinga2/metadata.py b/bundles/icinga2/metadata.py index 149f111..6434909 100644 --- a/bundles/icinga2/metadata.py +++ b/bundles/icinga2/metadata.py @@ -42,6 +42,13 @@ defaults = { 'ICINGA STATUSMONITOR': { 'command_on_monitored_host': '/usr/local/share/icinga/plugins/check_systemd_unit icinga_statusmonitor', }, + 'IDO-PGSQL': { + 'check_command': 'ido', + 'vars.ido_type': 'IdoPgsqlConnection', + 'vars.ido_name': 'ido-pgsql', + 'vars.ido_pending_queries_warning': 25, + 'vars.ido_pending_queries_critical': 50, + }, }, }, },