Koschei: split resolver into build-resolver and repo-resolver

This commit is contained in:
Michael Simacek 2017-03-02 15:02:28 +01:00
parent 5d02ce0e63
commit b77f5736b4
15 changed files with 44 additions and 24 deletions

View file

@ -7,8 +7,15 @@ define service {
define service {
host_name koschei-backend01.phx2.fedoraproject.org
service_description koschei-resolver process
check_command check_by_nrpe!check_koschei_resolver_proc
service_description koschei-build-resolver process
check_command check_by_nrpe!check_koschei_build_resolver_proc
use defaulttemplate
}
define service {
host_name koschei-backend01.phx2.fedoraproject.org
service_description koschei-repo-resolver process
check_command check_by_nrpe!check_koschei_repo_resolver_proc
use defaulttemplate
}

View file

@ -338,7 +338,8 @@ command[check_openvpn_link]=/usr/lib64/nagios/plugins/check_ping -H 192.168.1.41
command[check_memcache]=/usr/lib64/nagios/plugins/check_procs -c 1:1 -a '/usr/bin/memcached' -u memcached
command[check_memcache_connect]=/usr/lib64/nagios/plugins/check_memcache_connect
command[check_koschei_polling_proc]=/usr/lib64/nagios/plugins/check_procs -s RSD -u koschei -C koschei-polling -c 1:1
command[check_koschei_resolver_proc]=/usr/lib64/nagios/plugins/check_procs -s RSD -u koschei -C koschei-resolve -c 1:1
command[check_koschei_build_resolver_proc]=/usr/lib64/nagios/plugins/check_procs -s RSD -u koschei -C koschei-build-r -c 1:1
command[check_koschei_repo_resolver_proc]=/usr/lib64/nagios/plugins/check_procs -s RSD -u koschei -C koschei-repo-re -c 1:1
command[check_koschei_scheduler_proc]=/usr/lib64/nagios/plugins/check_procs -s RSD -u koschei -C koschei-schedul -c 1:1
command[check_koschei_watcher_proc]=/usr/lib64/nagios/plugins/check_procs -s RSD -u koschei -C koschei-watcher -c 1:1