~ubuntu-branches/ubuntu/vivid/nagios-plugins-rabbitmq/vivid

1
2
3
4
5
6
7
8
9
define command{
        command_name    check_rabbitmq_queue
        command_line    exec sudo /usr/lib/nagios/plugins/check_rabbitmq_queue --extra-opts=$ARG1$ --queue=$ARG2$
}

define command{
        command_name    check_rabbitmq_queue_by_ssh
        command_line    exec ssh $HOSTADDRESS$ sudo /usr/lib/nagios/plugins/check_rabbitmq_queue --extra-opts=$ARG1$ --queue=$ARG2$
}