Update nagios to split koschei
This commit is contained in:
parent
c2bbe8e9e5
commit
a534973eb8
10 changed files with 38 additions and 24 deletions
|
@ -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
|
||||||
|
}
|
|
@ -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
|
||||||
|
}
|
|
@ -1,7 +0,0 @@
|
||||||
define host {
|
|
||||||
host_name koschei01
|
|
||||||
alias koschei01.phx2.fedoraproject.org
|
|
||||||
use defaulttemplate
|
|
||||||
address koschei01.phx2.fedoraproject.org
|
|
||||||
parents bvirthost09
|
|
||||||
}
|
|
|
@ -1,26 +1,26 @@
|
||||||
define service {
|
define service {
|
||||||
host_name koschei01
|
host_name koschei-backend01
|
||||||
service_description koschei-polling process
|
service_description koschei-polling process
|
||||||
check_command check_by_nrpe!check_koschei_polling_proc
|
check_command check_by_nrpe!check_koschei_polling_proc
|
||||||
use defaulttemplate
|
use defaulttemplate
|
||||||
}
|
}
|
||||||
|
|
||||||
define service {
|
define service {
|
||||||
host_name koschei01
|
host_name koschei-backend01
|
||||||
service_description koschei-resolver process
|
service_description koschei-resolver process
|
||||||
check_command check_by_nrpe!check_koschei_resolver_proc
|
check_command check_by_nrpe!check_koschei_resolver_proc
|
||||||
use defaulttemplate
|
use defaulttemplate
|
||||||
}
|
}
|
||||||
|
|
||||||
define service {
|
define service {
|
||||||
host_name koschei01
|
host_name koschei-backend01
|
||||||
service_description koschei-scheduler process
|
service_description koschei-scheduler process
|
||||||
check_command check_by_nrpe!check_koschei_scheduler_proc
|
check_command check_by_nrpe!check_koschei_scheduler_proc
|
||||||
use defaulttemplate
|
use defaulttemplate
|
||||||
}
|
}
|
||||||
|
|
||||||
define service {
|
define service {
|
||||||
host_name koschei01
|
host_name koschei-backend01
|
||||||
service_description koschei-watcher process
|
service_description koschei-watcher process
|
||||||
check_command check_by_nrpe!check_koschei_watcher_proc
|
check_command check_by_nrpe!check_koschei_watcher_proc
|
||||||
use defaulttemplate
|
use defaulttemplate
|
||||||
|
|
|
@ -297,7 +297,7 @@ define service {
|
||||||
}
|
}
|
||||||
|
|
||||||
define service {
|
define service {
|
||||||
host_name koschei01
|
host_name koschei-web01
|
||||||
service_description koschei-internal
|
service_description koschei-internal
|
||||||
check_command check_website!localhost!/koschei/!All packages
|
check_command check_website!localhost!/koschei/!All packages
|
||||||
max_check_attempts 8
|
max_check_attempts 8
|
||||||
|
|
|
@ -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
|
||||||
|
}
|
7
roles/nagios/server/files/nagios/hosts/koschei-web01.cfg
Normal file
7
roles/nagios/server/files/nagios/hosts/koschei-web01.cfg
Normal 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
|
||||||
|
}
|
|
@ -1,7 +0,0 @@
|
||||||
define host {
|
|
||||||
host_name koschei01
|
|
||||||
alias koschei01.phx2.fedoraproject.org
|
|
||||||
use defaulttemplate
|
|
||||||
address koschei01.phx2.fedoraproject.org
|
|
||||||
parents bvirthost09
|
|
||||||
}
|
|
|
@ -1,26 +1,26 @@
|
||||||
define service {
|
define service {
|
||||||
host_name koschei01
|
host_name koschei-backend01
|
||||||
service_description koschei-polling process
|
service_description koschei-polling process
|
||||||
check_command check_by_nrpe!check_koschei_polling_proc
|
check_command check_by_nrpe!check_koschei_polling_proc
|
||||||
use defaulttemplate
|
use defaulttemplate
|
||||||
}
|
}
|
||||||
|
|
||||||
define service {
|
define service {
|
||||||
host_name koschei01
|
host_name koschei-backend01
|
||||||
service_description koschei-resolver process
|
service_description koschei-resolver process
|
||||||
check_command check_by_nrpe!check_koschei_resolver_proc
|
check_command check_by_nrpe!check_koschei_resolver_proc
|
||||||
use defaulttemplate
|
use defaulttemplate
|
||||||
}
|
}
|
||||||
|
|
||||||
define service {
|
define service {
|
||||||
host_name koschei01
|
host_name koschei-backend01
|
||||||
service_description koschei-scheduler process
|
service_description koschei-scheduler process
|
||||||
check_command check_by_nrpe!check_koschei_scheduler_proc
|
check_command check_by_nrpe!check_koschei_scheduler_proc
|
||||||
use defaulttemplate
|
use defaulttemplate
|
||||||
}
|
}
|
||||||
|
|
||||||
define service {
|
define service {
|
||||||
host_name koschei01
|
host_name koschei-backend01
|
||||||
service_description koschei-watcher process
|
service_description koschei-watcher process
|
||||||
check_command check_by_nrpe!check_koschei_watcher_proc
|
check_command check_by_nrpe!check_koschei_watcher_proc
|
||||||
use defaulttemplate
|
use defaulttemplate
|
||||||
|
|
|
@ -297,7 +297,7 @@ define service {
|
||||||
}
|
}
|
||||||
|
|
||||||
define service {
|
define service {
|
||||||
host_name koschei01
|
host_name koschei-web01
|
||||||
service_description koschei-internal
|
service_description koschei-internal
|
||||||
check_command check_website!localhost!/koschei/!All packages
|
check_command check_website!localhost!/koschei/!All packages
|
||||||
max_check_attempts 8
|
max_check_attempts 8
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue