Files
fedora-infra_ansible/roles/rabbit/queue/templates/nrpe.cfg.j2
Aurélien Bompard ac6245ddde Delegate the nagios and nrpe handlers
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
2020-04-24 21:34:08 +02:00

2 lines
361 B
Django/Jinja

command[check_rabbitmq_queue_{{ vhost.replace("/", "") }}_{{ queue_name }}]=/usr/lib64/nagios/plugins-rabbitmq/check_rabbitmq_queue --extra-opts=common@/etc/nrpe.d/rabbitmq_args.ini --vhost {{ vhost }} --queue {{ queue_name }} {% if thresholds.warning %}-w {{ thresholds.warning }}{% endif %} {% if thresholds.critical %}-c {{ thresholds.critical }}{% endif %}