zulip/servers/puppet/files/nagios3/conf.d/services.cfg

85 lines
3.1 KiB
INI
Raw Normal View History

define service{
use generic-service
hostgroup_name web
service_description HTTP
check_command check_http
}
define service {
use generic-service
hostgroup_name all
service_description SSH
check_command check_ssh
}
define service {
use generic-service
hostgroup_name all
service_description remote disk
check_command check_remote_disk!22!20%!10%!/
}
define service {
use generic-service
hostgroup_name all
service_description remote load
check_command check_remote_load!22!5.0,4.0,3.0!10.0,6.0,4.0
}
define service {
use generic-service
service_description zephyr mirror forwarding
check_command check_zephyr_mirror_forwarding!22
host zmirror
normal_check_interval 2
# Note: the actual check is run via cron, so retry_check_interval
# should always equal normal_check_interval.
retry_check_interval 2
max_check_attempts 2
}
define service {
use generic-service
service_description user zephyr mirror liveness
check_command check_user_zephyr_mirror_liveness!22
host app
normal_check_interval 2
retry_check_interval 1
max_check_attempts 2
contact_groups admins
}
define service {
use generic-service
service_description Debian update availability
check_command check_debian_packages!22
hostgroup_name all
max_check_attempts 1
contact_groups admins
}
define service {
use generic-service
service_description Check NTP time
check_command check_ntp_time!22
hostgroup_name all
}
define service {
use generic-service
service_description Check feedback bot
check_command check_feedback_bot!22
host bots
# Feedback isn't lost, it just isn't reported through Humbug
# if the bot is down, so don't page.
contact_groups admins
}
define service {
use generic-service
service_description Check send receive time
check_command check_send_receive_time!22
host staging
contact_groups admins
}