摘要:
一、 1、首次为检测apache有没有正常运行写一个脚本 运行中输出1,没有运行输出0: [root@server etc]# vim /usr/local/zabbix/etc/chk_httpd.sh#!/bin/bashnetstat -lnpt | grep -q :80if [ $? -e 阅读全文
2019年11月4日
摘要:
一、Linux-agent端的操作: vim /etc/hostname HOSTNAME=agent.zabbix.com hoastname agent.zabbix.com bash cat /etc/hosts127.0.0.1 localhost localhost.localdomain 阅读全文