[zabbix]-shell+zabbix監控網站https證書過期時間

目的是通過腳本監控https證書,在要過期前30天告警。   shell版本 創建一個監控的shell腳本 check_domain_time.sh如下 #!/bin/bash # 加載環境變量 . /etc/profile . ~/.bash_profile . /etc/bashrc   # 腳本所在目錄即腳本名稱 script_dir=$( cd "$( dirname "$0"  )" &
相關文章
相關標籤/搜索