22 lines
553 B
Plaintext
22 lines
553 B
Plaintext
set interval 30s
|
|
|
|
alarm people email
|
|
to test1@localhost
|
|
to test2@localhost
|
|
smtp localhost
|
|
from alrm@localhost
|
|
|
|
monitor group webservers
|
|
host www1.example.com address 10.11.135.101
|
|
check ping
|
|
host www2.example.com address 10.11.135.102
|
|
# comments can occur at the beginning
|
|
check ping # or the end of a line
|
|
check ping # checks are not named, so multiple is okay
|
|
|
|
monitor host gateway address 10.79.37.220
|
|
check ping count 10 interval 100ms
|
|
|
|
# Hosts without any checks will always be successful
|
|
monitor host database address 10.11.135.103
|