etc/nagios-plugins/config/check_rabbitmq_exchange.cfg
raw| 1 | define command{ |
| 2 | command_name check_rabbitmq_exchange |
| 3 | command_line exec sudo /usr/lib/nagios/plugins/check_rabbitmq_exchange --extra-opts=$ARG1$ --exchange=$ARG2$ --period=$ARG3$ |
| 4 | } |
| 5 | |
| 6 | define command{ |
| 7 | command_name check_rabbitmq_exchange_by_ssh |
| 8 | command_line exec ssh $HOSTADDRESS$ sudo /usr/lib/nagios/plugins/check_rabbitmq_exchange --extra-opts=$ARG1$ --exchange=$ARG2$ --period=$ARG3$ |
| 9 | } |