copr-be: fixup copr-ping nagios mapping
This commit is contained in:
parent
54c5c85eaa
commit
73ba7d25b1
5 changed files with 5 additions and 6 deletions
|
@ -39,8 +39,8 @@
|
|||
|
||||
- name: install the check script
|
||||
template:
|
||||
dest: "/usr/bin/{{ ping_check_script }}"
|
||||
src: "{{ ping_check_script }}.j2"
|
||||
dest: "/usr/bin/copr-ping-check.py"
|
||||
src: "copr-ping-check.py.j2"
|
||||
owner: "{{ ping_user }}"
|
||||
group: "{{ ping_user }}"
|
||||
mode: 0700
|
||||
|
|
|
@ -1 +1 @@
|
|||
command[copr_ping_check]=/usr/bin/{{ ping_check_script }}
|
||||
command[check_copr_ping]=/usr/bin/copr-ping-check.py
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
---
|
||||
ping_check_script: copr-ping-check.py
|
|
@ -1,6 +1,6 @@
|
|||
define service {
|
||||
hostgroup_name copr_back_aws, copr_back_dev_aws
|
||||
service_description Copr ping package builds (that chould always succeed)
|
||||
check_command check_by_nrpe!copr_ping_check
|
||||
check_command check_by_nrpe!check_copr_ping
|
||||
use defaulttemplate
|
||||
}
|
||||
|
|
|
@ -316,6 +316,7 @@ command[check_lock]=/usr/lib64/nagios/plugins/check_lock
|
|||
command[check_lock_file_age]=/usr/lib64/nagios/plugins/check_lock_file_age -w 1 -c 5 -f /var/lock/fedora-ca/lock
|
||||
command[check_nagios]=/usr/lib64/nagios/plugins/check_nagios -e 5 -F /var/spool/nagios/status.dat -C /usr/sbin/nagios
|
||||
command[check_auditd]=/usr/lib64/nagios/plugins/check_procs -c 1:1 -C 'auditd' -u root
|
||||
command[check_copr_ping]=/usr/bin/copr-ping-check.py
|
||||
command[check_cron]=/usr/lib64/nagios/plugins/check_procs -c 1:10 -C 'crond' -u root
|
||||
command[check_varnish_proc]=/usr/lib64/nagios/plugins/check_procs -c 1:2 -C 'varnishd' -u varnish
|
||||
command[check_rsyslogd_proc]=/usr/lib64/nagios/plugins/check_procs -c 1:2 -C 'rsyslogd'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue