Zabbix短信报警脚本
脚本内容#!/bin/bash
#
# Filename: sendSMS.sh
# Revision: 1.0
# Date: 2017/11/21
# Author: LiuGuangShun
# Email:
# Website: http://zabbix
# Description: zabbix短信告警脚本
# Notes: ...
阅读全文
脚本内容#!/bin/bash
#
# Filename: sendSMS.sh
# Revision: 1.0
# Date: 2017/11/21
# Author: LiuGuangShun
# Email:
# Website: http://zabbix
# Description: zabbix短信告警脚本
# Notes: ...
阅读全文
先停止zabbix_server,防止有数据写入清理全部历史数据对zabbix数据库执行MySQL语句truncate table history;
optimize table history;
truncate table history_uint;
optimize table history_uint;
truncate table trends;
optimize table ...
阅读全文
环境准备先搭建Web环境(如Nginx+PHP+MySQL)安装SNMP从官网http://www.net-snmp.org/download.html下载源码包,并解压编译安装./configure --prefix=/usr/local/snmp --with-mib-modules=ucd-snmp/diskio
make
make install如果编译报错,提示"make: ***...
阅读全文