Update nagios to split koschei

This commit is contained in:
Michael Simacek 2016-04-21 15:24:14 +02:00 committed by Mikolaj Izdebski
parent c2bbe8e9e5
commit a534973eb8
10 changed files with 38 additions and 24 deletions

View file

@ -0,0 +1,7 @@
define host {
host_name koschei-backend01
alias koschei-backend01.phx2.fedoraproject.org
use defaulttemplate
address koschei-backend01.phx2.fedoraproject.org
parents bvirthost09
}

View file

@ -0,0 +1,7 @@
define host {
host_name koschei-web01
alias koschei-web01.phx2.fedoraproject.org
use defaulttemplate
address koschei-web01.phx2.fedoraproject.org
parents bvirthost09
}

View file

@ -1,7 +0,0 @@
define host {
host_name koschei01
alias koschei01.phx2.fedoraproject.org
use defaulttemplate
address koschei01.phx2.fedoraproject.org
parents bvirthost09
}

View file

@ -1,26 +1,26 @@
define service {
host_name koschei01
host_name koschei-backend01
service_description koschei-polling process
check_command check_by_nrpe!check_koschei_polling_proc
use defaulttemplate
}
define service {
host_name koschei01
host_name koschei-backend01
service_description koschei-resolver process
check_command check_by_nrpe!check_koschei_resolver_proc
use defaulttemplate
}
define service {
host_name koschei01
host_name koschei-backend01
service_description koschei-scheduler process
check_command check_by_nrpe!check_koschei_scheduler_proc
use defaulttemplate
}
define service {
host_name koschei01
host_name koschei-backend01
service_description koschei-watcher process
check_command check_by_nrpe!check_koschei_watcher_proc
use defaulttemplate

View file

@ -297,7 +297,7 @@ define service {
}
define service {
host_name koschei01
host_name koschei-web01
service_description koschei-internal
check_command check_website!localhost!/koschei/!All packages
max_check_attempts 8

View file

@ -0,0 +1,7 @@
define host {
host_name koschei-backend01
alias koschei-backend01.phx2.fedoraproject.org
use defaulttemplate
address koschei-backend01.phx2.fedoraproject.org
parents bvirthost09
}

View file

@ -0,0 +1,7 @@
define host {
host_name koschei-web01
alias koschei-web01.phx2.fedoraproject.org
use defaulttemplate
address koschei-web01.phx2.fedoraproject.org
parents bvirthost09
}

View file

@ -1,7 +0,0 @@
define host {
host_name koschei01
alias koschei01.phx2.fedoraproject.org
use defaulttemplate
address koschei01.phx2.fedoraproject.org
parents bvirthost09
}

View file

@ -1,26 +1,26 @@
define service {
host_name koschei01
host_name koschei-backend01
service_description koschei-polling process
check_command check_by_nrpe!check_koschei_polling_proc
use defaulttemplate
}
define service {
host_name koschei01
host_name koschei-backend01
service_description koschei-resolver process
check_command check_by_nrpe!check_koschei_resolver_proc
use defaulttemplate
}
define service {
host_name koschei01
host_name koschei-backend01
service_description koschei-scheduler process
check_command check_by_nrpe!check_koschei_scheduler_proc
use defaulttemplate
}
define service {
host_name koschei01
host_name koschei-backend01
service_description koschei-watcher process
check_command check_by_nrpe!check_koschei_watcher_proc
use defaulttemplate

View file

@ -297,7 +297,7 @@ define service {
}
define service {
host_name koschei01
host_name koschei-web01
service_description koschei-internal
check_command check_website!localhost!/koschei/!All packages
max_check_attempts 8