2019年11月4日

摘要: 一、 1、首次为检测apache有没有正常运行写一个脚本 运行中输出1,没有运行输出0: [root@server etc]# vim /usr/local/zabbix/etc/chk_httpd.sh#!/bin/bashnetstat -lnpt | grep -q :80if [ $? -e 阅读全文
posted @ 2019-11-04 15:26 猫南北y 阅读(261) 评论(0) 推荐(0) 编辑
 
摘要: 一、Linux-agent端的操作: vim /etc/hostname HOSTNAME=agent.zabbix.com hoastname agent.zabbix.com bash cat /etc/hosts127.0.0.1 localhost localhost.localdomain 阅读全文
posted @ 2019-11-04 14:55 猫南北y 阅读(1546) 评论(0) 推荐(0) 编辑