mirror of https://github.com/zulip/zulip.git
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:
parent
fa37ac1d73
commit
1653541e83
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue