mirror of https://github.com/zulip/zulip.git
Monitor the queue processors for the missedmessage_emails and slow_queries queues
(imported from commit 266b8f19b87a025ab35bd6dd4017bdf8a7694b49)
This commit is contained in:
parent
bdb8b89c3d
commit
8edbd64bb8
|
@ -126,6 +126,11 @@ define command {
|
|||
command_line /usr/lib/nagios/plugins/check_procs -C $ARG1$ -w $ARG2$ -c $ARG3$
|
||||
}
|
||||
|
||||
define command {
|
||||
command_name check_remote_arg_string
|
||||
command_line /usr/lib/nagios/plugins/check_by_ssh -p 22 -l nagios -t 30 -i /var/lib/nagios/.ssh/id_rsa -H $HOSTADDRESS$ -C '/usr/lib/nagios/plugins/check_procs -a "$ARG1$" -w $ARG2$ -c $ARG3$'
|
||||
}
|
||||
|
||||
define command {
|
||||
command_name check_fts_update_log
|
||||
command_line /usr/lib/nagios/plugins/check_by_ssh -l humbug -t 30 -i /var/lib/nagios/.ssh/id_rsa -H $HOSTADDRESS$ -C '/usr/lib/nagios/plugins/check_fts_update_log'
|
||||
|
|
|
@ -300,6 +300,22 @@ define service {
|
|||
contact_groups admins
|
||||
}
|
||||
|
||||
define service {
|
||||
use generic-service
|
||||
service_description Check missedmessage_emails queue processor
|
||||
check_command check_remote_arg_string!manage.py process_queue missedmessage_emails!1:1!1:1
|
||||
hostgroup_name frontends
|
||||
contact_groups admins
|
||||
}
|
||||
|
||||
define service {
|
||||
use generic-service
|
||||
service_description Check slow_queries queue processor
|
||||
check_command check_remote_arg_string!manage.py process_queue slow_queries!1:1!1:1
|
||||
hostgroup_name frontends
|
||||
contact_groups admins
|
||||
}
|
||||
|
||||
define service {
|
||||
use generic-service
|
||||
hostgroup_name all
|
||||
|
|
Loading…
Reference in New Issue