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:
Jessica McKellar 2012-11-16 11:20:12 -05:00
parent 5498557b4b
commit 905f2d3235
2 changed files with 15 additions and 0 deletions

View File

@ -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'
}

View File

@ -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
}