A simple monitoring solution written in Go (work in progress)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
553 B

  1. set interval 30s
  2. alarm people email
  3. to test1@localhost
  4. to test2@localhost
  5. smtp localhost
  6. from alrm@localhost
  7. monitor group webservers
  8. host www1.example.com address 10.11.135.101
  9. check ping
  10. host www2.example.com address 10.11.135.102
  11. # comments can occur at the beginning
  12. check ping # or the end of a line
  13. check ping # checks are not named, so multiple is okay
  14. monitor host gateway address 10.79.37.220
  15. check ping count 10 interval 100ms
  16. # Hosts without any checks will always be successful
  17. monitor host database address 10.11.135.103