原创 cronolog日誌切割安裝配置

一、下載wget http://cronolog.org/download/cronolog-1.6.2.tar.gz二、安裝./configure && make && make installcd /usr/local/sbin/./c

原创 check_traffic.sh報錯-No Such Object available on this agent at this OID

報錯:root@localhost mnt]# ./check_traffic.sh -V 2c -C public -H 127.0.0.1 -LList Interface for host 127.0.0.1.Interface in

原创 memcached stats命令詳解

stats 命令STAT pid 1552STAT uptime 3792STAT time 1262517674STAT version 1.2.6STAT pointer_size 32STAT curr_items 1STAT tot

原创 centreon安裝配置文檔

LAMP+Nagios+Ndoutils+Centreon 64位操作系統安裝LAMP安裝安裝yum 源1.rpm -ivh rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm2.rpm -ivh epel

原创 pcre-8.20編譯安裝出錯[pcrecpp.lo] Error 1

下載pcre-8.20編譯安裝,make時報錯:source='pcrecpp.cc' object='pcrecpp.lo' libtool=yes DEPDIR=.deps depmode=none /bin/sh ./depc

原创 Nginx+keepalived

Nginx+keepalived一、環境:centos5.6(64位)、nginx-0.7.51、keepalived-1.1.15   主nginx負載均衡器:192.168.1.205 輔nginx負載均衡器:192.168.1.206

原创 cacti監控tomcat

環境:tomcat:apache-tomcat-7.0.35 cactiEZ:10.1系統:centos5.6_x64一、配置tomcat服務器1、添加賬號vim tomcat-users.xml<role rolename="manage

原创 postfix基本維護

example textpostfix有四種不同的郵件隊列,並且由隊列管理進程統一進行管理:  1. maildrop:本地郵件放置在maildrop中,同時也被拷貝到incoming中。  2. incoming:放置正在到達或隊列管理進

原创 bugfree 郵件通知配置

bugfree 郵件通知配置vim /var/www/html/bugfree/protected/config/main.phparray ( 'on' => '1', 'from_address' => 'test@

原创 tar 打包排除指定目錄

打包aixue目錄,並排除aixue/public_html/目錄下的Upload目錄,uploadfiles目錄和Pic目錄。注意:--exclude後面直接跟要排除的目錄或文件名,不用指明路徑tar zcf aixue_20130922