Category: 服务器

Nagios更改报警邮件发件人地址

Posted by – 2010-03-10

#发现nagios的发件人地址是这样的:
#“运行nagios的用户”@“服务器上hosts文件中配置的主机名”

#觉得不爽,改之
#nagios发邮件是调用sendmail,所以牵扯到sendmail的配置

Suse下搭建svn服务

Posted by – 2010-01-02

####################################
#SVN Configuration
#Author:楚霏
#Date: 2010-01-02
#Env: SuSe Linux Enterprise Desktop 11
####################################

一、安装
####################################

Nginx的worker_cpu_affinity详解

Posted by – 2009-11-09

配置文件中的worker_cpu_affinity可以用来绑定每个nginx进程所使用的CPU
官方的解释是:
#----------------------------引用文字-开始----------------------------
Syntax: worker_cpu_affinity cpumask [cpumask...]
Default: none
Linux

Nagios冗余设置

Posted by – 2009-11-09

#主监控服务器搬迁后,原来的配置还是留下做个冗余比较好。
#原主监控机ip为10.0.0.52
#新主监控机ip为10.0.0.166
#原监控机上把配置文件都备份一下
#只留下一个被监控机,一个服务

Nagios监控磁盘I/O

Posted by – 2009-11-05

#官方默认插件中并无此插件,但官方还是提供了这个插件的下载,地址在:
http://exchange.nagios.org/directory/Plugins/Uncategorized/Operating-Systems/Linux/check_iostat-%252D-I-2FO-statistics/details

CentOS+Cacti基本安装配置

Posted by – 2009-11-04

####################################
#Cacti Configuration
#Author:楚霏
#Date: 2009-11-04
#Env: Centos 5.4 x86_64
####################################


一、准备工作
####################################

Nagios配置文件美化

Posted by – 2009-10-30

监控的机器多了,那个hostgroups文件就成了这:
#----------------------------引用文字-开始----------------------------
define hostgroups{
hostgroup_name all_hosts
alias all_hosts
members

Nagios升级安装

Posted by – 2009-10-22

#################################
# Nagios升级安装 #
# Author: 楚霏 #
# Date: 2009-10-22#
# Env: Centos 5.3 x86_64#
#################################

#nagios

Nginx平滑升级

Posted by – 2009-09-27

#################################
# Nginx平滑升级 #
# Author: 楚霏 #
# Date: 2009-09-25#
# Env: Centos 5.3 x86_64#
#################################

#以nginx0.7.61升级到nginx0.7.62为例
#下载新版
cd

CentOS下lvs_dr方式配置

Posted by – 2009-09-10

####################################
#lvs_dr_configuration
#Author:楚霏
#Date: 2009-08-25
#Last Update:2009-09-10
####################################

一、准备工作
####################################
环境:Centos 5.3 x86_64