User Tools

Site Tools


pages:howtos:monit:hosts

This is an old revision of the document!


monitoring a host

check host host.domain.tld with address host.domain.tld 
        if failed ping4 then alert
        if failed ping6 then alert
        # ISPConfig
        if failed
                  port 8080
                  protocol https
                  and certificate valid > 3 days
        then alert
        # generic domain
        if failed url https://host.domain.tld/
                  with timeout 15 seconds
                  and certificate valid > 3 days
        then alert
        # Roundcube
        if failed 
                  port 443
                  protocol https
                  request /webmail/
                  with timeout 15 seconds
                  and certificate valid > 3 days
                  content = "The Roundcube Dev Team"
        then alert
        group connectivity

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
pages/howtos/monit/hosts.1612013505.txt.gz · Last modified: 2021/01/30 13:31 by mischerh