发布时间:2013-04-11 11:14:44
server { listen 80; server_name www.nagios.com; location ~ \.cgi$ { root /data/apps/nagios/sbin; &n.........【阅读全文】
发布时间:2013-03-30 18:16:48
#!/bin/bash#from network#This Nagios plugin can be checked your system memory statusUSAGE_Method="$(basename $0) [-w|--warning] [-c|--critical]"USAGE_Value="WARNING value must be large than CRITICAL value:`basename $0` $*"STATE_OK=0STATE_WARNING=1STATE_CRITICAL=2.........【阅读全文】
发布时间:2013-03-28 17:22:15
#!/bin/shmkdir -p /usr/local/nagios/libexecNG_source=/data/sourceNG_DIR=/usr/local/nagiosNG_DIRLIB=/usr/local/nagios/libexecNG_SOURCE_DIR=/data/source/nagiosNG_PL_DIR=/data/source/nagios-plugins-1.4.16NG_NR_DIR=/data/source/nrpe-2.14yum -y install httpd php gcc glibc glibc-common gd gd-deve.........【阅读全文】
发布时间:2013-03-27 13:47:32
#!/bin/bashif [ ! -d /data/source/nagios ];then mkdir -p /data/source/nagiosfiSOFT_PATH=/data/source/nagiosNG_SERVER=192.168.1.179LO_CLIENT=127.0.0.1XIN_NRPE_PATH=/etc/xinetd.d/nrpePORT_NRPE_PATH=/etc/services yum -y install xinetd openssl-develdownload(){&.........【阅读全文】