发布时间:2013-06-03 17:13:01
cd /data/source/php-5.3.5/ext/mysqli/data/apps/php/bin/phpize./configure –with-php-config=/data/apps/php/bin/php-config –enable-embedded-mysqli=shared –with-mysqli=/data/apps/mysql/bin/mysql_configmake && make installvim php.iniextension_dir = ”/data/apps/php/lib/php/extens.........【阅读全文】
发布时间: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(){&.........【阅读全文】