work so far on nagios_server role.

Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
This commit is contained in:
Rick Elrod 2014-07-07 17:09:38 +00:00
parent 4ee5939b13
commit 649108c0c3
118 changed files with 1100 additions and 627 deletions

View file

@ -0,0 +1,58 @@
#!/usr/bin/env python
""" Reads a string from stdin and prints it to stdout with irc colors
:license: LGPLv2+
:author: Ralph Bean <rbean@redhat.com>
"""
import sys
mirc_colors = {
"white": 0,
"black": 1,
"blue": 2,
"green": 3,
"red": 4,
"brown": 5,
"purple": 6,
"orange": 7,
"yellow": 8,
"light green": 9,
"teal": 10,
"light cyan": 11,
"light blue": 12,
"pink": 13,
"grey": 14,
"light grey": 15,
}
mapping = {
'RECOVERY': 'green',
'OK': 'green',
'UNKNOWN': 'purple',
'WARNING': 'teal',
# 'red' probably makes the most sense here, but it behaved oddly
'PROBLEM': 'brown',
'CRITICAL': 'brown',
}
def markup(string, color):
return "\x02\x03%i%s\x03\x02" % (mirc_colors[color], string)
def colorize(word):
suffix = ''
if word.endswith(':'):
word, suffix = word[:-1], word[-1]
if word in mapping:
word = markup(word, mapping[word])
return word + suffix
if __name__ == '__main__':
lines = sys.stdin.readlines()
for line in lines:
print " ".join([colorize(word) for word in line.strip().split()])

View file

@ -62,7 +62,7 @@ define command{
# 'host-notify-by-ircbot' command definition
define command{
command_name host-notify-by-ircbot
command_line /usr/bin/printf "%b" "#fedora-noc $NOTIFICATIONTYPE$ - $HOSTALIAS$ is $HOSTSTATE$: $HOSTOUTPUT$ ($$(hostname -s))" | nc -w 1 value03.vpn.fedoraproject.org 5050
command_line /usr/bin/printf "%b" "#fedora-noc $NOTIFICATIONTYPE$ - $HOSTALIAS$ is $HOSTSTATE$: $HOSTOUTPUT$ ($$(hostname -s))" | /usr/local/bin/irc-colorize.py | nc -w 1 value01.vpn.fedoraproject.org 5050
}
# 'notify-by-email' command definition
@ -81,7 +81,7 @@ define command{
# 'notify-by-ircbot' command definition
define command{
command_name notify-by-ircbot
command_line /usr/bin/printf "%b" "#fedora-noc $NOTIFICATIONTYPE$ - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$: $SERVICEOUTPUT$ ($$(hostname -s))" | nc -w 1 value03.vpn.fedoraproject.org 5050
command_line /usr/bin/printf "%b" "#fedora-noc $NOTIFICATIONTYPE$ - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$: $SERVICEOUTPUT$ ($$(hostname -s))" | /usr/local/bin/irc-colorize.py | nc -w 1 value01.vpn.fedoraproject.org 5050
}

View file

@ -1,5 +1,5 @@
define hostgroup {
hostgroup_name autoqa
alias AutoQA Hosts
members autoqa01, autoqa-stg01
members autoqa01
}

View file

@ -1,5 +1,5 @@
define hostgroup {
hostgroup_name dnsservers
alias DNS Servers
members ns03
members ns-sb01,ns02,ns03,ns04,ns05
}

View file

@ -6,5 +6,5 @@
define hostgroup {
hostgroup_name euservers
alias European Servers
members telia01, noc02, noc02
members telia01
}

View file

@ -5,5 +5,5 @@
define hostgroup {
hostgroup_name kvmServers
alias kvmServers
members bvirthost01, bvirthost02, bvirthost03, bvirthost04, bvirthost05, bvirthost07, virthost01, virthost02, virthost03, virthost04, virthost05, virthost06, virthost07, virthost08, virthost09, virthost10, virthost11, virthost12, virthost14, virthost15, virthost-comm01, virthost-comm02, telia01, tummy01, bodhost01, osuosl01, osuosl02, ibiblio01, ibiblio02, ibiblio03, coloamer01, internetx01, serverbeach06, serverbeach07, serverbeach08, serverbeach09, serverbeach10
members bvirthost01, bvirthost04, bvirthost05, bvirthost07, virthost01, virthost02, virthost03, virthost04, virthost05, virthost06, virthost07, virthost08, virthost09, virthost10, virthost12, virthost14, virthost15, virthost16, virthost-comm01, virthost-comm02, telia01, tummy01, bodhost01, osuosl01, osuosl02, ibiblio01, ibiblio02, ibiblio03, ibiblio04, coloamer01, internetx01, serverbeach06, serverbeach07, serverbeach08, serverbeach09, serverbeach10
}

View file

@ -1,6 +1,6 @@
define hostgroup {
hostgroup_name mgmt
alias Physical hosts management inerface
members backup03-mgmt,bc02-mgmt,bvirthost01-mgmt,bvirthost04-mgmt,bvirthost05-mgmt,bvirthost07-mgmt,download01-mgmt,download02-mgmt,download03-mgmt,download04-mgmt,download05-mgmt,qa01-mgmt,qa02-mgmt,qa03-mgmt,qa04-mgmt,qa05-mgmt,qa06-mgmt,qa07-mgmt,qa08-mgmt,tape02-mgmt,virthost-comm01-mgmt,virthost01-mgmt,virthost02-mgmt,virthost03-mgmt,virthost04-mgmt,virthost05-mgmt,virthost06-mgmt,virthost07-mgmt,virthost08-mgmt,virthost09-mgmt,virthost10-mgmt,virthost11-mgmt,virthost12-mgmt,virthost14-mgmt,virthost15-mgmt,virthost-comm02-mgmt,sign-vault03-mgmt,sign-vault04-mgmt
members backup03-mgmt,bc02-mgmt,bvirthost01-mgmt,bvirthost04-mgmt,bvirthost05-mgmt,bvirthost07-mgmt,download01-mgmt,download02-mgmt,download03-mgmt,download04-mgmt,download05-mgmt,qa01-mgmt,qa02-mgmt,qa03-mgmt,qa04-mgmt,qa05-mgmt,qa06-mgmt,qa07-mgmt,qa08-mgmt,tape02-mgmt,virthost-comm01-mgmt,virthost01-mgmt,virthost02-mgmt,virthost03-mgmt,virthost04-mgmt,virthost05-mgmt,virthost06-mgmt,virthost07-mgmt,virthost08-mgmt,virthost09-mgmt,virthost10-mgmt,atomic01-mgmt,virthost12-mgmt,virthost14-mgmt,virthost15-mgmt,virthost-comm02-mgmt,sign-vault03-mgmt,sign-vault04-mgmt
}

View file

@ -1,5 +1,5 @@
define hostgroup {
hostgroup_name nomail
alias No Mail
members *, !bastion01, !bastion02, !bastion-vpn, !backup03, !app01.stg, !app02.stg, !db02.stg, !fas01.stg, !koji01.stg, !pkgs01.stg, !proxy01.stg, !releng01.stg, !value01.stg, !smtp-mm-telia01, !smtp-mm-tummy01, !smtp-mm-ib01, !hosted03, !hosted04, !proxy01-fpo, !proxy01-wildcard, !proxy02-fpo, !proxy02-wildcard, !proxy03-fpo, !proxy03-wildcard, !proxy04-fpo, !proxy04-wildcard, !proxy06-fpo, !proxy06-wildcard, !proxy07-fpo, !proxy07-wildcard, !proxy08-fpo, !proxy08-wildcard, !bc02-mgmt, !fwsm01-gw, !backup03-mgmt,!bc02-mgmt,!bvirthost01-mgmt,!bvirthost04-mgmt,!bvirthost05-mgmt,!bvirthost07-mgmt,!download01-mgmt,!download02-mgmt,!download03-mgmt,!download04-mgmt,!download05-mgmt,!qa01-mgmt,!qa02-mgmt,!qa03-mgmt,!qa04-mgmt,!qa05-mgmt,!qa06-mgmt,!qa07-mgmt,!qa08-mgmt,!tape02-mgmt,!virthost-comm01-mgmt,!virthost01-mgmt,!virthost02-mgmt,!virthost03-mgmt,!virthost04-mgmt,!virthost05-mgmt,!virthost06-mgmt,!virthost07-mgmt,!virthost08-mgmt,!virthost09-mgmt,!virthost10-mgmt,!virthost11-mgmt,!virthost12-mgmt,!virthost14-mgmt,!virthost15-mgmt,!autoqa01,!autoqa-stg01,!ibiblio-gw,!packages03,!packages04,!status-fedora2, !virthost-comm02-mgmt,!ppc-hub,!ppc-composer,!retrace01.qa,!sign-vault03,!sign-vault03-mgmt,!sign-vault04,!sign-vault04-mgmt,!proxy09-fpo, !proxy09-wildcard, !arm01-builder00, !arm01-builder01, !arm01-builder02, !arm01-builder03, !arm01-builder04, !arm01-builder05, !arm01-builder06, !arm01-builder07, !arm01-builder08, !arm01-builder09, !arm01-builder10, !arm01-builder11, !arm01-builder12, !arm01-builder13, !arm01-builder14, !arm01-builder15, !arm01-builder16, !arm01-builder17, !arm01-builder18, !arm01-builder19, !arm01-builder20, !arm01-builder21, !arm01-builder22, !arm01-builder23, !arm02-builder00, !arm02-builder01, !arm02-builder02, !arm02-builder03, !arm02-builder04, !arm02-builder05, !arm02-builder06, !arm02-builder07, !arm02-builder08, !arm02-builder09, !arm02-builder10, !arm02-builder11, !arm02-builder12, !arm02-builder13, !arm02-builder14, !arm02-builder15, !arm02-builder16, !arm02-builder17, !arm02-builder18, !arm02-builder19, !arm02-builder20, !arm02-builder21, !arm02-builder22, !arm02-builder23, !buildvm-01, !buildvm-02, !buildvm-03, !buildvm-04, !buildvm-05, !buildvm-06, !buildvm-07, !buildvm-08, !buildvm-09, !buildvm-10, !buildvm-11, !buildvm-12, !buildvm-13, !buildvm-14, !buildvm-15, !buildvm-16, !buildvm-17, !buildvm-18, !buildvm-19, !buildvm-20, !buildvm-21, !buildvm-22, !buildvm-23, !buildvm-24, !buildvm-25, !buildvm-26, !buildvmhost-01, !buildvmhost-02, !buildvmhost-03, !buildvmhost-04, !buildvmhost-05, !buildvmhost-06, !buildvmhost-07, !buildvmhost-08, !buildvmhost-09, !releng01, !imagebuilder
members *, !bastion01, !bastion02, !bastion-vpn, !backup03, !db02.stg, !fas01.stg, !koji01.stg, !pkgs01.stg, !proxy01.stg, !releng01.stg, !value01.stg, !smtp-mm-telia01, !smtp-mm-tummy01, !smtp-mm-ib01, !hosted03, !hosted04, !proxy01-fpo, !proxy01-wildcard, !proxy02-fpo, !proxy02-wildcard, !proxy03-fpo, !proxy03-wildcard, !proxy04-fpo, !proxy04-wildcard, !proxy06-fpo, !proxy06-wildcard, !proxy07-fpo, !proxy07-wildcard, !proxy08-fpo, !proxy08-wildcard, !bc02-mgmt, !fwsm01-gw, !backup03-mgmt,!bc02-mgmt,!bvirthost01-mgmt,!bvirthost04-mgmt,!bvirthost05-mgmt,!bvirthost07-mgmt,!download01-mgmt,!download02-mgmt,!download03-mgmt,!download04-mgmt,!download05-mgmt,!qa01-mgmt,!qa02-mgmt,!qa03-mgmt,!qa04-mgmt,!qa05-mgmt,!qa06-mgmt,!qa07-mgmt,!qa08-mgmt,!tape02-mgmt,!virthost-comm01-mgmt,!virthost01-mgmt,!virthost02-mgmt,!virthost03-mgmt,!virthost04-mgmt,!virthost05-mgmt,!virthost06-mgmt,!virthost07-mgmt,!virthost08-mgmt,!virthost09-mgmt,!virthost10-mgmt,!atomic01-mgmt,!virthost12-mgmt,!virthost14-mgmt,!virthost15-mgmt,!autoqa01,!ibiblio-gw,!packages03,!packages04,!status-fedora2, !virthost-comm02-mgmt,!ppc-hub,!ppc-composer,!retrace01.qa,!sign-vault03,!sign-vault03-mgmt,!sign-vault04,!sign-vault04-mgmt,!proxy09-fpo, !proxy09-wildcard, !arm01-releng00, !arm01-retrace01, !arm01-builder02, !arm01-builder03, !arm01-builder04, !arm01-builder05, !arm01-builder06, !arm01-builder07, !arm01-builder08, !arm01-builder09, !arm01-builder10, !arm01-builder11, !arm01-builder12, !arm01-builder13, !arm01-builder14, !arm01-builder15, !arm01-builder16, !arm01-builder17, !arm01-builder18, !arm01-builder19, !arm01-builder20, !arm01-builder21, !arm01-builder22, !arm01-builder23, !arm02-builder00, !arm02-builder01, !arm02-builder02, !arm02-builder03, !arm02-builder04, !arm02-builder05, !arm02-builder06, !arm02-builder07, !arm02-builder08, !arm02-builder09, !arm02-builder10, !arm02-builder11, !arm02-builder12, !arm02-builder13, !arm02-builder14, !arm02-builder15, !arm02-builder16, !arm02-builder17, !arm02-builder18, !arm02-builder19, !arm02-builder20, !arm02-builder21, !arm02-builder22, !arm02-builder23, !buildvm-01, !buildvm-02, !buildvm-03, !buildvm-04, !buildvm-05, !buildvm-06, !buildvm-07, !buildvm-08, !buildvm-09, !buildvm-10, !buildvm-11, !buildvm-12, !buildvm-13, !buildvm-14, !buildvm-15, !buildvm-16, !buildvm-17, !buildvm-18, !buildvm-19, !buildvm-20, !buildvm-21, !buildvm-22, !buildvm-23, !buildvm-24, !buildvm-25, !buildvm-26, !buildvm-27, !buildvmhost-10, !buildvmhost-11, !buildvmhost-12
}

View file

@ -2,9 +2,9 @@
# PHX2 App Servers
###############
define hostgroup {
hostgroup_name phx2app
alias FAS Servers
members app01, app02, app03, app04, bapp02
}
#define hostgroup {
# hostgroup_name phx2app
# alias FAS Servers
# members app01, app02, app03, app04, bapp02
#}

View file

@ -5,6 +5,6 @@
define hostgroup {
hostgroup_name servers
alias All Servers
members *, !proxy01-fpo, !proxy01-wildcard, !proxy02-fpo, !proxy02-wildcard, !proxy03-fpo, !proxy03-wildcard, !proxy04-fpo, !proxy04-wildcard, !proxy06-fpo, !proxy06-wildcard, !proxy07-fpo, !proxy07-wildcard, !proxy08-fpo, !proxy08-wildcard, !fwsm01-gw, !backup03-mgmt,!bc02-mgmt,!bvirthost01-mgmt,!bvirthost05-mgmt,!download01-mgmt,!download02-mgmt,!download03-mgmt,!download04-mgmt,!download05-mgmt,!qa01-mgmt,!qa02-mgmt,!qa03-mgmt,!qa04-mgmt,!qa05-mgmt,!qa06-mgmt,!qa07-mgmt,!qa08-mgmt,!tape02-mgmt,!bvirthost04-mgmt, !bvirthost07-mgmt, !virthost-comm01-mgmt,!virthost01-mgmt,!virthost02-mgmt,!virthost03-mgmt,!virthost04-mgmt,!virthost05-mgmt,!virthost06-mgmt,!virthost07-mgmt,!virthost08-mgmt,!virthost09-mgmt,!virthost10-mgmt,!virthost11-mgmt, !virthost12-mgmt, !virthost14-mgmt,!virthost15-mgmt, !autoqa01, !autoqa-stg01, !ibiblio-gw, !status-fedora2,!virthost-comm02-mgmt,!ppc-hub,!ppc-composer,!retrace01.qa,!sign-vault03,!sign-vault03-mgmt,!sign-vault04,!sign-vault04-mgmt,!proxy09-fpo,!proxy09-wildcard, !arm01-builder00, !arm01-builder01, !arm01-builder02, !arm01-builder03, !arm01-builder04, !arm01-builder05, !arm01-builder06, !arm01-builder07, !arm01-builder08, !arm01-builder09, !arm01-builder10, !arm01-builder11, !arm01-builder12, !arm01-builder13, !arm01-builder14, !arm01-builder15, !arm01-builder16, !arm01-builder17, !arm01-builder18, !arm01-builder19, !arm01-builder20, !arm01-builder21, !arm01-builder22, !arm01-builder23, !arm02-builder00, !arm02-builder01, !arm02-builder02, !arm02-builder03, !arm02-builder04, !arm02-builder05, !arm02-builder06, !arm02-builder07, !arm02-builder08, !arm02-builder09, !arm02-builder10, !arm02-builder11, !arm02-builder12, !arm02-builder13, !arm02-builder14, !arm02-builder15, !arm02-builder16, !arm02-builder17, !arm02-builder18, !arm02-builder19, !arm02-builder20, !arm02-builder21, !arm02-builder22, !arm02-builder23, !buildvm-01, !buildvm-02, !buildvm-03, !buildvm-04, !buildvm-05, !buildvm-06, !buildvm-07, !buildvm-08, !buildvm-09, !buildvm-10, !buildvm-11, !buildvm-12, !buildvm-13, !buildvm-14, !buildvm-15, !buildvm-16, !buildvm-17, !buildvm-18, !buildvm-19, !buildvm-20, !buildvm-21, !buildvm-22, !buildvm-23, !buildvm-24, !buildvm-25, !buildvm-26, !buildvmhost-01, !buildvmhost-02, !buildvmhost-03, !buildvmhost-04, !buildvmhost-05, !buildvmhost-06, !buildvmhost-07, !buildvmhost-08, !buildvmhost-09, !releng01, !imagebuilder
members *, !proxy01-fpo, !proxy01-wildcard, !proxy02-fpo, !proxy02-wildcard, !proxy03-fpo, !proxy03-wildcard, !proxy04-fpo, !proxy04-wildcard, !proxy06-fpo, !proxy06-wildcard, !proxy07-fpo, !proxy07-wildcard, !proxy08-fpo, !proxy08-wildcard, !fwsm01-gw, !backup03-mgmt,!bc02-mgmt,!bvirthost01-mgmt,!bvirthost05-mgmt,!download01-mgmt,!download02-mgmt,!download03-mgmt,!download04-mgmt,!download05-mgmt,!qa01-mgmt,!qa02-mgmt,!qa03-mgmt,!qa04-mgmt,!qa05-mgmt,!qa06-mgmt,!qa07-mgmt,!qa08-mgmt,!tape02-mgmt,!bvirthost04-mgmt, !bvirthost07-mgmt, !virthost-comm01-mgmt,!virthost01-mgmt,!virthost02-mgmt,!virthost03-mgmt,!virthost04-mgmt,!virthost05-mgmt,!virthost06-mgmt,!virthost07-mgmt,!virthost08-mgmt,!virthost09-mgmt,!virthost10-mgmt,!atomic01-mgmt, !virthost12-mgmt, !virthost14-mgmt,!virthost15-mgmt, !autoqa01, !ibiblio-gw, !status-fedora2,!virthost-comm02-mgmt,!ppc-hub,!ppc-composer,!retrace01.qa,!sign-vault03,!sign-vault03-mgmt,!sign-vault04,!sign-vault04-mgmt,!proxy09-fpo,!proxy09-wildcard, !arm01-releng00, !arm01-retrace01, !arm01-builder02, !arm01-builder03, !arm01-builder04, !arm01-builder05, !arm01-builder06, !arm01-builder07, !arm01-builder08, !arm01-builder09, !arm01-builder10, !arm01-builder11, !arm01-builder12, !arm01-builder13, !arm01-builder14, !arm01-builder15, !arm01-builder16, !arm01-builder17, !arm01-builder18, !arm01-builder19, !arm01-builder20, !arm01-builder21, !arm01-builder22, !arm01-builder23, !arm02-builder00, !arm02-builder01, !arm02-builder02, !arm02-builder03, !arm02-builder04, !arm02-builder05, !arm02-builder06, !arm02-builder07, !arm02-builder08, !arm02-builder09, !arm02-builder10, !arm02-builder11, !arm02-builder12, !arm02-builder13, !arm02-builder14, !arm02-builder15, !arm02-builder16, !arm02-builder17, !arm02-builder18, !arm02-builder19, !arm02-builder20, !arm02-builder21, !arm02-builder22, !arm02-builder23, !buildvm-01, !buildvm-02, !buildvm-03, !buildvm-04, !buildvm-05, !buildvm-06, !buildvm-07, !buildvm-08, !buildvm-09, !buildvm-10, !buildvm-11, !buildvm-12, !buildvm-13, !buildvm-14, !buildvm-15, !buildvm-16, !buildvm-17, !buildvm-18, !buildvm-19, !buildvm-20, !buildvm-21, !buildvm-22, !buildvm-23, !buildvm-24, !buildvm-25, !buildvm-26, !buildvm-27, !buildvmhost-10, !buildvmhost-11, !buildvmhost-12
}

View file

@ -5,5 +5,5 @@
define hostgroup {
hostgroup_name vpnclients
alias vpnclients
members tummy01,unbound-tummy01,smtp-mm-tummy01,proxy03,telia01,smtp-mm-telia01,unbound-telia01,bodhost01,proxy07,coloamer01,app08,proxy08,ibiblio01,download-ib01,noc02,unbound-ib01,ibiblio02,app05,ns02,proxy04,smtp-mm-ib01,torrent02,ibiblio03,backup02,people03,internetx01,hosted-lists01,ns05,proxy02,osuosl01,proxy06,osuosl02,hosted03,ibiblio02,hosted04,serverbeach08,serverbeach09,ns-sb01,serverbeach10,collab03,collab04,proxy09
members tummy01,unbound-tummy01,smtp-mm-tummy01,proxy03,telia01,smtp-mm-telia01,unbound-telia01,bodhost01,proxy07,coloamer01,proxy08,ibiblio01,download-ib02,noc02,unbound-ib01,ibiblio02,ns02,proxy04,smtp-mm-ib01,torrent02,ibiblio03,ibiblio04,backup02,people03,internetx01,hosted-lists01,ns05,proxy02,osuosl01,proxy06,osuosl02,hosted03,ibiblio02,hosted04,serverbeach08,serverbeach09,ns-sb01,serverbeach10,collab03,collab04,proxy09
}

View file

@ -5,5 +5,5 @@
define hostgroup {
hostgroup_name webservers
alias webservers
members app01, app02, app03, app04, app05, app08, proxy01, proxy02, proxy03, proxy04, proxy08, fas01, fas02, fas03, status-fedora2, fedoauth01, fedoauth02, proxy09
members proxy01, proxy02, proxy03, proxy04, proxy06, proxy07, proxy08, fas01, fas02, fas03, status-fedora2, fedoauth01, fedoauth02, proxy09
}

View file

@ -1,7 +1,7 @@
define host {
host_name app01.stg
alias app01.stg.phx2.fedoraproject.org
use defaulttemplate
address app01.stg.phx2.fedoraproject.org
parents virthost10
}
#define host {
# host_name app01.stg
# alias app01.stg.phx2.fedoraproject.org
# use defaulttemplate
# address app01.stg.phx2.fedoraproject.org
# parents virthost10
#}

View file

@ -1,7 +1,7 @@
define host {
host_name app01
alias app01.phx2.fedoraproject.org
use defaulttemplate
address app01.phx2.fedoraproject.org
parents virthost05
}
#define host {
# host_name app01
# alias app01.phx2.fedoraproject.org
# use defaulttemplate
# address app01.phx2.fedoraproject.org
# parents virthost05
#}

View file

@ -1,7 +1,7 @@
define host {
host_name app02.stg
alias app02.stg.phx2.fedoraproject.org
use defaulttemplate
address app02.stg.phx2.fedoraproject.org
parents virthost12
}
#define host {
## host_name app02.stg
# alias app02.stg.phx2.fedoraproject.org
# use defaulttemplate
# address app02.stg.phx2.fedoraproject.org
# parents virthost12
#}

View file

@ -1,7 +1,7 @@
define host {
host_name app02
alias app02.phx2.fedoraproject.org
use defaulttemplate
address app02.phx2.fedoraproject.org
parents virthost07
}
#define host {
# host_name app02
# alias app02.phx2.fedoraproject.org
# use defaulttemplate
# address app02.phx2.fedoraproject.org
# parents virthost07
#}

View file

@ -1,7 +1,7 @@
define host {
host_name app03
alias app03.phx2.fedoraproject.org
use defaulttemplate
address app03.phx2.fedoraproject.org
parents virthost08
}
#define host {
# host_name app03
# alias app03.phx2.fedoraproject.org
# use defaulttemplate
# address app03.phx2.fedoraproject.org
# parents virthost08
#}

View file

@ -1,7 +1,7 @@
define host {
host_name app04
alias app04.phx2.fedoraproject.org
use defaulttemplate
address app04.phx2.fedoraproject.org
parents virthost09
}
#define host {
# host_name app04
# alias app04.phx2.fedoraproject.org
# use defaulttemplate
# address app04.phx2.fedoraproject.org
# parents virthost09
#}

View file

@ -1,7 +1,7 @@
define host {
host_name app05
alias app05.fedoraproject.org
use defaulttemplate
address app05.fedoraproject.org
parents ibiblio02
}
#define host {
# host_name app05
# alias app05.fedoraproject.org
# use defaulttemplate
# address app05.fedoraproject.org
# parents ibiblio02
#}

View file

@ -1,8 +1,8 @@
define host {
host_name app08
alias app08.fedoraproject.org
use defaulttemplate
address app08.fedoraproject.org
parents coloamer01
}
#define host {
# host_name app08
# alias app08.fedoraproject.org
# use defaulttemplate
# address app08.fedoraproject.org
# parents coloamer01
#}

View file

@ -1,8 +1,8 @@
define host {
host_name arm01-builder00
alias arm01-builder00.arm.fedoraproject.org
use defaultbuilders
check_command check-host-alive
address arm01-builder00.arm.fedoraproject.org
contact_groups build-sysadmin-email
}
#define host {
# host_name arm01-builder00
# alias arm01-builder00.arm.fedoraproject.org
# use defaultbuilders
# check_command check-host-alive
# address arm01-builder00.arm.fedoraproject.org
# contact_groups build-sysadmin-email
#}

View file

@ -1,8 +1,8 @@
define host {
host_name arm01-builder01
alias arm01-builder01.arm.fedoraproject.org
use defaultbuilders
check_command check-host-alive
address arm01-builder01.arm.fedoraproject.org
contact_groups build-sysadmin-email
}
#define host {
# host_name arm01-builder01
# alias arm01-builder01.arm.fedoraproject.org
# use defaultbuilders
# check_command check-host-alive
# address arm01-builder01.arm.fedoraproject.org
# contact_groups build-sysadmin-email
#}

View file

@ -0,0 +1,8 @@
define host {
host_name arm01-releng00
alias arm01-releng00.arm.fedoraproject.org
use defaultbuilders
check_command check-host-alive
address arm01-releng00.arm.fedoraproject.org
contact_groups build-sysadmin-email
}

View file

@ -0,0 +1,8 @@
define host {
host_name arm01-retrace01
alias arm01-retrace01.arm.fedoraproject.org
use defaultbuilders
check_command check-host-alive
address arm01-retrace01.arm.fedoraproject.org
contact_groups build-sysadmin-email
}

View file

@ -0,0 +1,7 @@
define host {
host_name atomic01-mgmt
alias atomic01-mgmt.phx2.fedoraproject.org
use mincheck
address atomic01-mgmt.phx2.fedoraproject.org
parents fwsm01-gw
}

View file

@ -1,7 +1,7 @@
define host {
host_name autoqa-stg01
alias autoqa-stg01.qa.fedoraproject.org
use autoqatemplate
address autoqa-stg01.qa.fedoraproject.org
parents virthost-comm01
}
#define host {
# host_name autoqa-stg01
# alias autoqa-stg01.qa.fedoraproject.org
# use autoqatemplate
# address autoqa-stg01.qa.fedoraproject.org
# parents virthost-comm01
#}

View file

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

View file

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

View file

@ -4,6 +4,6 @@ define host {
use defaultbuilders
check_command check-host-alive
address buildvm-01.phx2.fedoraproject.org
parents buildvmhost-01
parents buildvmhost-10
contact_groups build-sysadmin-email
}

View file

@ -4,6 +4,6 @@ define host {
use defaultbuilders
check_command check-host-alive
address buildvm-02.phx2.fedoraproject.org
parents buildvmhost-01
parents buildvmhost-10
contact_groups build-sysadmin-email
}

View file

@ -4,6 +4,6 @@ define host {
use defaultbuilders
check_command check-host-alive
address buildvm-03.phx2.fedoraproject.org
parents buildvmhost-01
parents buildvmhost-10
contact_groups build-sysadmin-email
}

View file

@ -4,6 +4,6 @@ define host {
use defaultbuilders
check_command check-host-alive
address buildvm-04.phx2.fedoraproject.org
parents buildvmhost-02
parents buildvmhost-10
contact_groups build-sysadmin-email
}

View file

@ -4,6 +4,6 @@ define host {
use defaultbuilders
check_command check-host-alive
address buildvm-05.phx2.fedoraproject.org
parents buildvmhost-02
parents buildvmhost-10
contact_groups build-sysadmin-email
}

View file

@ -4,6 +4,6 @@ define host {
use defaultbuilders
check_command check-host-alive
address buildvm-06.phx2.fedoraproject.org
parents buildvmhost-02
parents buildvmhost-10
contact_groups build-sysadmin-email
}

View file

@ -4,6 +4,6 @@ define host {
use defaultbuilders
check_command check-host-alive
address buildvm-07.phx2.fedoraproject.org
parents buildvmhost-03
parents buildvmhost-10
contact_groups build-sysadmin-email
}

View file

@ -4,6 +4,6 @@ define host {
use defaultbuilders
check_command check-host-alive
address buildvm-08.phx2.fedoraproject.org
parents buildvmhost-03
parents buildvmhost-10
contact_groups build-sysadmin-email
}

View file

@ -4,6 +4,6 @@ define host {
use defaultbuilders
check_command check-host-alive
address buildvm-09.phx2.fedoraproject.org
parents buildvmhost-03
parents buildvmhost-10
contact_groups build-sysadmin-email
}

View file

@ -4,6 +4,6 @@ define host {
use defaultbuilders
check_command check-host-alive
address buildvm-10.phx2.fedoraproject.org
parents buildvmhost-04
parents buildvmhost-11
contact_groups build-sysadmin-email
}

View file

@ -4,6 +4,6 @@ define host {
use defaultbuilders
check_command check-host-alive
address buildvm-11.phx2.fedoraproject.org
parents buildvmhost-04
parents buildvmhost-11
contact_groups build-sysadmin-email
}

View file

@ -4,6 +4,6 @@ define host {
use defaultbuilders
check_command check-host-alive
address buildvm-12.phx2.fedoraproject.org
parents buildvmhost-04
parents buildvmhost-11
contact_groups build-sysadmin-email
}

View file

@ -4,6 +4,6 @@ define host {
use defaultbuilders
check_command check-host-alive
address buildvm-13.phx2.fedoraproject.org
parents buildvmhost-05
parents buildvmhost-11
contact_groups build-sysadmin-email
}

View file

@ -4,6 +4,6 @@ define host {
use defaultbuilders
check_command check-host-alive
address buildvm-14.phx2.fedoraproject.org
parents buildvmhost-05
parents buildvmhost-11
contact_groups build-sysadmin-email
}

View file

@ -4,6 +4,6 @@ define host {
use defaultbuilders
check_command check-host-alive
address buildvm-15.phx2.fedoraproject.org
parents buildvmhost-05
parents buildvmhost-11
contact_groups build-sysadmin-email
}

View file

@ -4,6 +4,6 @@ define host {
use defaultbuilders
check_command check-host-alive
address buildvm-16.phx2.fedoraproject.org
parents buildvmhost-06
parents buildvmhost-11
contact_groups build-sysadmin-email
}

View file

@ -4,6 +4,6 @@ define host {
use defaultbuilders
check_command check-host-alive
address buildvm-17.phx2.fedoraproject.org
parents buildvmhost-06
parents buildvmhost-11
contact_groups build-sysadmin-email
}

View file

@ -4,6 +4,6 @@ define host {
use defaultbuilders
check_command check-host-alive
address buildvm-18.phx2.fedoraproject.org
parents buildvmhost-07
parents buildvmhost-11
contact_groups build-sysadmin-email
}

View file

@ -4,6 +4,6 @@ define host {
use defaultbuilders
check_command check-host-alive
address buildvm-19.phx2.fedoraproject.org
parents buildvmhost-07
parents buildvmhost-12
contact_groups build-sysadmin-email
}

View file

@ -4,6 +4,6 @@ define host {
use defaultbuilders
check_command check-host-alive
address buildvm-20.phx2.fedoraproject.org
parents buildvmhost-07
parents buildvmhost-12
contact_groups build-sysadmin-email
}

View file

@ -4,6 +4,6 @@ define host {
use defaultbuilders
check_command check-host-alive
address buildvm-21.phx2.fedoraproject.org
parents buildvmhost-08
parents buildvmhost-12
contact_groups build-sysadmin-email
}

View file

@ -4,6 +4,6 @@ define host {
use defaultbuilders
check_command check-host-alive
address buildvm-22.phx2.fedoraproject.org
parents buildvmhost-08
parents buildvmhost-12
contact_groups build-sysadmin-email
}

View file

@ -4,6 +4,6 @@ define host {
use defaultbuilders
check_command check-host-alive
address buildvm-23.phx2.fedoraproject.org
parents buildvmhost-08
parents buildvmhost-12
contact_groups build-sysadmin-email
}

View file

@ -4,6 +4,6 @@ define host {
use defaultbuilders
check_command check-host-alive
address buildvm-24.phx2.fedoraproject.org
parents buildvmhost-09
parents buildvmhost-12
contact_groups build-sysadmin-email
}

View file

@ -4,6 +4,6 @@ define host {
use defaultbuilders
check_command check-host-alive
address buildvm-25.phx2.fedoraproject.org
parents buildvmhost-09
parents buildvmhost-12
contact_groups build-sysadmin-email
}

View file

@ -4,6 +4,6 @@ define host {
use defaultbuilders
check_command check-host-alive
address buildvm-26.phx2.fedoraproject.org
parents buildvmhost-09
parents buildvmhost-12
contact_groups build-sysadmin-email
}

View file

@ -0,0 +1,9 @@
define host {
alias buildvm-27.phx2.fedoraproject.org
host_name buildvm-27
use defaultbuilders
check_command check-host-alive
address buildvm-27.phx2.fedoraproject.org
parents buildvmhost-12
contact_groups build-sysadmin-email
}

View file

@ -1,8 +1,8 @@
define host {
alias buildvmhost-01.phx2.fedoraproject.org
host_name buildvmhost-01
use defaultbuilders
check_command check-host-alive
address buildvmhost-01.phx2.fedoraproject.org
contact_groups build-sysadmin-email
}
#define host {
# alias buildvmhost-01.phx2.fedoraproject.org
# host_name buildvmhost-01
# use defaultbuilders
# check_command check-host-alive
# address buildvmhost-01.phx2.fedoraproject.org
# contact_groups build-sysadmin-email
#}

View file

@ -1,8 +1,8 @@
define host {
alias buildvmhost-02.phx2.fedoraproject.org
host_name buildvmhost-02
use defaultbuilders
check_command check-host-alive
address buildvmhost-02.phx2.fedoraproject.org
contact_groups build-sysadmin-email
}
#define host {
# alias buildvmhost-02.phx2.fedoraproject.org
# host_name buildvmhost-02
# use defaultbuilders
# check_command check-host-alive
# address buildvmhost-02.phx2.fedoraproject.org
# contact_groups build-sysadmin-email
#}

View file

@ -1,8 +1,8 @@
define host {
alias buildvmhost-03.phx2.fedoraproject.org
host_name buildvmhost-03
use defaultbuilders
check_command check-host-alive
address buildvmhost-03.phx2.fedoraproject.org
contact_groups build-sysadmin-email
}
#define host {
# alias buildvmhost-03.phx2.fedoraproject.org
# host_name buildvmhost-03
# use defaultbuilders
# check_command check-host-alive
# address buildvmhost-03.phx2.fedoraproject.org
# contact_groups build-sysadmin-email
#}

View file

@ -1,8 +1,8 @@
define host {
alias buildvmhost-04.phx2.fedoraproject.org
host_name buildvmhost-04
use defaultbuilders
check_command check-host-alive
address buildvmhost-04.phx2.fedoraproject.org
contact_groups build-sysadmin-email
}
#define host {
# alias buildvmhost-04.phx2.fedoraproject.org
# host_name buildvmhost-04
# use defaultbuilders
# check_command check-host-alive
# address buildvmhost-04.phx2.fedoraproject.org
# contact_groups build-sysadmin-email
#}

View file

@ -1,8 +1,8 @@
define host {
alias buildvmhost-05.phx2.fedoraproject.org
host_name buildvmhost-05
use defaultbuilders
check_command check-host-alive
address buildvmhost-05.phx2.fedoraproject.org
contact_groups build-sysadmin-email
}
#define host {
# alias buildvmhost-05.phx2.fedoraproject.org
# host_name buildvmhost-05
# use defaultbuilders
# check_command check-host-alive
# address buildvmhost-05.phx2.fedoraproject.org
# contact_groups build-sysadmin-email
#}

View file

@ -1,8 +1,8 @@
define host {
alias buildvmhost-06.phx2.fedoraproject.org
host_name buildvmhost-06
use defaultbuilders
check_command check-host-alive
address buildvmhost-06.phx2.fedoraproject.org
contact_groups build-sysadmin-email
}
#define host {
# alias buildvmhost-06.phx2.fedoraproject.org
# host_name buildvmhost-06
# use defaultbuilders
# check_command check-host-alive
# address buildvmhost-06.phx2.fedoraproject.org
# contact_groups build-sysadmin-email
#}

View file

@ -1,8 +1,8 @@
define host {
alias buildvmhost-07.phx2.fedoraproject.org
host_name buildvmhost-07
use defaultbuilders
check_command check-host-alive
address buildvmhost-07.phx2.fedoraproject.org
contact_groups build-sysadmin-email
}
#define host {
# alias buildvmhost-07.phx2.fedoraproject.org
# host_name buildvmhost-07
# use defaultbuilders
# check_command check-host-alive
# address buildvmhost-07.phx2.fedoraproject.org
# contact_groups build-sysadmin-email
#}

View file

@ -1,8 +1,8 @@
define host {
alias buildvmhost-08.phx2.fedoraproject.org
host_name buildvmhost-08
use defaultbuilders
check_command check-host-alive
address buildvmhost-08.phx2.fedoraproject.org
contact_groups build-sysadmin-email
}
#define host {
# alias buildvmhost-08.phx2.fedoraproject.org
# host_name buildvmhost-08
# use defaultbuilders
# check_command check-host-alive
# address buildvmhost-08.phx2.fedoraproject.org
# contact_groups build-sysadmin-email
#}

View file

@ -1,8 +1,8 @@
define host {
alias buildvmhost-09.phx2.fedoraproject.org
host_name buildvmhost-09
use defaultbuilders
check_command check-host-alive
address buildvmhost-09.phx2.fedoraproject.org
contact_groups build-sysadmin-email
}
#define host {
# alias buildvmhost-09.phx2.fedoraproject.org
# host_name buildvmhost-09
# use defaultbuilders
# check_command check-host-alive
# address buildvmhost-09.phx2.fedoraproject.org
# contact_groups build-sysadmin-email
#}

View file

@ -0,0 +1,8 @@
define host {
alias buildvmhost-10.phx2.fedoraproject.org
host_name buildvmhost-10
use defaultbuilders
check_command check-host-alive
address buildvmhost-10.phx2.fedoraproject.org
contact_groups build-sysadmin-email
}

View file

@ -0,0 +1,8 @@
define host {
alias buildvmhost-11.phx2.fedoraproject.org
host_name buildvmhost-11
use defaultbuilders
check_command check-host-alive
address buildvmhost-11.phx2.fedoraproject.org
contact_groups build-sysadmin-email
}

View file

@ -0,0 +1,8 @@
define host {
alias buildvmhost-12.phx2.fedoraproject.org
host_name buildvmhost-12
use defaultbuilders
check_command check-host-alive
address buildvmhost-12.phx2.fedoraproject.org
contact_groups build-sysadmin-email
}

View file

@ -3,5 +3,5 @@ define host {
alias busgateway01.stg.phx2.fedoraproject.org
use defaulttemplate
address busgateway01.stg.phx2.fedoraproject.org
parents virthost11
parents virthost16
}

View file

@ -1,7 +1,7 @@
define host {
host_name bvirthost02
alias bvirthost02.phx2.fedoraproject.org
use defaulttemplate
address bvirthost02.phx2.fedoraproject.org
parents fwsm01-gw
}
#define host {
# host_name bvirthost02
# alias bvirthost02.phx2.fedoraproject.org
# use defaulttemplate
# address bvirthost02.phx2.fedoraproject.org
# parents fwsm01-gw
#}

View file

@ -1,7 +1,7 @@
define host {
host_name bvirthost03
alias bvirthost03.phx2.fedoraproject.org
use defaulttemplate
address bvirthost03.phx2.fedoraproject.org
parents fwsm01-gw
}
#define host {
# host_name bvirthost03
# alias bvirthost03.phx2.fedoraproject.org
# use defaulttemplate
# address bvirthost03.phx2.fedoraproject.org
# parents fwsm01-gw
#}

View file

@ -1,7 +1,7 @@
define host {
host_name download-ib01
alias download-ib01.fedoraproject.org
use defaulttemplate
address download-ib01.fedoraproject.org
parents ibiblio01
}
# define host {
# host_name download-ib01
# alias download-ib01.fedoraproject.org
# use defaulttemplate
# address download-ib01.fedoraproject.org
# parents ibiblio01
# }

View file

@ -0,0 +1,7 @@
define host {
host_name download-ib02
alias download-ib02.fedoraproject.org
use defaulttemplate
address download-ib02.fedoraproject.org
parents ibiblio04
}

View file

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

View file

@ -0,0 +1,8 @@
define host {
host_name ibiblio04
alias ibiblio04.fedoraproject.org
use defaulttemplate
address ibiblio04.fedoraproject.org
parents ibiblio-gw
}

View file

@ -1,9 +1,9 @@
define host {
host_name imagebuilder
alias imagebuilder.qa.fedoraproject.org
use defaultbuilders
check_command check-host-alive
address imagebuilder.qa.fedoraproject.org
parents virthost-comm01
contact_groups build-sysadmin-email
}
#define host {
# host_name imagebuilder
# alias imagebuilder.qa.fedoraproject.org
# use defaultbuilders
# check_command check-host-alive
# address imagebuilder.qa.fedoraproject.org
# parents virthost-comm01
# contact_groups build-sysadmin-email
#}

View file

@ -3,5 +3,5 @@ define host {
alias mirrorlist-ibiblio.fedoraproject.org
use defaulttemplate
address mirrorlist-ibiblio.fedoraproject.org
parents ibiblio03
parents ibiblio04
}

View file

@ -1,7 +1,7 @@
define host {
host_name nfs01
alias nfs01.phx2.fedoraproject.org
use defaulttemplate
address nfs01.phx2.fedoraproject.org
parents bvirthost07
}
#define host {
# host_name nfs01
# alias nfs01.phx2.fedoraproject.org
# use defaulttemplate
# address nfs01.phx2.fedoraproject.org
# parents bvirthost07
#}

View file

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

View file

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

View file

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

View file

@ -3,5 +3,5 @@ define host {
alias pkgs01.stg.phx2.fedoraproject.org
use defaulttemplate
address pkgs01.stg.phx2.fedoraproject.org
parents virthost11
parents virthost16
}

View file

@ -1,8 +1,8 @@
define host {
host_name releng01
alias releng01.phx2.fedoraproject.org
use defaulttemplate
address releng01.phx2.fedoraproject.org
parents buildvmhost-06
contact_groups build-sysadmin-email
}
#define host {
# host_name releng01
# alias releng01.phx2.fedoraproject.org
# use defaulttemplate
# address releng01.phx2.fedoraproject.org
# parents buildvmhost-06
# contact_groups build-sysadmin-email
#}

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -3,5 +3,5 @@ define host {
alias unbound-ib01.fedoraproject.org
use defaulttemplate
address unbound-ib01.fedoraproject.org
parents ibiblio01
parents ibiblio04
}

View file

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

View file

@ -1,7 +1,7 @@
define host {
host_name value03
alias value03.phx2.fedoraproject.org
use defaulttemplate
address value03.phx2.fedoraproject.org
parents virthost07
}
#define host {
# host_name value03
# alias value03.phx2.fedoraproject.org
# use defaulttemplate
# address value03.phx2.fedoraproject.org
# parents virthost07
#}

View file

@ -1,7 +1,7 @@
define host {
host_name virthost11
alias virthost11.phx2.fedoraproject.org
use defaulttemplate
address virthost11.phx2.fedoraproject.org
parents fwsm01-gw
}
# define host {
# host_name virthost11
# alias virthost11.phx2.fedoraproject.org
# use defaulttemplate
# address virthost11.phx2.fedoraproject.org
# parents fwsm01-gw
# }

View file

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

View file

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

View file

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

View file

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

View file

@ -68,7 +68,7 @@ define command{
# 'host-notify-by-ircbot' command definition
define command{
command_name host-notify-by-ircbot
command_line /usr/bin/printf "%b" "#fedora-noc $NOTIFICATIONTYPE$ - $HOSTALIAS$ is $HOSTSTATE$: $HOSTOUTPUT$ ($$(hostname -s))" | nc -w 1 value03 5050
command_line /usr/bin/printf "%b" "#fedora-noc $NOTIFICATIONTYPE$ - $HOSTALIAS$ is $HOSTSTATE$: $HOSTOUTPUT$ ($$(hostname -s))" | /usr/local/bin/irc-colorize.py | nc -w 1 value01 5050
}
# 'notify-by-email' command definition
@ -82,7 +82,7 @@ define command{
# 'notify-by-ircbot' command definition
define command{
command_name notify-by-ircbot
command_line /usr/bin/printf "%b" "#fedora-noc $NOTIFICATIONTYPE$ - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$: $SERVICEOUTPUT$ ($$(hostname -s))" | nc -w 1 value03 5050
command_line /usr/bin/printf "%b" "#fedora-noc $NOTIFICATIONTYPE$ - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$: $SERVICEOUTPUT$ ($$(hostname -s))" | /usr/local/bin/irc-colorize.py | nc -w 1 value01 5050
}
# 'notify-by-xmpp' command definition

View file

@ -17,56 +17,28 @@ define servicedependency {
}
define servicedependency {
host_name app01
host_name pkgdb01
service_description nrpe
dependent_host_name app01
dependent_service_description Check Raid, Cron Daemon, Disk Space /, Disk Space /boot, Swap, Total Processes, Zombie Processes
dependent_host_name pkgdb01
dependent_service_description Check Raid, Cron Daemon, Disk Space /, Swap, Total Processes, Zombie Processes
notification_failure_criteria w,c
execution_failure_criteria w,c
}
define servicedependency {
host_name app02
host_name pkgdb02
service_description nrpe
dependent_host_name app02
dependent_service_description Check Raid, Cron Daemon, Disk Space /, Disk Space /boot, Swap, Total Processes, Zombie Processes
dependent_host_name pkgdb02
dependent_service_description Check Raid, Cron Daemon, Disk Space /, Swap, Total Processes, Zombie Processes
notification_failure_criteria w,c
execution_failure_criteria w,c
}
define servicedependency {
host_name app03
host_name pkgdb01.stg
service_description nrpe
dependent_host_name app03
dependent_service_description Check Raid, Cron Daemon, Disk Space /, Disk Space /boot, Swap, Total Processes, Zombie Processes
notification_failure_criteria w,c
execution_failure_criteria w,c
}
define servicedependency {
host_name app04
service_description nrpe
dependent_host_name app04
dependent_service_description Check Raid, Cron Daemon, Disk Space /, Disk Space /boot, Swap, Total Processes, Zombie Processes
notification_failure_criteria w,c
execution_failure_criteria w,c
}
define servicedependency {
host_name app05
service_description nrpe
dependent_host_name app05
dependent_service_description Check Raid, Cron Daemon, Disk Space /, Disk Space /boot, Swap, Total Processes, Zombie Processes
notification_failure_criteria w,c
execution_failure_criteria w,c
}
define servicedependency {
host_name app08
service_description nrpe
dependent_host_name app08
dependent_service_description Check Raid, Cron Daemon, Disk Space /, Disk Space /boot, Swap, Total Processes, Zombie Processes
dependent_host_name pkgdb01.stg
dependent_service_description Check Raid, Cron Daemon, Disk Space /, Swap, Total Processes, Zombie Processes
notification_failure_criteria w,c
execution_failure_criteria w,c
}
@ -125,11 +97,65 @@ define servicedependency {
execution_failure_criteria w,c
}
define servicedependency {
host_name sundries01
service_description nrpe
dependent_host_name sundries01
dependent_service_description Check Raid, Cron Daemon, Disk Space /, Swap, Total Processes, Zombie Processes
notification_failure_criteria w,c
execution_failure_criteria w,c
}
define servicedependency {
host_name sundries01.stg
service_description nrpe
dependent_host_name sundries01.stg
dependent_service_description Check Raid, Cron Daemon, Disk Space /, Swap, Total Processes, Zombie Processes
notification_failure_criteria w,c
execution_failure_criteria w,c
}
define servicedependency {
host_name sundries02
service_description nrpe
dependent_host_name sundries02
dependent_service_description Check Raid, Cron Daemon, Disk Space /, Swap, Total Processes, Zombie Processes
notification_failure_criteria w,c
execution_failure_criteria w,c
}
define servicedependency {
host_name wiki01
service_description nrpe
dependent_host_name wiki01
dependent_service_description Check Raid, Cron Daemon, Disk Space /, Swap, Total Processes, Zombie Processes
notification_failure_criteria w,c
execution_failure_criteria w,c
}
define servicedependency {
host_name wiki01.stg
service_description nrpe
dependent_host_name wiki01.stg
dependent_service_description Check Raid, Cron Daemon, Disk Space /, Swap, Total Processes, Zombie Processes
notification_failure_criteria w,c
execution_failure_criteria w,c
}
define servicedependency {
host_name wiki02
service_description nrpe
dependent_host_name wiki02
dependent_service_description Check Raid, Cron Daemon, Disk Space /, Swap, Total Processes, Zombie Processes
notification_failure_criteria w,c
execution_failure_criteria w,c
}
define servicedependency {
host_name packages03
service_description packages-internal
dependent_host_name packages03
dependent_service_description packages-internal-relationshiptab, packages-internal-bugstab
dependent_service_description packages-internal-bugstab
notification_failure_criteria w,c
execution_failure_criteria w,c
}
@ -138,7 +164,7 @@ define servicedependency {
host_name packages04
service_description packages-internal
dependent_host_name packages04
dependent_service_description packages-internal-relationshiptab, packages-internal-bugstab
dependent_service_description packages-internal-bugstab
notification_failure_criteria w,c
execution_failure_criteria w,c
}

View file

@ -1,5 +1,5 @@
define servicegroup {
servicegroup_name autoqa
alias AutoQA Hosts
members autoqa01,autoqa01-autotest-frontend,autoqa-stg01,autoqa-stg01-autotest-frontend
members autoqa01,autoqa01-autotest-frontend
}

View file

@ -1,7 +1,7 @@
define servicegroup {
servicegroup_name bodhi
alias Bodhi
members proxy01-wildcard,bodhi,proxy02-wildcard,bodhi,proxy03-wildcard,bodhi,proxy04-wildcard,bodhi,proxy06-wildcard,bodhi,proxy07-wildcard,bodhi,proxy08-wildcard,bodhi,app01,bodhi-internal,app02,bodhi-internal,app03,bodhi-internal,app04,bodhi-internal,app05,bodhi-internal,app08,bodhi-internal,proxy09-wildcard,bodhi
members proxy01-wildcard,bodhi,proxy02-wildcard,bodhi,proxy03-wildcard,bodhi,proxy04-wildcard,bodhi,proxy06-wildcard,bodhi,proxy07-wildcard,bodhi,proxy08-wildcard,bodhi,proxy09-wildcard,bodhi,bodhi01,bodhi-internal,bodhi02,bodhi-internal
}

View file

@ -1,6 +1,6 @@
define servicegroup {
servicegroup_name freemedia
alias FreeMedia
members app01,freemedia-internal,app02,freemedia-internal,app03,freemedia-internal,app04,freemedia-internal,app05,freemedia-internal,app08,freemedia-internal
members sundries01,freemedia-internal,sundries02,freemedia-internal
}

Some files were not shown because too many files have changed in this diff Show more