NRPE does not accept arguments
Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
parent
41ae017220
commit
7c2377748e
3 changed files with 3 additions and 1 deletions
|
@ -241,6 +241,7 @@
|
||||||
group: root
|
group: root
|
||||||
mode: 0600
|
mode: 0600
|
||||||
with_items:
|
with_items:
|
||||||
|
- check_rabbitmq_server.cfg
|
||||||
- rabbitmq_args.cfg
|
- rabbitmq_args.cfg
|
||||||
when: inventory_hostname.startswith('rabbitmq')
|
when: inventory_hostname.startswith('rabbitmq')
|
||||||
notify:
|
notify:
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
command[check_nrpe_check_rabbitmq_server]=/usr/lib64/nagios/plugins-rabbitmq/check_rabbitmq_server --extra-opts=common@/etc/nrpe.d/rabbitmq_args.cfg
|
|
@ -1,6 +1,6 @@
|
||||||
define service {
|
define service {
|
||||||
host_name rabbitmq01.phx2.fedoraproject.org
|
host_name rabbitmq01.phx2.fedoraproject.org
|
||||||
service_description Check bus server processes
|
service_description Check bus server processes
|
||||||
check_command check_by_nrpe!check_nrpe_check_rabbitmq_server!common@/etc/nrpe.d/rabbitmq_args.cfg
|
check_command check_by_nrpe!check_nrpe_check_rabbitmq_server
|
||||||
use defaulttemplate
|
use defaulttemplate
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue