摘要: 在客户端机器上创建脚本 vim /etc/zabbix/zabbix_agentd.d/check-cert-expire.sh #!/bin/sh host=$1port=$2end_date=`openssl s_client -servername $host -host $host -por 阅读全文
posted @ 2018-09-10 14:34 戒爱不戒情 阅读(650) 评论(0) 推荐(0) 编辑
摘要: 配置自定义键值 vim /etc/zabbix/zabbix_agentd.d/sanguo_check_ssh.conf 添加自定义键值 UserParameter=sanguo.check.ssh,/bin/who | wc -lUserParameter=dengchu,/bin/last 保 阅读全文
posted @ 2018-09-10 13:49 戒爱不戒情 阅读(1069) 评论(0) 推荐(0) 编辑
摘要: zabbix-agent 被动式配置 vim /etc/zabbix/zabbix_agentd.conf server修改成 zabbix-server 服务器IP地址 并打开listenPort 监听端口 保存并重启zabbix-agent 登入zabbix后台 zabbix-agent 主动式 阅读全文
posted @ 2018-09-10 13:31 戒爱不戒情 阅读(213) 评论(0) 推荐(0) 编辑
摘要: 第一步:安装nginx ############安装Nginx###########yum localinstall http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm 阅读全文
posted @ 2018-09-10 13:16 戒爱不戒情 阅读(663) 评论(1) 推荐(0) 编辑