fixing nagios rules for taskotron prod/dev/stg

This commit is contained in:
Tim Flink 2016-01-26 19:00:26 +00:00
parent bffec274e4
commit f00d6f85d1
4 changed files with 24 additions and 4 deletions

View file

@ -1,5 +1,11 @@
define hostgroup {
hostgroup_name taskotron
alias Taskotron Hosts
members taskotron01.qa, resultsdb01.qa, taskotron-client22.qa, taskotron-client23.qa, taskotron-client24.qa, taskotron-client25.qa
alias Taskotron Production Hosts
members taskotron01.qa, qa12.qa, qa13.qa
}
define hostgroup {
hostgroup_name taskotron-stg
alias Taskotron Staging Hosts
members taskotron-stg01.qa, qa10.qa
}

View file

@ -0,0 +1,7 @@
define host {
host_name taskotron-dev01.qa
alias taskotron-dev01.qa.fedoraproject.org
use defaulttemplate
address taskotron-dev01.qa.fedoraproject.org
parents virthost-comm04
}

View file

@ -0,0 +1,7 @@
define host {
host_name taskotron-stg01.qa
alias taskotron-stg01.qa.fedoraproject.org
use defaulttemplate
address taskotron-stg01.qa.fedoraproject.org
parents virthost-comm04
}

View file

@ -35,14 +35,14 @@ define service {
}
define service {
host_name qa10.qa, qa11.qa, qa12.qa, qa13.qa
host_name taskotron01.qa, taskotron-stg01.qa, taskotron-dev01.qa
service_description Disk Space /srv/buildmaster
check_command check_by_nrpe!check_disk_/srv/buildmaster
use disktemplate
}
define service {
host_name qa10.qa, qa11.qa, qa12.qa, qa13.qa
host_name taskotron01.qa, taskotron-stg01.qa, taskotron-dev01.qa
service_description Disk Space /srv/taskotron
check_command check_by_nrpe!check_disk_/srv/taskotron
use disktemplate