User Tools

Site Tools


pages:howtos:monit:hosts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
pages:howtos:monit:hosts [2021/01/30 13:31] mischerhpages:howtos:monit:hosts [2021/12/09 23:24] (current) rokkitlawnchair
Line 1: Line 1:
-{{tag>monit monitoring host ispconfig roundcube}}+{{tag>howto monit monitoring host ispconfig roundcube ssl certificate expiration ping ipv4 ipv6 icmp dns protocol port connection}}
 ====== monitoring a host ====== ====== monitoring a host ======
 +this is checking:
 +  * ping via IPv4 and IPv6
 +  * http connection to various FQDNs
 +  * expiration of SSL certificates
  
 <sxh bash; title: /etc/monit/monitrc> <sxh bash; title: /etc/monit/monitrc>
Line 6: Line 10:
         if failed ping4 then alert         if failed ping4 then alert
         if failed ping6 then alert         if failed ping6 then alert
 +        
         # ISPConfig         # ISPConfig
         if failed         if failed
Line 12: Line 17:
                   and certificate valid > 3 days                   and certificate valid > 3 days
         then alert         then alert
 +        
         # generic domain         # generic domain
         if failed url https://host.domain.tld/         if failed url https://host.domain.tld/
Line 17: Line 23:
                   and certificate valid > 3 days                   and certificate valid > 3 days
         then alert         then alert
 +        
         # Roundcube         # Roundcube
         if failed          if failed 
Line 28: Line 35:
         group connectivity         group connectivity
 </sxh> </sxh>
 +
 +----
 +~~DISCUSSION~~
pages/howtos/monit/hosts.1612013505.txt.gz · Last modified: 2021/01/30 13:31 by mischerh