nagios: add a send-receive delay check.

(imported from commit ed58f49440fc1e8175ea02eb5d1b0ae8b53472f0)
This commit is contained in:
Jessica McKellar 2013-01-30 10:12:15 -05:00
parent c7214a7a2c
commit a5337033b7
2 changed files with 13 additions and 0 deletions

View File

@ -94,3 +94,8 @@ define command{
command_name check_feedback_bot
command_line /usr/lib/nagios/plugins/check_by_ssh -p $ARG1$ -l nagios -t 30 -i /var/lib/nagios/.ssh/id_rsa -H $HOSTADDRESS$ -C '/usr/lib/nagios/plugins/check_procs -c 1:1 -a "/usr/bin/python /home/humbug/humbug/api/bots/feedback-bot"'
}
define command{
command_name check_send_receive_time
command_line /usr/lib/nagios/plugins/check_by_ssh -p $ARG1$ -l humbug -t 30 -i /var/lib/nagios/.ssh/id_rsa -H $HOSTADDRESS$ -C '/usr/lib/nagios/plugins/check_send_receive_time --nagios'
}

View File

@ -74,3 +74,11 @@ define service {
# 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
}