define command{ command_name check_rabbitmq_partition command_line exec sudo /usr/lib/nagios/plugins/check_rabbitmq_cluster --extra-opts=$ARG1$ } define command{ command_name check_rabbitmq_partition_by_ssh command_line exec ssh $HOSTADDRESS$ sudo /usr/lib/nagios/plugins/check_rabbitmq_cluster --extra-opts=$ARG1$ }