- 论坛徽章:
- 0
|
自己总结的安装文档,附带截图。平常都用的是cacti ,可是cacti 检测服务太麻烦。不过cacti 对系统信息的检测的却很牛插。今天下午找了
另类的检测工具。 big brother 的妹妹--big sister,网上的中文安装文档得却很少,生气之余,总结了一下。奉献给热爱监控的同志们。
另外,由于上传附件的大小限制,不能给各位上传截图了。
big brother 和cacti 的功能差不多。 都是以plugin 方式加载,不过现有的plugin (windows/linux/unix /services )的监控已经加入到了源码中。 很方便了。
0. install perl
1. install apache 支持so
cp /usr/local/apache/bin/apxs /usr/bin /usr/sbin/ /usr/local/bin /usr/local/sbin
2. install gd 按照INSTALL.txt
3. install SNMP_Session-1.08.tar.tar
tar xvfz SNMP_Session-1.08.tar.tar
perl Makefile.PL
make ; make install;
4. install CGI-SpeedyCGI-2.22.tar.gz
tar xvfz CGI-SpeedyCGI-2.22.tar.gz
perl Makefile.PL
选择yes.
make;
make install;
观察apache httpd.conf 是否加入了
LoadModule speedycgi_module libexec/mod_speedycgi.so
5. install rrdtool-1.0.50.tar.gz
tar xvfz rrdtool-1.0.50.tar.gz;
./configure --prefix=/usr/local/rrdtool
make ; make install; make site-perl-install;
————
安装netsnmp ,我的版本是:
NET-SNMP version: 5.0.9
Web: http://www.net-snmp.org/
Email: net-snmp-coders@lists.sourceforge.net
-------------------------
6. INSTALL big-sister-1.02.tar.gz
useradd bs;
tar xvfz big-sister-1.02.tar.gz;
./configure --prefix=/usr/local/bigsister
make ; make install ;
下面有几个选项可提供安装的组建。
Once you have run configure and you are happy with the configuration
it generated you can run
make install
to install the whole Big Sister package or
make install-agent
to just install the agent, or
make install-server
to just install the server.
7. configure apache server;
vi httpd.conf 加入类似的选项。
ScriptAlias /cgi-bin/ "/usr/local/apache1331/cgi-bin/"
ScriptAlias /cgi/ "/usr/local/bigsister/cgi/"
<Directory "/usr/local/bigsister/cgi">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
8. 加入 软连接:
cd /usr/local/apache/htdocs;
ln -s /usr/local/bigsister/www bs
ln -s /usr/local/bigsister/www www
9. apache graceful
http://192.168.2.131/www/index.html
启动 bigsister : /usr/local/bigsister/bin/bb_start start
10 bigsister agent 配置文件:
主要看它的帮助文档.
推荐几个bigsister 的网站:L
http://bigsister.graeff.com 官网。
http://bigsister.graeff.com/pdoc/CONFIG.html#5 配置指南。
恭祝各位安装成功。
希望国内的programmer也能写出自己的监控系统来。呵呵。
我的msn : liutaostdio@hotmail.com |
|