diff --git a/puppet/zulip_internal/files/nagios3/conf.d/services.cfg b/puppet/zulip_internal/files/nagios3/conf.d/services.cfg index c2d0b28613..f92c692c9b 100644 --- a/puppet/zulip_internal/files/nagios3/conf.d/services.cfg +++ b/puppet/zulip_internal/files/nagios3/conf.d/services.cfg @@ -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