/etc/nagios-plugins/config/check_rabbitmq_queue.cfg is in nagios-plugins-rabbitmq 1:1.2.0-2.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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$
}
|