71 lines
2.7 KiB
INI
71 lines
2.7 KiB
INI
# Config file: externalhosts.cfg
|
|
# Define a host for the local machine
|
|
|
|
define host{
|
|
use linux-server ; Name of host template to use
|
|
host_name google.com
|
|
alias google.com
|
|
address www.google.com
|
|
}
|
|
|
|
define host{
|
|
use linux-server ; Name of host template to use
|
|
host_name yahoo.com
|
|
alias yahoo.com
|
|
address www.yahoo.com
|
|
}
|
|
|
|
###############################################################################
|
|
# Define a host for the machine cg2
|
|
define host{
|
|
use linux-server ; Name of host template to use
|
|
host_name cg2.ionu.com
|
|
alias CG2
|
|
address 50.203.156.142 ; CG2 is fixed at this time???
|
|
}
|
|
|
|
###############################################################################
|
|
# Define a host for the machine serving qa.ionu.nu
|
|
define host{
|
|
use linux-server ; Name of host template to use
|
|
host_name qa.ionu.nu
|
|
alias qa
|
|
# address qa.ionu.nu ; qa is accessed by hostname
|
|
address 54.213.49.185 ; qa is external IP
|
|
}
|
|
|
|
###############################################################################
|
|
# Define a host for the machine serving services.ionu.com
|
|
define host{
|
|
use linux-server ; Name of host template to use
|
|
host_name services.ionu.com
|
|
alias prod
|
|
# address services.ionu.com ; prod is accessed by hostname
|
|
address 54.213.142.48 ; prod is external IP
|
|
}
|
|
|
|
###############################################################################
|
|
###############################################################################
|
|
#
|
|
# HOSTGROUP DEFINITIONS
|
|
#
|
|
###############################################################################
|
|
###############################################################################
|
|
|
|
define hostgroup{
|
|
hostgroup_name commercial-servers
|
|
members google.com,yahoo.com
|
|
}
|
|
|
|
define hostgroup{
|
|
hostgroup_name ionu-servers
|
|
members cg2.ionu.com,qa.ionu.nu,services.ionu.com
|
|
}
|
|
|
|
# A simple wildcard hostgroup
|
|
define hostgroup {
|
|
hostgroup_name all
|
|
alias All Servers
|
|
members *
|
|
}
|