/etc/nagios-plugins/config/check_rabbitmq_aliveness.cfg is in nagios-plugins-rabbitmq 1:1.2.0-2.2.
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_aliveness
command_line exec sudo /usr/lib/nagios/plugins/check_rabbitmq_aliveness --extra-opts=$ARG1$
}
define command{
command_name check_rabbitmq_aliveness_by_ssh
command_line exec ssh $HOSTADDRESS$ sudo /usr/lib/nagios/plugins/check_rabbitmq_aliveness --extra-opts=$ARG1$
}
|