2013-01-24 17:43:47 +01:00
|
|
|
define service {
|
2013-02-19 17:56:16 +01:00
|
|
|
use generic-service
|
|
|
|
hostgroup_name web
|
2014-06-05 20:47:16 +02:00
|
|
|
service_description HTTPS
|
|
|
|
check_command check_https_status
|
2013-02-19 17:56:16 +01:00
|
|
|
contact_groups page_admins
|
2013-01-24 17:43:47 +01:00
|
|
|
}
|
2012-11-01 15:47:50 +01:00
|
|
|
|
|
|
|
define service {
|
|
|
|
use generic-service
|
2013-06-04 22:07:49 +02:00
|
|
|
hostgroup_name pageable_servers
|
|
|
|
service_description SSH - pageable
|
|
|
|
check_command check_ssh
|
|
|
|
contact_groups page_admins
|
|
|
|
}
|
|
|
|
|
2014-03-08 00:45:16 +01:00
|
|
|
define service {
|
|
|
|
use generic-service
|
|
|
|
hostgroup_name zmirror
|
|
|
|
service_description SSH for flaky machines
|
|
|
|
check_command check_ssh
|
|
|
|
normal_check_interval 2
|
|
|
|
retry_check_interval 2
|
|
|
|
max_check_attempts 5
|
|
|
|
contact_groups admins
|
|
|
|
}
|
|
|
|
|
2013-06-04 22:07:49 +02:00
|
|
|
define service {
|
|
|
|
use generic-service
|
|
|
|
hostgroup_name not_pageable_servers
|
2012-11-01 15:47:50 +01:00
|
|
|
service_description SSH
|
|
|
|
check_command check_ssh
|
2013-06-04 22:07:49 +02:00
|
|
|
contact_groups admins
|
|
|
|
}
|
|
|
|
|
|
|
|
define service {
|
|
|
|
use generic-service
|
|
|
|
hostgroup_name pageable_servers
|
|
|
|
service_description remote disk - pageable
|
2013-12-09 19:26:51 +01:00
|
|
|
check_command check_remote_disk!20%!10%
|
2013-02-19 17:56:16 +01:00
|
|
|
contact_groups page_admins
|
2012-11-01 15:47:50 +01:00
|
|
|
}
|
2012-11-16 16:42:52 +01:00
|
|
|
|
2014-03-08 00:45:16 +01:00
|
|
|
define service {
|
|
|
|
use generic-service
|
|
|
|
hostgroup_name zmirror
|
|
|
|
service_description remote disk for flaky machines
|
|
|
|
check_command check_remote_disk!20%!10%
|
|
|
|
normal_check_interval 2
|
|
|
|
retry_check_interval 2
|
|
|
|
max_check_attempts 5
|
|
|
|
contact_groups admins
|
|
|
|
}
|
|
|
|
|
2012-11-16 16:42:52 +01:00
|
|
|
define service {
|
|
|
|
use generic-service
|
2013-06-04 22:07:49 +02:00
|
|
|
hostgroup_name not_pageable_servers
|
2012-11-16 16:42:52 +01:00
|
|
|
service_description remote disk
|
2013-12-09 19:26:51 +01:00
|
|
|
check_command check_remote_disk!20%!10%
|
2013-06-04 22:07:49 +02:00
|
|
|
contact_groups admins
|
2012-11-16 16:42:52 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
define service {
|
|
|
|
use generic-service
|
2013-06-04 22:07:49 +02:00
|
|
|
hostgroup_name not_pageable_servers
|
2012-11-16 16:42:52 +01:00
|
|
|
service_description remote load
|
2020-04-17 01:47:05 +02:00
|
|
|
check_command check_remote_load!22!7.0,6.0,5.0!10.0,8.0,6.0
|
2013-06-04 22:07:49 +02:00
|
|
|
contact_groups admins
|
|
|
|
}
|
|
|
|
|
|
|
|
define service {
|
|
|
|
use generic-service
|
|
|
|
hostgroup_name pageable_servers
|
|
|
|
service_description remote load - pageable
|
2020-04-17 01:47:05 +02:00
|
|
|
check_command check_remote_load!22!7.0,6.0,5.0!10.0,8.0,6.0
|
2013-06-04 22:07:49 +02:00
|
|
|
contact_groups admins
|
2012-11-16 16:42:52 +01:00
|
|
|
}
|
2012-11-16 17:19:53 +01:00
|
|
|
|
2014-03-08 00:45:16 +01:00
|
|
|
|
|
|
|
define service {
|
|
|
|
use generic-service
|
|
|
|
hostgroup_name zmirror
|
|
|
|
service_description remote load for flaky machines
|
|
|
|
check_command check_remote_load!22!5.0,4.0,3.0!10.0,6.0,4.0
|
|
|
|
normal_check_interval 2
|
|
|
|
retry_check_interval 2
|
|
|
|
max_check_attempts 5
|
|
|
|
contact_groups admins
|
|
|
|
}
|
|
|
|
|
2012-11-16 17:19:53 +01:00
|
|
|
define service {
|
|
|
|
use generic-service
|
|
|
|
service_description zephyr mirror forwarding
|
|
|
|
check_command check_zephyr_mirror_forwarding!22
|
2017-10-06 04:58:35 +02:00
|
|
|
hostgroup_name zmirror_main
|
2012-11-16 17:19:53 +01:00
|
|
|
normal_check_interval 2
|
2012-12-19 17:14:51 +01:00
|
|
|
# Note: the actual check is run via cron, so retry_check_interval
|
|
|
|
# should always equal normal_check_interval.
|
|
|
|
retry_check_interval 2
|
2014-03-08 00:45:16 +01:00
|
|
|
max_check_attempts 5
|
2017-10-12 09:16:32 +02:00
|
|
|
contact_groups page_admins
|
2012-11-16 17:19:53 +01:00
|
|
|
}
|
2012-11-16 17:20:12 +01:00
|
|
|
|
|
|
|
define service {
|
|
|
|
use generic-service
|
|
|
|
service_description user zephyr mirror liveness
|
|
|
|
check_command check_user_zephyr_mirror_liveness!22
|
2017-10-06 04:58:35 +02:00
|
|
|
hostgroup prod_frontends
|
2013-01-02 22:07:52 +01:00
|
|
|
contact_groups admins
|
2012-11-16 17:20:12 +01:00
|
|
|
}
|
2012-11-21 20:17:15 +01:00
|
|
|
|
2013-08-26 21:43:29 +02:00
|
|
|
define service {
|
|
|
|
use generic-service
|
2017-10-06 04:58:35 +02:00
|
|
|
hostgroup zmirrorp
|
2013-08-26 21:43:29 +02:00
|
|
|
service_description Check personal zephyr mirrors
|
|
|
|
check_command check_personal_zephyr_mirrors!22
|
|
|
|
contact_groups admins
|
|
|
|
}
|
|
|
|
|
2012-11-21 20:17:15 +01:00
|
|
|
define service {
|
|
|
|
use generic-service
|
|
|
|
service_description Debian update availability
|
|
|
|
check_command check_debian_packages!22
|
|
|
|
hostgroup_name all
|
2013-01-02 22:07:52 +01:00
|
|
|
contact_groups admins
|
2012-11-21 20:17:15 +01:00
|
|
|
}
|
2013-01-02 23:49:05 +01:00
|
|
|
|
|
|
|
define service {
|
|
|
|
use generic-service
|
|
|
|
service_description Check NTP time
|
|
|
|
check_command check_ntp_time!22
|
2016-08-06 05:13:34 +02:00
|
|
|
max_check_attempts 3
|
2013-01-02 23:49:05 +01:00
|
|
|
hostgroup_name all
|
2013-01-24 17:43:47 +01:00
|
|
|
contact_groups admins
|
2013-01-02 23:49:05 +01:00
|
|
|
}
|
2013-01-03 16:56:36 +01:00
|
|
|
|
2013-01-30 16:12:15 +01:00
|
|
|
define service {
|
|
|
|
use generic-service
|
|
|
|
service_description Check send receive time
|
|
|
|
check_command check_send_receive_time!22
|
2016-10-29 06:25:29 +02:00
|
|
|
max_check_attempts 2
|
2013-04-16 16:56:41 +02:00
|
|
|
hostgroup_name frontends
|
2016-10-29 06:25:29 +02:00
|
|
|
contact_groups page_admins
|
2013-01-30 16:12:15 +01:00
|
|
|
}
|
2013-01-30 16:14:38 +01:00
|
|
|
|
2017-10-05 19:34:33 +02:00
|
|
|
define service {
|
|
|
|
use generic-service
|
|
|
|
service_description Check analytics state
|
|
|
|
check_command check_analytics_state!22
|
|
|
|
max_check_attempts 2
|
2018-03-06 22:38:27 +01:00
|
|
|
hostgroup_name prod_frontends
|
2017-10-05 19:34:33 +02:00
|
|
|
contact_groups admins
|
|
|
|
}
|
|
|
|
|
2020-06-16 00:36:20 +02:00
|
|
|
## check_postgres services
|
2013-01-30 16:14:38 +01:00
|
|
|
|
|
|
|
define service {
|
|
|
|
use generic-service
|
2020-10-23 02:43:28 +02:00
|
|
|
service_description Check Postgres autovac_freeze
|
2016-07-31 07:51:00 +02:00
|
|
|
check_command check_postgres!zulip!nagios!autovac_freeze
|
2020-10-26 22:00:36 +01:00
|
|
|
hostgroup postgresql_primary
|
2013-01-30 16:14:38 +01:00
|
|
|
contact_groups admins
|
|
|
|
}
|
|
|
|
|
|
|
|
define service {
|
|
|
|
use generic-service
|
2020-10-23 02:43:28 +02:00
|
|
|
service_description Check Postgres backends
|
2016-07-31 07:51:00 +02:00
|
|
|
check_command check_postgres!zulip!nagios!backends
|
2020-10-26 22:00:36 +01:00
|
|
|
hostgroup postgresql
|
2013-01-30 16:14:38 +01:00
|
|
|
contact_groups admins
|
|
|
|
}
|
|
|
|
|
|
|
|
define service {
|
|
|
|
use generic-service
|
2020-10-23 02:43:28 +02:00
|
|
|
service_description Check Postgres connection
|
2016-07-31 07:51:00 +02:00
|
|
|
check_command check_postgres!zulip!nagios!connection
|
2020-10-26 22:00:36 +01:00
|
|
|
hostgroup postgresql
|
2016-10-29 06:25:29 +02:00
|
|
|
contact_groups page_admins
|
2013-01-30 16:14:38 +01:00
|
|
|
}
|
|
|
|
|
2014-03-12 18:02:48 +01:00
|
|
|
define service {
|
|
|
|
use generic-service
|
2020-10-23 02:43:28 +02:00
|
|
|
service_description Check Postgres disabled triggers
|
2016-07-31 07:51:00 +02:00
|
|
|
check_command check_postgres!zulip!nagios!disabled_triggers
|
2020-10-26 22:00:36 +01:00
|
|
|
hostgroup postgresql
|
2014-03-12 18:02:48 +01:00
|
|
|
contact_groups admins
|
|
|
|
}
|
|
|
|
|
2013-01-30 16:14:38 +01:00
|
|
|
define service {
|
|
|
|
use generic-service
|
2020-10-23 02:43:28 +02:00
|
|
|
service_description Check Postgres hitratio
|
2016-07-31 07:51:00 +02:00
|
|
|
check_command check_postgres!zulip!nagios!hitratio
|
2020-10-26 22:00:36 +01:00
|
|
|
hostgroup postgresql
|
2013-01-30 16:14:38 +01:00
|
|
|
contact_groups admins
|
|
|
|
}
|
|
|
|
|
|
|
|
define service {
|
|
|
|
use generic-service
|
2020-10-23 02:43:28 +02:00
|
|
|
service_description Check Postgres locks
|
2019-10-24 00:04:38 +02:00
|
|
|
check_command check_postgres_alert_args!zulip!nagios!locks!400!600
|
2020-10-26 22:00:36 +01:00
|
|
|
hostgroup postgresql
|
2013-01-30 16:14:38 +01:00
|
|
|
contact_groups admins
|
|
|
|
}
|
|
|
|
|
|
|
|
define service {
|
|
|
|
use generic-service
|
2020-10-23 02:43:28 +02:00
|
|
|
service_description Check Postgres query_time
|
2016-07-31 07:51:00 +02:00
|
|
|
check_command check_postgres_alert_args!zulip!nagios!query_time!20 seconds!40 seconds
|
2020-10-26 22:00:36 +01:00
|
|
|
hostgroup postgresql
|
2013-01-30 16:14:38 +01:00
|
|
|
contact_groups admins
|
|
|
|
}
|
|
|
|
|
|
|
|
define service {
|
|
|
|
use generic-service
|
2020-10-23 02:43:28 +02:00
|
|
|
service_description Check Postgres sequence
|
2016-07-31 07:51:00 +02:00
|
|
|
check_command check_postgres!zulip!nagios!sequence
|
2020-10-26 22:00:36 +01:00
|
|
|
hostgroup postgresql
|
2013-01-30 16:14:38 +01:00
|
|
|
contact_groups admins
|
|
|
|
}
|
|
|
|
|
|
|
|
define service {
|
|
|
|
use generic-service
|
2020-10-23 02:43:28 +02:00
|
|
|
service_description Check Postgres timesync
|
2016-07-31 07:51:00 +02:00
|
|
|
check_command check_postgres!zulip!nagios!timesync
|
2020-10-26 22:00:36 +01:00
|
|
|
hostgroup postgresql
|
2013-01-30 16:14:38 +01:00
|
|
|
contact_groups admins
|
|
|
|
}
|
|
|
|
|
2014-03-17 15:47:26 +01:00
|
|
|
# define service {
|
|
|
|
# use generic-service
|
2020-10-23 02:43:28 +02:00
|
|
|
# service_description Check Postgres txn_idle
|
2016-07-31 07:51:00 +02:00
|
|
|
# check_command check_postgres_alert_args!zulip!nagios!txn_idle!20 seconds!40 seconds
|
2020-10-26 22:00:36 +01:00
|
|
|
# hostgroup postgresql
|
2014-03-17 15:47:26 +01:00
|
|
|
# contact_groups admins
|
|
|
|
# }
|
2014-03-12 17:14:13 +01:00
|
|
|
|
|
|
|
define service {
|
|
|
|
use generic-service
|
2020-10-23 02:43:28 +02:00
|
|
|
service_description Check Postgres txn_time
|
2016-07-31 07:51:00 +02:00
|
|
|
check_command check_postgres_alert_args!zulip!nagios!txn_time!20 seconds!40 seconds
|
2020-10-26 22:00:36 +01:00
|
|
|
hostgroup postgresql
|
2014-03-12 17:14:13 +01:00
|
|
|
contact_groups admins
|
|
|
|
}
|
2013-01-30 15:59:41 +01:00
|
|
|
|
2013-08-07 17:56:31 +02:00
|
|
|
define service {
|
|
|
|
use generic-service
|
|
|
|
service_description Check FTS update log length
|
|
|
|
check_command check_fts_update_log
|
2020-10-26 22:00:36 +01:00
|
|
|
hostgroup postgresql
|
2013-08-07 17:56:31 +02:00
|
|
|
contact_groups admins
|
|
|
|
}
|
|
|
|
|
2020-06-15 23:56:55 +02:00
|
|
|
define service{
|
|
|
|
use generic-service
|
2020-10-23 02:43:28 +02:00
|
|
|
service_description Check Postgres replication lag
|
2020-06-15 23:56:55 +02:00
|
|
|
check_command check_postgres_replication_lag
|
2020-10-26 22:00:36 +01:00
|
|
|
hostgroup postgresql
|
2020-06-15 23:56:55 +02:00
|
|
|
contact_groups admins
|
|
|
|
}
|
|
|
|
|
2013-08-26 22:52:19 +02:00
|
|
|
define service {
|
|
|
|
use generic-service
|
|
|
|
service_description Check last Postgres backup time
|
|
|
|
check_command check_postgres_backup
|
2020-10-26 22:00:36 +01:00
|
|
|
hostgroup postgresql
|
2013-08-26 22:52:19 +02:00
|
|
|
contact_groups admins
|
|
|
|
}
|
|
|
|
|
2013-02-05 19:17:49 +01:00
|
|
|
define service {
|
|
|
|
use generic-service
|
2014-03-08 00:45:16 +01:00
|
|
|
service_description zmirror subscriptions syncing
|
2013-02-05 19:17:49 +01:00
|
|
|
check_command check_sync_public_streams!22
|
2017-10-06 04:58:35 +02:00
|
|
|
hostgroup zmirror_main
|
2014-03-08 00:45:16 +01:00
|
|
|
normal_check_interval 2
|
|
|
|
retry_check_interval 2
|
|
|
|
max_check_attempts 5
|
|
|
|
contact_groups admins
|
2013-02-05 19:17:49 +01:00
|
|
|
}
|
2013-02-19 18:06:25 +01:00
|
|
|
|
2016-08-01 05:32:30 +02:00
|
|
|
define service {
|
|
|
|
use generic-service
|
|
|
|
service_description Check redis service
|
|
|
|
check_command check_redis_ssh!22
|
|
|
|
max_check_attempts 3
|
|
|
|
hostgroups frontends, redis
|
|
|
|
contact_groups page_admins
|
|
|
|
}
|
|
|
|
|
2013-02-19 18:06:25 +01:00
|
|
|
define service {
|
|
|
|
use generic-service
|
2020-10-23 02:43:28 +02:00
|
|
|
service_description Check RabbitMQ queue sizes
|
2013-02-19 18:06:25 +01:00
|
|
|
check_command check_rabbitmq_queues!22
|
2013-09-04 00:03:51 +02:00
|
|
|
# Workaround weird checks 40s after first error causing alerts
|
|
|
|
# from a single failure because cron hasn't run again yet
|
|
|
|
max_check_attempts 3
|
2013-03-19 20:04:28 +01:00
|
|
|
hostgroup_name frontends
|
|
|
|
contact_groups page_admins
|
2013-02-19 18:06:25 +01:00
|
|
|
}
|
2013-02-19 21:29:38 +01:00
|
|
|
|
2013-10-29 21:46:31 +01:00
|
|
|
define service {
|
|
|
|
use generic-service
|
|
|
|
service_description Check for queue worker errors.
|
|
|
|
check_command check_queue_worker_errors!22
|
|
|
|
hostgroup_name frontends
|
|
|
|
contact_groups admins
|
|
|
|
}
|
|
|
|
|
2013-04-16 20:07:53 +02:00
|
|
|
define service {
|
|
|
|
use generic-service
|
2020-10-23 02:43:28 +02:00
|
|
|
service_description Check RabbitMQ notify_tornado consumers
|
2013-09-23 20:58:02 +02:00
|
|
|
check_command check_rabbitmq_consumers!notify_tornado
|
2013-09-04 00:03:51 +02:00
|
|
|
# Workaround weird checks 40s after first error causing alerts
|
|
|
|
# from a single failure because cron hasn't run again yet
|
|
|
|
max_check_attempts 3
|
2018-11-07 01:31:41 +01:00
|
|
|
hostgroup_name singletornado_frontends
|
2013-05-17 22:04:17 +02:00
|
|
|
contact_groups page_admins
|
2013-05-16 19:01:55 +02:00
|
|
|
}
|
|
|
|
|
2013-09-23 21:51:37 +02:00
|
|
|
define service {
|
|
|
|
use generic-service
|
2020-10-23 02:43:28 +02:00
|
|
|
service_description Check RabbitMQ user_activity_interval consumers
|
2013-09-23 21:51:37 +02:00
|
|
|
check_command check_rabbitmq_consumers!user_activity_interval
|
|
|
|
# Workaround weird checks 40s after first error causing alerts
|
|
|
|
# from a single failure because cron hasn't run again yet
|
|
|
|
max_check_attempts 3
|
|
|
|
hostgroup_name frontends
|
|
|
|
contact_groups admins
|
|
|
|
}
|
|
|
|
|
|
|
|
define service {
|
|
|
|
use generic-service
|
2020-10-23 02:43:28 +02:00
|
|
|
service_description Check RabbitMQ user_presence consumers
|
2013-09-23 21:51:37 +02:00
|
|
|
check_command check_rabbitmq_consumers!user_presence
|
|
|
|
# Workaround weird checks 40s after first error causing alerts
|
|
|
|
# from a single failure because cron hasn't run again yet
|
|
|
|
max_check_attempts 3
|
|
|
|
hostgroup_name frontends
|
|
|
|
contact_groups admins
|
|
|
|
}
|
|
|
|
|
2013-05-16 19:01:55 +02:00
|
|
|
define service {
|
|
|
|
use generic-service
|
2020-10-23 02:43:28 +02:00
|
|
|
service_description Check RabbitMQ invites consumers
|
2013-09-23 20:58:02 +02:00
|
|
|
check_command check_rabbitmq_consumers!invites
|
2013-09-04 00:03:51 +02:00
|
|
|
# Workaround weird checks 40s after first error causing alerts
|
|
|
|
# from a single failure because cron hasn't run again yet
|
|
|
|
max_check_attempts 3
|
2013-05-17 22:04:17 +02:00
|
|
|
hostgroup_name frontends
|
2013-05-16 19:01:55 +02:00
|
|
|
contact_groups admins
|
|
|
|
}
|
|
|
|
|
|
|
|
define service {
|
|
|
|
use generic-service
|
2020-10-23 02:43:28 +02:00
|
|
|
service_description Check RabbitMQ signups consumers
|
2013-09-23 20:58:02 +02:00
|
|
|
check_command check_rabbitmq_consumers!signups
|
2013-09-04 00:03:51 +02:00
|
|
|
# Workaround weird checks 40s after first error causing alerts
|
|
|
|
# from a single failure because cron hasn't run again yet
|
|
|
|
max_check_attempts 3
|
2013-05-17 22:04:17 +02:00
|
|
|
hostgroup_name frontends
|
2013-05-16 19:01:55 +02:00
|
|
|
contact_groups admins
|
2013-04-16 20:07:53 +02:00
|
|
|
}
|
|
|
|
|
2016-08-13 04:29:11 +02:00
|
|
|
define service {
|
|
|
|
use generic-service
|
2020-10-23 02:43:28 +02:00
|
|
|
service_description Check RabbitMQ digest email consumers
|
2016-08-13 04:29:11 +02:00
|
|
|
check_command check_rabbitmq_consumers!digest_emails
|
|
|
|
# Workaround weird checks 40s after first error causing alerts
|
|
|
|
# from a single failure because cron hasn't run again yet
|
|
|
|
max_check_attempts 3
|
|
|
|
hostgroup_name frontends
|
|
|
|
contact_groups admins
|
|
|
|
}
|
|
|
|
|
|
|
|
define service {
|
|
|
|
use generic-service
|
2020-10-23 02:43:28 +02:00
|
|
|
service_description Check RabbitMQ email mirror consumers
|
2016-08-13 04:29:11 +02:00
|
|
|
check_command check_rabbitmq_consumers!email_mirror
|
|
|
|
# Workaround weird checks 40s after first error causing alerts
|
|
|
|
# from a single failure because cron hasn't run again yet
|
|
|
|
max_check_attempts 3
|
|
|
|
hostgroup_name frontends
|
|
|
|
contact_groups admins
|
|
|
|
}
|
|
|
|
|
|
|
|
define service {
|
|
|
|
use generic-service
|
2020-10-23 02:43:28 +02:00
|
|
|
service_description Check RabbitMQ missedmessage mobile notifications consumers
|
2016-08-13 04:29:11 +02:00
|
|
|
check_command check_rabbitmq_consumers!missedmessage_mobile_notifications
|
|
|
|
# Workaround weird checks 40s after first error causing alerts
|
|
|
|
# from a single failure because cron hasn't run again yet
|
|
|
|
max_check_attempts 3
|
|
|
|
hostgroup_name frontends
|
|
|
|
contact_groups admins
|
|
|
|
}
|
|
|
|
|
2020-10-10 06:17:05 +02:00
|
|
|
define service {
|
|
|
|
use generic-service
|
2020-10-23 02:43:28 +02:00
|
|
|
service_description Check RabbitMQ missedmessage email consumers
|
2020-10-10 06:17:05 +02:00
|
|
|
check_command check_rabbitmq_consumers!missedmessage_email
|
|
|
|
# Workaround weird checks 40s after first error causing alerts
|
|
|
|
# from a single failure because cron hasn't run again yet
|
|
|
|
max_check_attempts 3
|
|
|
|
hostgroup_name frontends
|
|
|
|
contact_groups admins
|
|
|
|
}
|
|
|
|
|
|
|
|
define service {
|
|
|
|
use generic-service
|
2020-10-23 02:43:28 +02:00
|
|
|
service_description Check RabbitMQ user activity consumers
|
2020-10-10 06:17:05 +02:00
|
|
|
check_command check_rabbitmq_consumers!user_activity
|
|
|
|
# Workaround weird checks 40s after first error causing alerts
|
|
|
|
# from a single failure because cron hasn't run again yet
|
|
|
|
max_check_attempts 3
|
|
|
|
hostgroup_name frontends
|
|
|
|
contact_groups admins
|
|
|
|
}
|
2016-08-13 04:29:11 +02:00
|
|
|
|
2017-05-25 20:41:29 +02:00
|
|
|
define service {
|
|
|
|
use generic-service
|
|
|
|
service_description Check embedded_bots queue processor
|
|
|
|
check_command check_remote_arg_string!manage.py process_queue --queue_name=embedded_bots!1:1!1:1
|
|
|
|
max_check_attempts 3
|
|
|
|
hostgroup_name frontends
|
|
|
|
contact_groups admins
|
|
|
|
}
|
|
|
|
|
2013-10-04 23:49:00 +02:00
|
|
|
define service {
|
|
|
|
use generic-service
|
|
|
|
service_description Check missedmessage_emails queue processor
|
2016-03-27 23:59:08 +02:00
|
|
|
check_command check_remote_arg_string!manage.py process_queue --queue_name=missedmessage_emails!1:1!1:1
|
2013-12-19 23:02:18 +01:00
|
|
|
max_check_attempts 3
|
2018-02-28 20:15:53 +01:00
|
|
|
hostgroup_name frontends
|
|
|
|
contact_groups admins
|
|
|
|
}
|
|
|
|
|
2017-11-29 08:25:57 +01:00
|
|
|
define service {
|
|
|
|
use generic-service
|
|
|
|
service_description Check email_senders queue processor
|
|
|
|
check_command check_remote_arg_string!manage.py process_queue --queue_name=email_senders!1:1!1:1
|
|
|
|
max_check_attempts 3
|
|
|
|
hostgroup_name frontends
|
|
|
|
contact_groups admins
|
|
|
|
}
|
|
|
|
|
2017-04-20 22:04:08 +02:00
|
|
|
define service {
|
|
|
|
use generic-service
|
|
|
|
service_description Check outgoing webhooks queue processor
|
|
|
|
check_command check_remote_arg_string!manage.py process_queue --queue_name=outgoing_webhooks!1:1!1:1
|
|
|
|
max_check_attempts 3
|
|
|
|
hostgroup_name frontends
|
|
|
|
contact_groups admins
|
|
|
|
}
|
|
|
|
|
2017-11-13 21:24:51 +01:00
|
|
|
define service {
|
|
|
|
use generic-service
|
|
|
|
service_description Check deferred_work queue processor
|
|
|
|
check_command check_remote_arg_string!manage.py process_queue --queue_name=deferred_work!1:1!1:1
|
|
|
|
max_check_attempts 3
|
|
|
|
hostgroup_name frontends
|
|
|
|
contact_groups admins
|
|
|
|
}
|
|
|
|
|
2013-12-03 22:01:49 +01:00
|
|
|
define service {
|
|
|
|
use generic-service
|
|
|
|
service_description Check worker memory usage
|
|
|
|
check_command check_worker_memory
|
|
|
|
hostgroup_name frontends
|
|
|
|
contact_groups admins
|
|
|
|
}
|
|
|
|
|
2013-02-19 21:29:38 +01:00
|
|
|
define service {
|
|
|
|
use generic-service
|
2016-07-31 23:45:39 +02:00
|
|
|
hostgroup_name all
|
2013-02-19 21:29:38 +01:00
|
|
|
service_description swap
|
|
|
|
check_command check_remote_swap!22!80%!50%
|
|
|
|
contact_groups admins
|
|
|
|
}
|
2013-08-26 18:22:09 +02:00
|
|
|
|
2013-11-12 21:31:06 +01:00
|
|
|
define service {
|
|
|
|
use generic-service
|
2017-10-06 04:58:35 +02:00
|
|
|
hostgroup_name staging_frontends
|
2020-01-30 21:23:36 +01:00
|
|
|
service_description Check email deliverer process
|
2013-11-12 21:31:06 +01:00
|
|
|
check_command check_email_deliverer_process
|
|
|
|
contact_groups admins
|
|
|
|
}
|
|
|
|
|
|
|
|
define service {
|
|
|
|
use generic-service
|
2017-10-06 04:58:35 +02:00
|
|
|
hostgroup_name staging_frontends
|
2020-01-30 21:23:36 +01:00
|
|
|
service_description Check email deliverer backlog
|
2013-11-12 21:31:06 +01:00
|
|
|
check_command check_email_deliverer_backlog
|
|
|
|
contact_groups admins
|
|
|
|
}
|