mirror of https://github.com/zulip/zulip.git
nagios: Run check_send_receive_time check against both staging and prod.
(imported from commit 749c5f04fba4832debe8a4e702914fa47d1fbeaa)
This commit is contained in:
parent
73886a95fd
commit
b73ac39a25
|
@ -83,7 +83,7 @@ define command{
|
|||
|
||||
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'
|
||||
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 --site=https://$HOSTADDRESS$'
|
||||
}
|
||||
|
||||
define command{
|
||||
|
|
|
@ -81,7 +81,7 @@ define service {
|
|||
use generic-service
|
||||
service_description Check send receive time
|
||||
check_command check_send_receive_time!22
|
||||
host staging
|
||||
hostgroup_name frontends
|
||||
contact_groups admins
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue