Add initial ipa monitoring
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
d4d14d0471
commit
65211dd683
4 changed files with 24 additions and 1 deletions
|
@ -5,5 +5,5 @@
|
|||
define hostgroup {
|
||||
hostgroup_name webservers
|
||||
alias webservers
|
||||
members proxy01, proxy02, proxy03, proxy04, proxy05, proxy06, proxy08, proxy09, proxy10, proxy11, proxy12, fas01, fas02, fas03, status-fedora2, ipsilon01, ipsilon02,
|
||||
members proxy01, proxy02, proxy03, proxy04, proxy05, proxy06, proxy08, proxy09, proxy10, proxy11, proxy12, fas01, fas02, fas03, status-fedora2, ipsilon01, ipsilon02, ipa01, ipa02
|
||||
}
|
||||
|
|
7
roles/nagios/server/files/nagios/hosts/ipa01.cfg
Normal file
7
roles/nagios/server/files/nagios/hosts/ipa01.cfg
Normal file
|
@ -0,0 +1,7 @@
|
|||
define host {
|
||||
host_name ipa01
|
||||
alias ipa01.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
address ipa01.phx2.fedoraproject.org
|
||||
parents virthost15
|
||||
}
|
7
roles/nagios/server/files/nagios/hosts/ipa02.cfg
Normal file
7
roles/nagios/server/files/nagios/hosts/ipa02.cfg
Normal file
|
@ -0,0 +1,7 @@
|
|||
define host {
|
||||
host_name ipa02
|
||||
alias ipa02.phx2.fedoraproject.org
|
||||
use defaulttemplate
|
||||
address ipa2.phx2.fedoraproject.org
|
||||
parents virthost01
|
||||
}
|
|
@ -178,6 +178,15 @@ define service {
|
|||
event_handler restart_httpd
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name ipa01,ipa02
|
||||
service_description ipa-internal
|
||||
check_command check_website!localhost!/!document has moved
|
||||
max_check_attempts 8
|
||||
use internalwebsitetemplate
|
||||
event_handler restart_httpd
|
||||
}
|
||||
|
||||
define service {
|
||||
host_name koji01
|
||||
service_description koji
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue