Last active
February 15, 2018 16:07
-
-
Save justyntemme/8e47e407093de64054ddf377d19ad489 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Define a host for the local machine | |
define host{ | |
use linux-server ; Name of host template to use | |
; This host definition will inherit all variables that are defined | |
; in (or inherited by) the linux-server host template definition. | |
host_name $val | |
alias $val | |
address $val | |
} | |
############################################################################### | |
############################################################################### | |
# | |
# SERVICE DEFINITIONS | |
# | |
############################################################################### | |
############################################################################### | |
# Disable notifications for this service by default, as not all users may have HTTP enabled. | |
define service{ | |
use generic-service ; Name of service template to use | |
host_name $val | |
service_description HTTP | |
check_command check_http | |
notifications_enabled 1 | |
} | |
places marked with $val need to take a text file with entries sperated by line breaks. ie | |
agesafely.com | |
website.com | |
website.com | |
website.com | |
and create a file $val.cfs. ie website.com.cfg | |
Each of the website names will be different obviosly | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment