mirror of
https://github.com/zulip/zulip.git
synced 2026-06-24 21:08:25 +08:00
nagios: add monitoring for the liveness of our users' zephyr mirrors.
Using the check_user_zephyr_mirror_liveness plugin. (imported from commit c17e112fe8696fab583a0dbc228ea9fb6e6988b0)
This commit is contained in:
parent
5498557b4b
commit
905f2d3235
@ -63,3 +63,8 @@ define command{
|
||||
command_name check_zephyr_mirror_forwarding
|
||||
command_line /usr/lib/nagios/plugins/check_by_ssh -p $ARG1$ -l nagios -t 30 -o StrictHostKeyChecking=no -i /var/lib/nagios/.ssh/id_rsa -H $HOSTADDRESS$ -C '/usr/lib/nagios/plugins/check_zephyr_mirror'
|
||||
}
|
||||
|
||||
define command{
|
||||
command_name check_user_zephyr_mirror_liveness
|
||||
command_line /usr/lib/nagios/plugins/check_by_ssh -p $ARG1$ -l nagios -t 30 -o StrictHostKeyChecking=no -i /var/lib/nagios/.ssh/id_rsa -H $HOSTADDRESS$ -C '/usr/lib/nagios/plugins/check_user_zephyr_mirror_liveness'
|
||||
}
|
||||
|
||||
@ -35,3 +35,13 @@ define service {
|
||||
retry_check_interval 1
|
||||
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
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user