2020-12-26 11:44:53 -09:00
|
|
|
set interval 30
|
|
|
|
|
|
|
|
monitor group webservers
|
|
|
|
host www1.example.com address 10.11.135.101
|
|
|
|
check ping
|
|
|
|
host www2.example.com address 10.11.135.102
|
2021-01-01 09:26:49 -09:00
|
|
|
# comments can occur at the beginning
|
|
|
|
check ping # or the end of a line
|
|
|
|
check ping # checks are not named, so multiple is okay
|
|
|
|
|
2021-01-01 15:43:28 -09:00
|
|
|
monitor host gateway address 10.79.37.200
|
|
|
|
check ping
|
2020-12-26 11:44:53 -09:00
|
|
|
|
2021-01-01 15:43:28 -09:00
|
|
|
# Hosts without any checks will always be successful
|
|
|
|
monitor host database address 10.11.135.103
|