Hobbit监控系统的安装配置.docx
- 文档编号:2871349
- 上传时间:2022-11-16
- 格式:DOCX
- 页数:16
- 大小:19.20KB
Hobbit监控系统的安装配置.docx
《Hobbit监控系统的安装配置.docx》由会员分享,可在线阅读,更多相关《Hobbit监控系统的安装配置.docx(16页珍藏版)》请在冰豆网上搜索。
Hobbit监控系统的安装配置
HobbitInstallationandConfiguration
2012/10/31
JackeyHuang
1.serverinstallation
1.1packagesrequired
Firstcheckthefollowingpackageshavebeeninstalled
-zlib--d
-libpng--d
-openssl-0.9.8e--d
-freetype2--d
-libart_lgpl-2.3.10-1.i386.rpm---d
-RRDtool
diabletclusingconfigureoption./configure--disable-tcl
-PCRE
-gcc-c++-3.4.6-8.i386.rpm---------d
-libstdc++-devel-3.4.6-8.i386.rpm---d
1.2compileandinstallHobbitserver
Afterunpackthetarfile:
./confiugre
make
(asroot)makeinstall
1.3configuration
copy/etc/init.d/hobbitscript;add+xpermissiontothescript
confighosts:
bb-hosts
configalerte-mailetc:
hobbit-alerts.cfg
hobbit-clients.cfg:
2.clientinstallation
2.1createhobbituser(50010)andgroup(50010)
2.2installtheclientpackagebycopyanduntartheclient.tarfile
2.3creatstartscriptandgrant+xpermission
#!
/bin/sh
#
#chkconfig:
23455525
#description:
OpenSSHserverdaemon
su-lhobbit-c"/home/hobbit/client/runclient.sh$1"
2.4configthehobbitservice
chkconfig–addhobbit
chkconfig--level2345hobbiton
2.5addentryinbb-host*onserverside,addconfiginhobbit-clients.cfg
ifadditionalmonitoringareneeded(portandlogetc.)
Reference:
[root@cnxmnmon01xymon-4.3.0-beta2]#makeinstall
mkdir-p/home/hobbit/server/home/hobbit/server/download/home/hobbit/data
mkdir-p/home/hobbit/server/bin
chownhobbit/home/hobbit/server/bin
chgrp`id-ghobbit`/home/hobbit/server/bin
mkdir-p/home/hobbit/server/etc
chownhobbit/home/hobbit/server/etc
chgrp`id-ghobbit`/home/hobbit/server/etc
mkdir-p/home/hobbit/server/ext
chownhobbit/home/hobbit/server/ext
chgrp`id-ghobbit`/home/hobbit/server/ext
mkdir-p/home/hobbit/server/tmp
chownhobbit/home/hobbit/server/tmp
chgrp`id-ghobbit`/home/hobbit/server/tmp
mkdir-p/home/hobbit/server/web
chownhobbit/home/hobbit/server/web
chgrp`id-ghobbit`/home/hobbit/server/web
mkdir-p/home/hobbit/server/www/home/hobbit/server/www/gifs/home/hobbit/server/www/help/home/hobbit/server/www/html/home/hobbit/server/www/menu/home/hobbit/server/www/notes/home/hobbit/server/www/rep/home/hobbit/server/www/snap/home/hobbit/server/www/wml
chownhobbit/home/hobbit/server/www/home/hobbit/server/www/gifs/home/hobbit/server/www/help/home/hobbit/server/www/html/home/hobbit/server/www/menu/home/hobbit/server/www/notes/home/hobbit/server/www/rep/home/hobbit/server/www/snap/home/hobbit/server/www/wml
chgrp`id-ghobbit`/home/hobbit/server/www/home/hobbit/server/www/gifs/home/hobbit/server/www/help/home/hobbit/server/www/html/home/hobbit/server/www/menu/home/hobbit/server/www/notes/home/hobbit/server/www/rep/home/hobbit/server/www/snap/home/hobbit/server/www/wml
chgrpnobody/home/hobbit/server/www/rep/home/hobbit/server/www/snap
chmodg+w/home/hobbit/server/www/rep/home/hobbit/server/www/snap
mkdir-p/home/hobbit/data/acks
chownhobbit/home/hobbit/data/acks
chgrp`id-ghobbit`/home/hobbit/data/acks
mkdir-p/home/hobbit/data/data
chownhobbit/home/hobbit/data/data
chgrp`id-ghobbit`/home/hobbit/data/data
mkdir-p/home/hobbit/data/disabled
chownhobbit/home/hobbit/data/disabled
chgrp`id-ghobbit`/home/hobbit/data/disabled
mkdir-p/home/hobbit/data/hist
chownhobbit/home/hobbit/data/hist
chgrp`id-ghobbit`/home/hobbit/data/hist
mkdir-p/home/hobbit/data/histlogs
chownhobbit/home/hobbit/data/histlogs
chgrp`id-ghobbit`/home/hobbit/data/histlogs
mkdir-p/home/hobbit/data/hostdata
chownhobbit/home/hobbit/data/hostdata
chgrp`id-ghobbit`/home/hobbit/data/hostdata
mkdir-p/home/hobbit/data/logs
chownhobbit/home/hobbit/data/logs
chgrp`id-ghobbit`/home/hobbit/data/logs
mkdir-p/home/hobbit/data/rrd
chownhobbit/home/hobbit/data/rrd
chgrp`id-ghobbit`/home/hobbit/data/rrd
BBHOME="/home/hobbit/server"MANROOT="/usr/local/man"INSTALLROOT=""INSTALLBINDIR="/home/hobbit/server/bin"INSTALLETCDIR="/home/hobbit/server/etc"INSTALLEXTDIR="/home/hobbit/server/ext"INSTALLTMPDIR="/home/hobbit/server/tmp"INSTALLWEBDIR="/home/hobbit/server/web"INSTALLWWWDIR="/home/hobbit/server/www"make-Ccommoninstall
make[1]:
Enteringdirectory`/home/source/xymon-4.3.0-beta2/common'
cp-fpbbhostgrepbbhostshowbbdigestbbbbcmdhobbitlaunch/home/hobbit/server/bin/
mkdir-p/usr/local/man/man1/usr/local/man/man5/usr/local/man/man7/usr/local/man/man8
cp-fp*.1/usr/local/man/man1/
cp-fp*.5/usr/local/man/man5/
cp-fp*.7/usr/local/man/man7/
cp-fp*.8/usr/local/man/man8/
make[1]:
Leavingdirectory`/home/source/xymon-4.3.0-beta2/common'
BBHOME="/home/hobbit/server"MANROOT="/usr/local/man"CGIDIR="/home/hobbit/cgi-bin"SECURECGIDIR="/home/hobbit/cgi-secure"INSTALLROOT=""INSTALLBINDIR="/home/hobbit/server/bin"INSTALLETCDIR="/home/hobbit/server/etc"INSTALLEXTDIR=
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- Hobbit 监控 系统 安装 配置
![提示](https://static.bdocx.com/images/bang_tan.gif)