摘要:
被监控机的Mysql监控创建专用数据库、专用数据库账户mysql -uroot -pcreate database nagios_monitor;grant select on nagios_monitor.* to nagios@'%' identified by 'nagiosMonitor';... 阅读全文
摘要:
监控本机内存cd /usr/lib64/nagios/pluginstouch check_mem.sh#!/bin/bashif [ "$1" = "-w" ] && [ "$2" -gt "0" ] && [ "$3" = "-c" ] && [ "$4" -gt "0" ]; then ... 阅读全文