Changed groups and hosts to use maps in config, reorganized code, cleaned up command line arguments
This commit is contained in:
8
alrmrc
8
alrmrc
@ -1,11 +1,13 @@
|
||||
set interval 30
|
||||
|
||||
monitor host gateway address 10.11.135.100
|
||||
|
||||
monitor group webservers
|
||||
host www1.example.com address 10.11.135.101
|
||||
check ping
|
||||
host www2.example.com address 10.11.135.102
|
||||
check ping
|
||||
# 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.11.135.100
|
||||
|
||||
monitor host database
|
||||
|
Reference in New Issue
Block a user