nagios: check sigul bridge proc
Signed-off-by: Rick Elrod <relrod@redhat.com>
This commit is contained in:
parent
f552176f95
commit
534fa31934
3 changed files with 20 additions and 0 deletions
|
@ -231,6 +231,16 @@
|
|||
tags:
|
||||
- nagios_client
|
||||
|
||||
- name: install nrpe checks for sigul_bridge
|
||||
template: src={{ item }}.j2 dest=/etc/nrpe.d/{{ item }}
|
||||
with_items:
|
||||
- check_sigul_bridge_proc.cfg
|
||||
when: inventory_hostname.startswith('sigul-bridge')
|
||||
notify:
|
||||
- restart nrpe
|
||||
tags:
|
||||
- nagios_client
|
||||
|
||||
- name: install nrpe config for the RabbitMQ checks
|
||||
template:
|
||||
src: "rabbitmq_args.ini.j2"
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
command[check_sigul_bridge_proc]={{ libdir }}/nagios/plugins/check_procs -c 1:1 -a 'sigul/bridge.py' -u sigul
|
|
@ -40,3 +40,12 @@ define service {
|
|||
check_command check_by_nrpe!check_total_procs
|
||||
use retracetemplate
|
||||
}
|
||||
|
||||
|
||||
define service {
|
||||
hostgroup sign_bridge
|
||||
service_description Sigul bridge Process
|
||||
check_command check_by_nrpe!check_sigul_bridge_proc
|
||||
use defaulttemplate
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue