2021-01-16 09:30:18 -09:00
|
|
|
set interval 30s
|
|
|
|
|
2021-01-17 09:04:08 -09:00
|
|
|
alarm people email
|
|
|
|
to test1@localhost
|
|
|
|
to test2@localhost
|
2021-01-20 18:49:32 -09:00
|
|
|
smtp localhost
|
2021-01-17 09:04:08 -09:00
|
|
|
from alrm@localhost
|
2020-12-26 11:44:53 -09:00
|
|
|
|
|
|
|
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-02 06:29:12 -09:00
|
|
|
monitor host gateway address 10.79.37.220
|
2021-01-02 13:21:57 -09:00
|
|
|
check ping count 10 interval 100ms
|
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
|