nagios: Re-enable Postgres transaction time checks

We believe these will generally no longer be disruptive now that we have
autocommit enabled.

(imported from commit c8c1301e0d4b188d6708173cd8c8b16279e3d910)
This commit is contained in:
Zev Benjamin 2014-03-12 12:14:13 -04:00 committed by Leo Franchi
parent fa37ac1d73
commit 1653541e83
1 changed files with 30 additions and 14 deletions

View File

@ -207,21 +207,21 @@ define service {
contact_groups admins
}
# define service {
# use generic-service
# service_description Check postgres txn_idle
# check_command check_postgres_alert_args!zulip!zulip!txn_idle!20 seconds!40 seconds
# hostgroup postgres
# contact_groups admins
# }
define service {
use generic-service
service_description Check postgres txn_idle
check_command check_postgres_alert_args!zulip!zulip!txn_idle!20 seconds!40 seconds
hostgroup postgres_appdb
contact_groups admins
}
# define service {
# use generic-service
# service_description Check postgres txn_time
# check_command check_postgres_alert_args!zulip!zulip!txn_time!20 seconds!40 seconds
# hostgroup postgres
# contact_groups admins
# }
define service {
use generic-service
service_description Check postgres txn_time
check_command check_postgres_alert_args!zulip!zulip!txn_time!20 seconds!40 seconds
hostgroup postgres_appdb
contact_groups admins
}
## non-appdb check_postgres.pl checks
@ -273,6 +273,22 @@ define service {
contact_groups admins
}
define service {
use generic-service
service_description Check postgres txn_idle
check_command check_postgres_alert_args!wiki,trac!zulip!txn_idle!20 seconds!40 seconds
host trac
contact_groups admins
}
define service {
use generic-service
service_description Check postgres txn_time
check_command check_postgres_alert_args!wiki,trac!zulip!txn_time!20 seconds!40 seconds
host trac
contact_groups admins
}
define service {
use generic-service
service_description Check FTS update log length