Hobbit是一个基于WEB用于监视系统运行状态和网络信息的系统。Hobbit能监视所指定的本地或远程主机以及服务,同时提供异常等通知功能
Hobbit可运行在诸如Linux, FreeBSD, Solaris等Unix-base的等系统之上。

Hobbit的主要功能特点:
- 监视网络服务 (SMTP, FTP, HTTP等)
- 监视主机资源 (进程, 磁盘等)
- 可监视一到多个服务器系统,所有监视结果被集中到中央服务器上,并通过通俗易懂的WEB界面帮助/提醒系统管理人员发现和解决问题
- 监视结果的图形分析功能等
- 异常等通知功能 (通过email, pager-alert, SMS等)
等等
OS: Freebsd 6.3
apache1.3.37
hobbit-4.1.2p1.tar.gz
需要安装的软件包:fping、freetype、libpng、rdtool、zlib、pcre。
1.安装需要的软件包。
使用pkg_add 命令安装需要的软件包。
下载地址:
2.安装hobbit
# pw useradd hobbit
# mkdir /home/hobbit
# cd /home/hobbit
# fetch [url]http://jaist.dl.sourceforge.net/sourceforge/[/url]hobbitmon/hobbit-4.1.2p1.tar.gz
# chown -R hobbit /home/hobbit
# su - hobbit
# tar xfzvp hobbit-4.1.2p1.tar.gz
# cd hobbit-4.1.2p1
# vi configure.server
MAKE=gmake  在73行修改。把make修改gmake。
# sh configure.server
Do you want to be able to test SSL-enabled services (y) ?
Continuing with LDAP support disabled.
What userid will be running Hobbit [hobbit] ?
Where do you want the Hobbit installation [/home/hobbit] ?
What URL will you use for the Hobbit webpages [/hobbit] ?
Where to put the Hobbit CGI .s [/home/hobbit/cgi-bin] ? 
/home/hobbit/www/hobbit-cgi
What is the URL for the Hobbit CGI directory [/hobbit-cgi] ? 
/hobbit-cgi/
Where to put the Hobbit Administration CGI .s [/home/hobbit/cgi-secure] ? 
/home/hobbit/www/cgi-secure
What is the URL for the Hobbit Administration CGI directory [/hobbit-seccgi] ? 
/hobbit-seccgi
What group-ID does your webserver use ?
www
Where to put the Hobbit logfiles [/var/log/hobbit] ? 
/home/hobbit/logs
What is the name of this host [sales.sakura.ad.jp] ? 
您的域名
What is the IP-address of this host [127.0.0.1] ? 
ip地址
Where should I install the Hobbit man-pages (/usr/local/man) ?
/home/hobbit/man
Which graphs to show by default (1d/1w/4w/1y/all) [all]
Use the new detailed Hobbit history graph (y/n) [y]
What width should I use for the graph [960]
Using FreeBSD Makefile settings
# gmake
# su -
# cd /home/hobbit/hobbit-4.1.2p1
# gmake install
3.启动hobbit
# su - hobbit
# cd server
# ./hobbit.sh start
4.追加监控对象
# su - hobbit
# cd server/etc/
# vi bb-hosts
5.apache的设定
 
   
Alias /hobbit/  "/home/hobbit/server/www/"
<Directory "/home/hobbit/server/www/">
Options Indexes FollowSymLinks Includes MultiViews
Order allow,deny
Allow from all
</Directory>
.Alias /hobbit-cgi/ "/home/hobbit/www/hobbit-cgi/"
<Directory "/home/hobbit/www/hobbit-cgi/">
AllowOverride None
Options ExecCGI Includes
Order allow,deny
Allow from all
</Directory>
.Alias /hobbit-seccgi/ "/home/hobbit/cgi-secure/"
<Directory "/home/hobbit/cgi-secure">
AllowOverride None
Options ExecCGI Includes
Order allow,deny
Allow from all
</Directory>
 
因hobbit安装是使用的用户组是www,我们要修改apache的用户名及组是www。www。不然在使用hobbit生成报告是会出错!