【发布时间】:2019-05-02 02:48:59
【问题描述】:
我目前正试图密切关注我的系统证书,以确保在到期前 30 天收到警报。作为一个例子,我拿了 google.com 并监控它的证书。查看monitrc文件我添加了这个:
check host google.com with address google.com
if failed
port 443
protocol https
with ssl options {verify: enable}
certificate valid > 1095 days
then alert
当我重新启动 monit 时出现错误,没有名为 google.com 的服务
【问题讨论】:
标签: ssl certificate monit