Fix NRPE config for RabbitMQ

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard 2019-08-02 00:34:34 +02:00 committed by Pierre-Yves Chibon
parent 1201377d2c
commit 0078df10eb
2 changed files with 3 additions and 2 deletions

View file

@ -1 +1 @@
command[check_nrpe_check_rabbitmq_server]=/usr/lib64/nagios/plugins-rabbitmq/check_rabbitmq_server --extra-opts=common@/etc/nrpe.d/rabbitmq_args.cfg
command[check_nrpe_check_rabbitmq_server]=/usr/lib64/nagios/plugins-rabbitmq/check_rabbitmq_server --extra-opts=common@/etc/nrpe.d/rabbitmq_args.ini

View file

@ -1,4 +1,5 @@
[common]
hostname = localhost
username = nagios-monitoring
password = {{ (env == 'production')|ternary(rabbitmq_monitoring_password_production, rabbitmq_monitoring_password_staging) }}
password = {{ (env == 'production')|ternary(rabbitmq_monitoring_password_production, rabbitmq_monitoring_password_staging) }}
node = {{ inventory_hostname }}