ssl - 我如何在 ubuntu 的 nagios 核心中配置 ssl experation 监控

标签 ssl nagios

我已经在ubuntu 18上安装了Nagios core 4.4.5版本,现在我只想监控我的远程服务器的SSL过期时间,那么如何在Nagios服务器上配置SSL插件

最佳答案

自从我尝试了一段时间以来,但我认为这样的事情应该可行:

命令定义:

define command{
    command_name check_cert
    command_line /usr/lib/nagios/plugins/check_http -S \
        -I $HOSTADDRESS$ -w 5 -c 10 -p $ARG1$ -C $ARG2$
}

服务定义:

define service {
  service_description            SSL expiration
  host_name                      your-remote-server
  use                            generic-service
  check_command                  check_named_cert!443!21!www.example.net
}

我还认为我玩过一些插件。

关于ssl - 我如何在 ubuntu 的 nagios 核心中配置 ssl experation 监控,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57952707/

相关文章:

c++ - boost asio ssl async_shutdown总是以错误结束?

ssl - 如何让 Gitlab 6.5 在 Apache 2.4 代理下显示其图标?

monitoring - 在 Check_MK 中禁用主机通知

monitoring - 配置 nagios riemann 集成进行监控

linux - 如何添加 Nagios 自定义状态

ios - 从 iOS 设备获取证书列表

ssl - 使用 Fiddler 解密 SSL 流量失败

security - 使用 SSL 的竞赛安全积分交易

notifications - NagiosXI : what does notification option "s" mean?

monitoring - 是否可以将 nagios 配置为按主机组或服务组发送通知?