Big-sister实践安装文档-----成功安装
Big-sister实践安装文档1.安装前的准备
net-snmp-utils-5.1.2-11
net-snmp-devel-5.1.2-11
net-snmp-libs-5.1.2-11
net-smp-5.1.2-11
net-snmp-perl-5.1.2-11
perl-rrdtool-1.0.50-3.el4.rf.i386.rpm
rrdtool-1.0.50-3.el4.rf.i386.rpm
2.安装辅助软件snmp和rrdtool
yum install net-snmp-*
rpm -ivh rrdtool-1.0.50-3.el4.rf.i386.rpm
rpm -ivh perl-rrdtool-1.0.50-3.el4.rf.i386.rpm
注:rrdtool软件下载地址:[url]http://dag.wieers.com/rpm/packages/rrdtool/[/url]
3.安装big-sister
tar –zxvf big-sister-1.02.tar.gz
cd big-sister-1.02.tar.gz
./configure --prefix=/usr/local/bs --with-user=root --with-cgi=/usr/local/bs/cgi --with-url=/bigsis
make install
make install-agent
make install-modules
make install-server
make install-modules
安装bigsister需要注意的是,有的人喜欢为bigsister建个用户,但是这样在检测disk, msgs的时候会出现一些权限问题,如Cannot open the log: /var/log/messages: Permission denied,所以我在安装的时候用的是root用户
3.配置bigsister
配置/usr/local/bs/adm/uxmon-net, 用vi命令打开
bigsister默认5分钟check一次,根据自己的需求修改frequency=5 perf=5
添加http
localhost http 不写端口默认为80端口
localhost url=http://host:port或者 localhost http://host:port
添加tcp,例如:
localhost service=ssh tcp
其他常用的服务都可以这样写(如ftp,smtp pop3, nntp, ica等)
添加监测端口,如监测tomcat端口8080
localhost port=8080 tcp
注意:localhost可以改为本机的计算机名字或ip地址,如监测多台服务器,再添加服务器的时候,把localhost改为要添加服务器的名字或IP地址,这样就可以监测多台服务器
更多详细的配置请参阅doc/CONFIG文档
4. 启动bigsister服务
service snmpd start
/usr/local/bs/bin/bb_start start 启动服务
/usr/local/bs/bin/bb_start stop 关闭服务
5. 安装apache
简单配置apache
vi /usr/local/apache/conf/http.conf
修改DocumentRoot 为DocumentRoot "/usr/local/bs/www"
添加include /usr/local/bs/adm/httpd.conf 如果不添加这行,网页alarms,admin,help打不开
启动apache服务
6.打开网页http://ip/bigsis 查看监测页面,这里有更多的帮助
7.客户配置
220.194.59.208 bsdisplay #big-sister 220.194.59.208改为big-sister服务器的IP地址即可
页:
[1]