# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # hobbit # hobbit/files # hobbit/files/pkg-install.in # hobbit/files/hobbit.in # hobbit/files/pkg-message.in # hobbit/files/pkg-deinstall.in # hobbit/files/patch-build__Makefile.rules # hobbit/Makefile # hobbit/distinfo # hobbit/pkg-plist # hobbit/pkg-descr # echo c - hobbit mkdir -p hobbit > /dev/null 2>&1 echo c - hobbit/files mkdir -p hobbit/files > /dev/null 2>&1 echo x - hobbit/files/pkg-install.in sed 's/^X//' >hobbit/files/pkg-install.in << 'END-of-hobbit/files/pkg-install.in' X#!/bin/sh X XPATH=/bin:/usr/sbin X X: ${BBUSER=%%BBUSER%%} X: ${BBGROUP=%%BBGROUP%%} X: ${BBTOPDIR=%%BBTOPDIR%%} X Xcase $2 in XPRE-INSTALL) X USER=${BBUSER} X GROUP=${BBGROUP} X UID=230 X GID=${UID} X X if pw group show "${GROUP}" 2>/dev/null; then X echo "You already have a group \"${GROUP}\", so I will use it." X else X if pw groupadd ${GROUP} -g ${GID}; then X echo "Added group \"${GROUP}\"." X else X echo "Adding group \"${GROUP}\" failed..." X exit 1 X fi X fi X X if pw user show "${USER}" 2>/dev/null; then X echo "You already have a user \"${USER}\", so I will use it." X else X if pw useradd ${USER} -u ${UID} -g ${GROUP} -h - \ X -d ${BBTOPDIR} -s /sbin/nologin -c "Hobbit" X then X echo "Added user \"${USER}\"." X else X echo "Adding user \"${USER}\" failed..." X exit 1 X fi X fi X ;; X XPOST-INSTALL) X DIRLIST="/var/run/hobbit %%BBLOGDIR%%" X for directory in ${DIRLIST}; do X echo "Fixing ownerships in \"${directory}\"." X if [ ! -d "${directory}" ]; then X mkdir -p ${directory} X echo "Created directory: ${directory}" X fi X chown -R %%BBUSER%%:%%BBGROUP%% "${directory}" X done X X DIRLIST="client/ext client/logs client/tmp \ X cgi cgi-secure \ X data \ X data/acks data/data data/disabled data/hist \ X data/histlogs data/hostdata data/logs data/rrd \ X server server/bin server/etc server/etc/dist \ X server/ext \ X server/download server/tmp \ X server/web \ X server/www/html server/www/notes server/www/rep \ X server/www/snap server/www/wml server/www" X for d in ${DIRLIST}; do X directory="%%BBTOPDIR%%/${d}" X echo "Fixing ownerships in \"${directory}\"." X if [ ! -d "${directory}" ]; then X mkdir -p ${directory} X echo "Created directory: ${directory}" X fi X chown -R %%BBUSER%%:%%BBGROUP%% "${directory}" X done X for d in server/www/rep server/www/snap; do X chown -R %%BBUSER%%:www "%%BBTOPDIR%%/${d}" X chmod g+w "%%BBTOPDIR%%/${d}" X done X for d in client client/bin client/etc client/ext client/tmp; do X chown -R %%BBUSER%%:wheel "%%BBTOPDIR%%/${d}" X done X ;; Xesac END-of-hobbit/files/pkg-install.in echo x - hobbit/files/hobbit.in sed 's/^X//' >hobbit/files/hobbit.in << 'END-of-hobbit/files/hobbit.in' X#!/bin/sh X X# PROVIDE: hobbit X# REQUIRE: LOGIN X# X# Add the following lines to /etc/rc.conf.local or /etc/rc.conf X# to enable this service: X# X# hobbit_enable (bool): Set to NO by default. X# Set it to YES to enable hobbit. X# hobbit_launchcfg (path): Set to %%BBTOPDIR%%/server/etc/hobbitlaunch.cfg X# by default. X# hobbit_servercfg (path): Set to %%BBTOPDIR%%/server/etc/hobbitserver.cfg X# by default. X# hobbit_log (path): Set to %%BBLOGDIR%%/hobbitlaunch.log X# by default. X# hobbit_pidfile (path): Set to /var/run/hobbit/hobbit.pid X# by default. X# X X. %%RC_SUBR%% X Xname="hobbit" Xrcvar=${name}_enable X Xload_rc_config $name X X: ${hobbit_enable="NO"} X: ${hobbit_launchcfg:="%%BBTOPDIR%%/server/etc/hobbitlaunch.cfg"} X: ${hobbit_servercfg:="%%BBTOPDIR%%/server/etc/hobbitserver.cfg"} X: ${hobbit_log:="%%BBLOGDIR%%/hobbitlaunch.log"} X: ${hobbit_pidfile:="/var/run/hobbit/${name}.pid"} X Xcommand="%%BBTOPDIR%%/server/bin/hobbitlaunch" Xcommand_args="--config=${hobbit_launchcfg} --env=${hobbit_servercfg} --log=${hobbit_log} --pidfile=${hobbit_pidfile}" Xhobbit_user="%%BBUSER%%" Xpidfile="${hobbit_pidfile}" Xrequired_files="${hobbit_launchcfg} ${hobbit_servercfg}" X Xextra_commands="rotate" X Xrotate_cmd=rotate_cmd X Xrotate_cmd() X{ X kill -HUP $pidfile X} X Xstop_postcmd=stop_postcmd X Xstop_postcmd() X{ X %%PKILL%% -U "%%BBUSER%%" X} X Xrun_rc_command "$1" END-of-hobbit/files/hobbit.in echo x - hobbit/files/pkg-message.in sed 's/^X//' >hobbit/files/pkg-message.in << 'END-of-hobbit/files/pkg-message.in' X X%%PKGNAME%% has been installed into: X X %%BBTOPDIR%% X XYou may want to edit configurations in %%BBTOPDIR%%/server/etc Xfor your needs. X XTo use the web-based front-end, you need to modify your Web Server Xto include necessary settings. If you are using Apache, the settings Xare in X X %%BBTOPDIR%%/server/etc/hobbit-apache.cfg X XTo start Hobbit, put the following line to /etc/rc.conf: X X hobbit_enable="YES" X XThen, use ``%%RC_SCRIPT%% start'' to start Hobbit daemons. X XIf you rotate Hobbit logs, remember to send a HUP signal to the daemon Xor you can use ``%%RC_SCRIPT%% rotate''. X END-of-hobbit/files/pkg-message.in echo x - hobbit/files/pkg-deinstall.in sed 's/^X//' >hobbit/files/pkg-deinstall.in << 'END-of-hobbit/files/pkg-deinstall.in' X#!/bin/sh X XPATH=/bin:/usr/sbin X Xcase $2 in XDEINSTALL) X DIRLIST="/var/run/hobbit %%BBLOGDIR%%" X for directory in ${DIRLIST}; do X rmdir ${directory} 2>/dev/null || \ X echo "You may want to remove ${directory} completely." X done X echo "You may want to remove %%BBTOPDIR%% completely." X ;; Xesac END-of-hobbit/files/pkg-deinstall.in echo x - hobbit/files/patch-build__Makefile.rules sed 's/^X//' >hobbit/files/patch-build__Makefile.rules << 'END-of-hobbit/files/patch-build__Makefile.rules' X--- ./build/Makefile.rules.orig Mon Oct 23 17:31:29 2006 X+++ ./build/Makefile.rules Mon Oct 23 17:32:11 2006 X@@ -168,9 +168,6 @@ X endif X X mkdir -p $(INSTALLROOT)$(INSTALLETCDIR) X-ifneq ($(INSTALLETCDIR),$(BBHOME)/etc) X- ln -sf $(INSTALLETCDIR) $(INSTALLROOT)$(BBHOME)/etc X-endif X ifndef PKGBUILD X chown $(BBUSER) $(INSTALLROOT)$(INSTALLETCDIR) X chgrp `$(IDTOOL) -g $(BBUSER)` $(INSTALLROOT)$(INSTALLETCDIR) END-of-hobbit/files/patch-build__Makefile.rules echo x - hobbit/Makefile sed 's/^X//' >hobbit/Makefile << 'END-of-hobbit/Makefile' X# New ports collection makefile for: hobbit X# Date created: Oct 19 2006 X# Whom: Rong-En Fan X# X# $FreeBSD$ X# X XPORTNAME= hobbit XDISTVERSION= 4.2.0 XCATEGORIES= net-mgmt XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= hobbitmon X XMAINTAINER= rafan@FreeBSD.org XCOMMENT= Tool for monitoring servers, applications and networks X XLIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre \ X rrd.2:${PORTSDIR}/databases/rrdtool \ X png.5:${PORTSDIR}/graphics/png X# TODO openldap XRUN_DEPENDS= fping:${PORTSDIR}/net/fping XBUILD_DEPENDS= ${RUN_DEPENDS} X XUSE_GMAKE= yes XUSE_OPENSSL= yes X XHAS_CONFIGURE= yes X XCONFIGURE_ARGS+=\ X --server \ X --rrdinclude ${LOCALBASE}/include \ X --rrdlib ${LOCALBASE}/lib \ X --pcreinclude ${LOCALBASE}/include \ X --pcrelib ${LOCALBASE}/lib \ X --sslinclude ${OPENSSLINC} \ X --ssllib ${OPENSSLLIB} \ X --fping ${LOCALBASE}/sbin/fping X XBBUSER?= hobbit XBBGROUP?= hobbit XBBLOGDIR?= /var/log/hobbit XBBHOSTURL?= /hobbit XBBCGIURL?= /hobbit-cgi XBBHOSTNAME?= localhost XBBHOSTIP?= 127.0.0.1 XBBHOSTURL?= /hobbit XSECUREBBCGIURL?= /hobbit-seccgi XPIXELCOUNT?= 960 X X# You are not allowed to custom these. XBBTOPDIR= ${PREFIX}/www/hobbit XCGIDIR= ${BBTOPDIR}/cgi XSECURECGIDIR= ${BBTOPDIR}/cgi-secure XBBETCDIR= ${BBTOPDIR}/server/etc X XCONFIGURE_ENV+=\ X MAKE=${GMAKE} \ X ENABLESSL=y \ X ENABLELDAP=n \ X ENABLELDAPSSL=n \ X USEHOBBITPING=n \ X BBUSER=${BBUSER:Q} \ X BBTOPDIR=${BBTOPDIR:Q} \ X CGIDIR=${CGIDIR:Q} \ X BBCGIURL=${BBCGIURL:Q} \ X BBHOSTURL=${BBHOSTURL:Q} \ X SECURECGIDIR=${SECURECGIDIR:Q} \ X SECUREBBCGIURL=${SECUREBBCGIURL:Q} \ X HTTPDGID=${WWWGRP:Q} \ X BBLOGDIR=${BBLOGDIR:Q} \ X BBHOSTNAME=${BBHOSTNAME:Q} \ X BBHOSTIP=${BBHOSTIP:Q} \ X MANROOT=${MANPREFIX}/man \ X BARS=all \ X USENEWHIST=y \ X PIXELCOUNT=${PIXELCOUNT:Q} \ X INSTALLETCDIR=${BBETCDIR:Q}/dist X XUSE_RC_SUBR= ${PORTNAME} XRC_SCRIPT= ${PREFIX}/etc/rc.d/${PORTNAME} X XSUB_FILES+= pkg-install pkg-deinstall pkg-message XSUB_LIST+= BBUSER=${BBUSER:Q} BBGROUP=${BBGROUP:Q} \ X BBTOPDIR=${BBTOPDIR:Q} BBLOGDIR=${BBLOGDIR:Q} \ X PKGNAME=${PKGNAME} X XMAN1= \ X bb-ack.cgi.1 \ X bb-csvinfo.cgi.1 \ X bb-datepage.cgi.1 \ X bb-eventlog.cgi.1 \ X bb-findhost.cgi.1 \ X bb-hist.cgi.1 \ X bb-rep.cgi.1 \ X bb-replog.cgi.1 \ X bb-snapshot.cgi.1 \ X bb-webpage.1 \ X bb.1 \ X bbcmd.1 \ X bbcombotest.1 \ X bbdigest.1 \ X bbgen.1 \ X bbhostgrep.1 \ X bbhostshow.1 \ X bbretest-net.sh.1 \ X bbtest-net.1 \ X clientupdate.1 \ X hobbit-ackinfo.cgi.1 \ X hobbit-confreport.cgi.1 \ X hobbit-ghosts.cgi.1 \ X hobbit-hostgraphs.cgi.1 \ X hobbit-nkedit.cgi.1 \ X hobbit-nkview.cgi.1 \ X hobbit-statusreport.cgi.1 \ X hobbitgraph.cgi.1 \ X hobbitping.1 \ X hobbitsvc.cgi.1 \ X logfetch.1 \ X orcahobbit.1 X XMAN5= \ X bb-hosts.5 \ X bb-services.5 \ X bbcombotest.cfg.5 \ X client-local.cfg.5 \ X clientlaunch.cfg.5 \ X hobbit-alerts.cfg.5 \ X hobbit-clients.cfg.5 \ X hobbit-nkview.cfg.5 \ X hobbitcgi.cfg.5 \ X hobbitclient.cfg.5 \ X hobbitgraph.cfg.5 \ X hobbitlaunch.cfg.5 \ X hobbitserver.cfg.5 \ X hobbitweb.5 X XMAN7= hobbit.7 X XMAN8= \ X bbmessage.cgi.8 \ X bbproxy.8 \ X hobbit-enadis.cgi.8 \ X hobbit-mailack.8 \ X hobbitd.8 \ X hobbitd_alert.8 \ X hobbitd_channel.8 \ X hobbitd_client.8 \ X hobbitd_filestore.8 \ X hobbitd_history.8 \ X hobbitd_hostdata.8 \ X hobbitd_rrd.8 \ X hobbitd_sample.8 \ X hobbitfetch.8 \ X hobbitlaunch.8 \ X msgcache.8 \ X trimhistory.8 X X.include X X.if (${OSVERSION} >= 700007 || ( ${OSVERSION} < 700000 && ${OSVERSION} >= 600101 )) XSUB_LIST+= RC_SCRIPT=${RC_SCRIPT} X.else XSUB_LIST+= RC_SCRIPT=${RC_SCRIPT}.sh X.endif X X.if ${OSVERSION} < 502110 XRUN_DEPENDS+= pkill:${PORTSDIR}/sysutils/pkill XSUB_LIST+= PKILL=${LOCALBASE}/bin/pkill X.else XSUB_LIST+= PKILL=pkill X.endif X Xpost-patch: X @${REINPLACE_CMD} 's,^CC =,CC ?=,; s,^CFLAGS =,CFLAGS +=,' ${WRKSRC}/build/Makefile.FreeBSD X @${REINPLACE_CMD} 's,unsigned long pagesize,int pagesize,' ${WRKSRC}/client/freebsd-meminfo.c X Xpre-install: X @${REINPLACE_CMD} 's,${BBETCDIR}/dist,${BBETCDIR},' \ X ${WRKSRC}/hobbitd/etcfiles/hobbit-apache.conf X @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL X Xpost-install: X @for f in ${BBETCDIR}/dist/*; do \ X file=`basename $${f}`; \ X if [ ! -f ${BBETCDIR}/$${file} ]; then \ X ${CP} -p ${BBETCDIR}/dist/$${file} ${BBETCDIR}/$${file} ; \ X fi; \ X done X @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL X @${CAT} ${PKGMESSAGE} X X.include END-of-hobbit/Makefile echo x - hobbit/distinfo sed 's/^X//' >hobbit/distinfo << 'END-of-hobbit/distinfo' XMD5 (hobbit-4.2.0.tar.gz) = 120fd876b8494e249de0bf0366fcdd9a XSHA256 (hobbit-4.2.0.tar.gz) = 0c2ab43668921316ec435e736a499853d047f0f88a87aa362ccbb8637d2c8d3e XSIZE (hobbit-4.2.0.tar.gz) = 2341167 END-of-hobbit/distinfo echo x - hobbit/pkg-plist sed 's/^X//' >hobbit/pkg-plist << 'END-of-hobbit/pkg-plist' Xwww/hobbit/server/bin/hobbitlaunch Xwww/hobbit/server/bin/bbcmd Xwww/hobbit/server/bin/bb Xwww/hobbit/server/bin/bbdigest Xwww/hobbit/server/bin/bbhostshow Xwww/hobbit/server/bin/bbhostgrep Xwww/hobbit/server/bin/bbgen Xwww/hobbit/server/bin/beastat Xwww/hobbit/server/bin/hobbitping Xwww/hobbit/server/bin/bbtest-net Xwww/hobbit/server/bin/bbmessage.cgi Xwww/hobbit/server/bin/bbproxy Xwww/hobbit/server/bin/hobbit.sh Xwww/hobbit/server/bin/hobbitreports.sh Xwww/hobbit/server/bin/bbcombotest Xwww/hobbit/server/bin/trimhistory Xwww/hobbit/server/bin/hobbit-mailack Xwww/hobbit/server/bin/hobbitfetch Xwww/hobbit/server/bin/hobbitd_capture Xwww/hobbit/server/bin/hobbitd_hostdata Xwww/hobbit/server/bin/hobbitd_client Xwww/hobbit/server/bin/hobbitd_sample Xwww/hobbit/server/bin/hobbitd_rrd Xwww/hobbit/server/bin/hobbitd_alert Xwww/hobbit/server/bin/hobbitd_history Xwww/hobbit/server/bin/hobbitd_filestore Xwww/hobbit/server/bin/hobbitd_channel Xwww/hobbit/server/bin/hobbitd Xwww/hobbit/server/bin/moverrd.sh Xwww/hobbit/server/bin/hobbitd_larrd Xwww/hobbit/server/bin/bb-hist.cgi Xwww/hobbit/server/bin/hobbit-hostgraphs.cgi Xwww/hobbit/server/bin/boilerplate.cgi Xwww/hobbit/server/bin/hobbit-statusreport.cgi Xwww/hobbit/server/bin/hobbit-ackinfo.cgi Xwww/hobbit/server/bin/hobbit-nkedit.cgi Xwww/hobbit/server/bin/hobbit-nkview.cgi Xwww/hobbit/server/bin/hobbit-confreport.cgi Xwww/hobbit/server/bin/hobbit-enadis.cgi Xwww/hobbit/server/bin/hobbitsvc.cgi Xwww/hobbit/server/bin/hobbitgraph.cgi Xwww/hobbit/server/bin/bb-datepage.cgi Xwww/hobbit/server/bin/bb-webpage Xwww/hobbit/server/bin/bb-ack.cgi Xwww/hobbit/server/bin/bb-csvinfo.cgi Xwww/hobbit/server/bin/bb-findhost.cgi Xwww/hobbit/server/bin/bb-snapshot.cgi Xwww/hobbit/server/bin/bb-replog.cgi Xwww/hobbit/server/bin/bb-rep.cgi Xwww/hobbit/server/bin/bb-eventlog.cgi Xwww/hobbit/server/bin/hobbit-ghosts.cgi X@unexec if cmp -s %D/www/hobbit/server/etc/dist/bb-services %D/www/hobbit/server/etc/bb-services; then rm -f %D/www/hobbit/server/etc/bb-services; fi Xwww/hobbit/server/etc/dist/bb-services X@exec if [ ! -f %D/www/hobbit/server/etc/bb-services ] ; then cp -p %D/%F %B/../bb-services; fi X@unexec if cmp -s %D/www/hobbit/server/etc/dist/hobbitserver.cfg %D/www/hobbit/server/etc/hobbitserver.cfg; then rm -f %D/www/hobbit/server/etc/hobbitserver.cfg; fi Xwww/hobbit/server/etc/dist/hobbitserver.cfg X@exec if [ ! -f %D/www/hobbit/server/etc/hobbitserver.cfg ] ; then cp -p %D/%F %B/../hobbitserver.cfg; fi X@unexec if cmp -s %D/www/hobbit/server/etc/dist/hobbitcgi.cfg %D/www/hobbit/server/etc/hobbitcgi.cfg; then rm -f %D/www/hobbit/server/etc/hobbitcgi.cfg; fi Xwww/hobbit/server/etc/dist/hobbitcgi.cfg X@exec if [ ! -f %D/www/hobbit/server/etc/hobbitcgi.cfg ] ; then cp -p %D/%F %B/../hobbitcgi.cfg; fi X@unexec if cmp -s %D/www/hobbit/server/etc/dist/hobbitlaunch.cfg %D/www/hobbit/server/etc/hobbitlaunch.cfg; then rm -f %D/www/hobbit/server/etc/hobbitlaunch.cfg; fi Xwww/hobbit/server/etc/dist/hobbitlaunch.cfg X@exec if [ ! -f %D/www/hobbit/server/etc/hobbitlaunch.cfg ] ; then cp -p %D/%F %B/../hobbitlaunch.cfg; fi X@unexec if cmp -s %D/www/hobbit/server/etc/dist/client-local.cfg %D/www/hobbit/server/etc/client-local.cfg; then rm -f %D/www/hobbit/server/etc/client-local.cfg; fi Xwww/hobbit/server/etc/dist/client-local.cfg X@exec if [ ! -f %D/www/hobbit/server/etc/client-local.cfg ] ; then cp -p %D/%F %B/../client-local.cfg; fi X@unexec if cmp -s %D/www/hobbit/server/etc/dist/hobbitgraph.cfg %D/www/hobbit/server/etc/hobbitgraph.cfg; then rm -f %D/www/hobbit/server/etc/hobbitgraph.cfg; fi Xwww/hobbit/server/etc/dist/hobbitgraph.cfg X@exec if [ ! -f %D/www/hobbit/server/etc/hobbitgraph.cfg ] ; then cp -p %D/%F %B/../hobbitgraph.cfg; fi X@unexec if cmp -s %D/www/hobbit/server/etc/dist/columndoc.csv %D/www/hobbit/server/etc/columndoc.csv; then rm -f %D/www/hobbit/server/etc/columndoc.csv; fi Xwww/hobbit/server/etc/dist/columndoc.csv X@exec if [ ! -f %D/www/hobbit/server/etc/columndoc.csv ] ; then cp -p %D/%F %B/../columndoc.csv; fi X@unexec if cmp -s %D/www/hobbit/server/etc/dist/bb-hosts %D/www/hobbit/server/etc/bb-hosts; then rm -f %D/www/hobbit/server/etc/bb-hosts; fi Xwww/hobbit/server/etc/dist/bb-hosts X@exec if [ ! -f %D/www/hobbit/server/etc/bb-hosts ] ; then cp -p %D/%F %B/../bb-hosts; fi X@unexec if cmp -s %D/www/hobbit/server/etc/dist/hobbit-alerts.cfg %D/www/hobbit/server/etc/hobbit-alerts.cfg; then rm -f %D/www/hobbit/server/etc/hobbit-alerts.cfg; fi Xwww/hobbit/server/etc/dist/hobbit-alerts.cfg X@exec if [ ! -f %D/www/hobbit/server/etc/hobbit-alerts.cfg ] ; then cp -p %D/%F %B/../hobbit-alerts.cfg; fi X@unexec if cmp -s %D/www/hobbit/server/etc/dist/hobbit-clients.cfg %D/www/hobbit/server/etc/hobbit-clients.cfg; then rm -f %D/www/hobbit/server/etc/hobbit-clients.cfg; fi Xwww/hobbit/server/etc/dist/hobbit-clients.cfg X@exec if [ ! -f %D/www/hobbit/server/etc/hobbit-clients.cfg ] ; then cp -p %D/%F %B/../hobbit-clients.cfg; fi X@unexec if cmp -s %D/www/hobbit/server/etc/dist/bbcombotest.cfg %D/www/hobbit/server/etc/bbcombotest.cfg; then rm -f %D/www/hobbit/server/etc/bbcombotest.cfg; fi Xwww/hobbit/server/etc/dist/bbcombotest.cfg X@exec if [ ! -f %D/www/hobbit/server/etc/bbcombotest.cfg ] ; then cp -p %D/%F %B/../bbcombotest.cfg; fi X@unexec if cmp -s %D/www/hobbit/server/etc/dist/hobbit-apache.conf %D/www/hobbit/server/etc/hobbit-apache.conf; then rm -f %D/www/hobbit/server/etc/hobbit-apache.conf; fi Xwww/hobbit/server/etc/dist/hobbit-apache.conf X@exec if [ ! -f %D/www/hobbit/server/etc/hobbit-apache.conf ] ; then cp -p %D/%F %B/../hobbit-apache.conf; fi X@unexec if cmp -s %D/www/hobbit/server/etc/dist/hobbit-nkview.cfg %D/www/hobbit/server/etc/hobbit-nkview.cfg; then rm -f %D/www/hobbit/server/etc/hobbit-nkview.cfg; fi Xwww/hobbit/server/etc/dist/hobbit-nkview.cfg X@exec if [ ! -f %D/www/hobbit/server/etc/hobbit-nkview.cfg ] ; then cp -p %D/%F %B/../hobbit-nkview.cfg; fi X@unexec if cmp -s %D/www/hobbit/server/etc/dist/hobbit-nkview.cfg.bak %D/www/hobbit/server/etc/hobbit-nkview.cfg.bak; then rm -f %D/www/hobbit/server/etc/hobbit-nkview.cfg.bak; fi Xwww/hobbit/server/etc/dist/hobbit-nkview.cfg.bak X@exec if [ ! -f %D/www/hobbit/server/etc/hobbit-nkview.cfg.bak ] ; then cp -p %D/%F %B/../hobbit-nkview.cfg.bak; fi Xwww/hobbit/server/ext/bbretest-net.sh Xwww/hobbit/server/web/bbrep_footer Xwww/hobbit/server/web/bbrep_header Xwww/hobbit/server/web/bbsnap2_footer Xwww/hobbit/server/web/nkedit_footer Xwww/hobbit/server/web/bbsnap2_header Xwww/hobbit/server/web/nkedit_header Xwww/hobbit/server/web/event_footer Xwww/hobbit/server/web/report_form Xwww/hobbit/server/web/event_header Xwww/hobbit/server/web/info_footer Xwww/hobbit/server/web/bbnk_footer Xwww/hobbit/server/web/confreport_front Xwww/hobbit/server/web/info_header Xwww/hobbit/server/web/confreport_footer Xwww/hobbit/server/web/bbnk_header Xwww/hobbit/server/web/confreport_header Xwww/hobbit/server/web/report_footer Xwww/hobbit/server/web/report_header Xwww/hobbit/server/web/maint_form Xwww/hobbit/server/web/acknowledge_footer Xwww/hobbit/server/web/zoom.js Xwww/hobbit/server/web/acknowledge_header Xwww/hobbit/server/web/snapshot_footer Xwww/hobbit/server/web/snapshot_header Xwww/hobbit/server/web/findhost_footer Xwww/hobbit/server/web/graphs_footer Xwww/hobbit/server/web/hostgraphs_form Xwww/hobbit/server/web/findhost_header Xwww/hobbit/server/web/graphs_header Xwww/hobbit/server/web/report_form_daily Xwww/hobbit/server/web/bb2_footer Xwww/hobbit/server/web/histlog_footer Xwww/hobbit/server/web/hostsvc_footer Xwww/hobbit/server/web/nkedit_form Xwww/hobbit/server/web/bb2_header Xwww/hobbit/server/web/histlog_header Xwww/hobbit/server/web/hostsvc_header Xwww/hobbit/server/web/confreport_back Xwww/hobbit/server/web/maintact_footer Xwww/hobbit/server/web/maintact_header Xwww/hobbit/server/web/nkack_form Xwww/hobbit/server/web/bb_footer Xwww/hobbit/server/web/bb_header Xwww/hobbit/server/web/maint_footer Xwww/hobbit/server/web/snapshot_form Xwww/hobbit/server/web/maint_header Xwww/hobbit/server/web/bbsnapnk_footer Xwww/hobbit/server/web/hobbitnk_footer Xwww/hobbit/server/web/bbsnapnk_header Xwww/hobbit/server/web/hobbitnk_header Xwww/hobbit/server/web/hist_footer Xwww/hobbit/server/web/hist_header Xwww/hobbit/server/web/hostgraphs_footer Xwww/hobbit/server/web/hostgraphs_header Xwww/hobbit/server/web/replog_footer Xwww/hobbit/server/web/report_form_weekly Xwww/hobbit/server/web/bbsnap_footer Xwww/hobbit/server/web/replog_header Xwww/hobbit/server/web/acknowledge_form Xwww/hobbit/server/web/bbsnap_header Xwww/hobbit/server/web/columndoc_footer Xwww/hobbit/server/web/columndoc_header Xwww/hobbit/server/web/report_form_monthly Xwww/hobbit/server/web/event_form Xwww/hobbit/server/web/findhost_form Xwww/hobbit/server/web/ghosts_footer Xwww/hobbit/server/web/ghosts_header Xwww/hobbit/server/www/gifs/README Xwww/hobbit/server/www/gifs/arrow.gif Xwww/hobbit/server/www/gifs/bkg-blue.gif Xwww/hobbit/server/www/gifs/bkg-clear.gif Xwww/hobbit/server/www/gifs/bkg-green.gif Xwww/hobbit/server/www/gifs/bkg-purple.gif Xwww/hobbit/server/www/gifs/bkg-red.gif Xwww/hobbit/server/www/gifs/bkg-yellow.gif Xwww/hobbit/server/www/gifs/blue-ack.gif Xwww/hobbit/server/www/gifs/blue-recent.gif Xwww/hobbit/server/www/gifs/blue.gif Xwww/hobbit/server/www/gifs/clear-recent.gif Xwww/hobbit/server/www/gifs/clear.gif Xwww/hobbit/server/www/gifs/favicon-blue.ico Xwww/hobbit/server/www/gifs/favicon-clear.ico Xwww/hobbit/server/www/gifs/favicon-green.ico Xwww/hobbit/server/www/gifs/favicon-purple.ico Xwww/hobbit/server/www/gifs/favicon-red.ico Xwww/hobbit/server/www/gifs/favicon-unknown.ico Xwww/hobbit/server/www/gifs/favicon-yellow.ico Xwww/hobbit/server/www/gifs/green-recent.gif Xwww/hobbit/server/www/gifs/green.gif Xwww/hobbit/server/www/gifs/purple-ack.gif Xwww/hobbit/server/www/gifs/purple-recent.gif Xwww/hobbit/server/www/gifs/purple.gif Xwww/hobbit/server/www/gifs/red-ack.gif Xwww/hobbit/server/www/gifs/red-recent.gif Xwww/hobbit/server/www/gifs/red.gif Xwww/hobbit/server/www/gifs/unknown-recent.gif Xwww/hobbit/server/www/gifs/unknown.gif Xwww/hobbit/server/www/gifs/yellow-ack.gif Xwww/hobbit/server/www/gifs/yellow-recent.gif Xwww/hobbit/server/www/gifs/yellow.gif Xwww/hobbit/server/www/gifs/zoom.gif Xwww/hobbit/server/www/help/about.html Xwww/hobbit/server/www/help/bb-to-hobbit.html Xwww/hobbit/server/www/help/clonewarn.jpg Xwww/hobbit/server/www/help/configure.txt Xwww/hobbit/server/www/help/criticalsystems.html Xwww/hobbit/server/www/help/critview-detail-acked.jpg Xwww/hobbit/server/www/help/critview-detail-ackform.jpg Xwww/hobbit/server/www/help/critview-detail.jpg Xwww/hobbit/server/www/help/critview-disk.jpg Xwww/hobbit/server/www/help/critview-green.jpg Xwww/hobbit/server/www/help/editor-clonemaster.jpg Xwww/hobbit/server/www/help/editor-diskchanged.jpg Xwww/hobbit/server/www/help/editor-disksetup.jpg Xwww/hobbit/server/www/help/editor-main.jpg Xwww/hobbit/server/www/help/editor-makeclone.jpg Xwww/hobbit/server/www/help/editor-nohost.jpg Xwww/hobbit/server/www/help/editor-showclone.jpg Xwww/hobbit/server/www/help/hobbit-alerts.html Xwww/hobbit/server/www/help/hobbit-apacheconf.txt Xwww/hobbit/server/www/help/hobbit-bbhosts.png Xwww/hobbit/server/www/help/hobbit-clients.png Xwww/hobbit/server/www/help/hobbit-config.html Xwww/hobbit/server/www/help/hobbit-mrtg.html Xwww/hobbit/server/www/help/hobbit-tips.html Xwww/hobbit/server/www/help/hobbitmain.png Xwww/hobbit/server/www/help/hobbitprocs.png Xwww/hobbit/server/www/help/howtograph.html Xwww/hobbit/server/www/help/install.html Xwww/hobbit/server/www/help/known-issues.html Xwww/hobbit/server/www/help/mainview-acked.jpg Xwww/hobbit/server/www/help/mainview.jpg Xwww/hobbit/server/www/help/manpages/index.html Xwww/hobbit/server/www/help/manpages/man1/bb-ack.cgi.1.html Xwww/hobbit/server/www/help/manpages/man1/bb-csvinfo.cgi.1.html Xwww/hobbit/server/www/help/manpages/man1/bb-datepage.cgi.1.html Xwww/hobbit/server/www/help/manpages/man1/bb-eventlog.cgi.1.html Xwww/hobbit/server/www/help/manpages/man1/bb-findhost.cgi.1.html Xwww/hobbit/server/www/help/manpages/man1/bb-hist.cgi.1.html Xwww/hobbit/server/www/help/manpages/man1/bb-rep.cgi.1.html Xwww/hobbit/server/www/help/manpages/man1/bb-replog.cgi.1.html Xwww/hobbit/server/www/help/manpages/man1/bb-snapshot.cgi.1.html Xwww/hobbit/server/www/help/manpages/man1/bb-webpage.1.html Xwww/hobbit/server/www/help/manpages/man1/bb.1.html Xwww/hobbit/server/www/help/manpages/man1/bbcmd.1.html Xwww/hobbit/server/www/help/manpages/man1/bbcombotest.1.html Xwww/hobbit/server/www/help/manpages/man1/bbdigest.1.html Xwww/hobbit/server/www/help/manpages/man1/bbgen.1.html Xwww/hobbit/server/www/help/manpages/man1/bbhostgrep.1.html Xwww/hobbit/server/www/help/manpages/man1/bbhostshow.1.html Xwww/hobbit/server/www/help/manpages/man1/bbretest-net.sh.1.html Xwww/hobbit/server/www/help/manpages/man1/bbtest-net.1.html Xwww/hobbit/server/www/help/manpages/man1/clientupdate.1.html Xwww/hobbit/server/www/help/manpages/man1/hobbit-ackinfo.cgi.1.html Xwww/hobbit/server/www/help/manpages/man1/hobbit-confreport.cgi.1.html Xwww/hobbit/server/www/help/manpages/man1/hobbit-ghosts.cgi.1.html Xwww/hobbit/server/www/help/manpages/man1/hobbit-hostgraphs.cgi.1.html Xwww/hobbit/server/www/help/manpages/man1/hobbit-nkedit.cgi.1.html Xwww/hobbit/server/www/help/manpages/man1/hobbit-nkview.cgi.1.html Xwww/hobbit/server/www/help/manpages/man1/hobbit-statusreport.cgi.1.html Xwww/hobbit/server/www/help/manpages/man1/hobbitgraph.cgi.1.html Xwww/hobbit/server/www/help/manpages/man1/hobbitping.1.html Xwww/hobbit/server/www/help/manpages/man1/hobbitsvc.cgi.1.html Xwww/hobbit/server/www/help/manpages/man1/logfetch.1.html Xwww/hobbit/server/www/help/manpages/man1/orcahobbit.1.html Xwww/hobbit/server/www/help/manpages/man5/bb-hosts.5.html Xwww/hobbit/server/www/help/manpages/man5/bb-services.5.html Xwww/hobbit/server/www/help/manpages/man5/bbcombotest.cfg.5.html Xwww/hobbit/server/www/help/manpages/man5/client-local.cfg.5.html Xwww/hobbit/server/www/help/manpages/man5/clientlaunch.cfg.5.html Xwww/hobbit/server/www/help/manpages/man5/hobbit-alerts.cfg.5.html Xwww/hobbit/server/www/help/manpages/man5/hobbit-clients.cfg.5.html Xwww/hobbit/server/www/help/manpages/man5/hobbit-nkview.cfg.5.html Xwww/hobbit/server/www/help/manpages/man5/hobbitcgi.cfg.5.html Xwww/hobbit/server/www/help/manpages/man5/hobbitclient.cfg.5.html Xwww/hobbit/server/www/help/manpages/man5/hobbitgraph.cfg.5.html Xwww/hobbit/server/www/help/manpages/man5/hobbitlaunch.cfg.5.html Xwww/hobbit/server/www/help/manpages/man5/hobbitserver.cfg.5.html Xwww/hobbit/server/www/help/manpages/man5/hobbitweb.5.html Xwww/hobbit/server/www/help/manpages/man7/hobbit.7.html Xwww/hobbit/server/www/help/manpages/man8/bbmessage.cgi.8.html Xwww/hobbit/server/www/help/manpages/man8/bbproxy.8.html Xwww/hobbit/server/www/help/manpages/man8/hobbit-enadis.cgi.8.html Xwww/hobbit/server/www/help/manpages/man8/hobbit-mailack.8.html Xwww/hobbit/server/www/help/manpages/man8/hobbitd.8.html Xwww/hobbit/server/www/help/manpages/man8/hobbitd_alert.8.html Xwww/hobbit/server/www/help/manpages/man8/hobbitd_channel.8.html Xwww/hobbit/server/www/help/manpages/man8/hobbitd_client.8.html Xwww/hobbit/server/www/help/manpages/man8/hobbitd_filestore.8.html Xwww/hobbit/server/www/help/manpages/man8/hobbitd_history.8.html Xwww/hobbit/server/www/help/manpages/man8/hobbitd_hostdata.8.html Xwww/hobbit/server/www/help/manpages/man8/hobbitd_rrd.8.html Xwww/hobbit/server/www/help/manpages/man8/hobbitd_sample.8.html Xwww/hobbit/server/www/help/manpages/man8/hobbitfetch.8.html Xwww/hobbit/server/www/help/manpages/man8/hobbitlaunch.8.html Xwww/hobbit/server/www/help/manpages/man8/msgcache.8.html Xwww/hobbit/server/www/help/manpages/man8/trimhistory.8.html Xwww/hobbit/server/www/help/stdview-detail-acked.jpg Xwww/hobbit/server/www/menu/README Xwww/hobbit/server/www/menu/menu.css Xwww/hobbit/server/www/menu/menu.js Xwww/hobbit/server/www/menu/menu_items.js Xwww/hobbit/server/www/menu/menu_tpl.js Xwww/hobbit/server/hobbit.sh Xwww/hobbit/cgi/bb-hist.sh Xwww/hobbit/cgi/hobbit-hostgraphs.sh Xwww/hobbit/cgi/hobbit-nongreen.sh Xwww/hobbit/cgi/hobbit-certreport.sh Xwww/hobbit/cgi/hobbit-nkview.sh Xwww/hobbit/cgi/hobbit-confreport.sh Xwww/hobbit/cgi/bb-histlog.sh Xwww/hobbit/cgi/bb-hostsvc.sh Xwww/hobbit/cgi/hobbitgraph.sh Xwww/hobbit/cgi/bb-datepage.sh Xwww/hobbit/cgi/hobbitcolumn.sh Xwww/hobbit/cgi/bb-csvinfo.sh Xwww/hobbit/cgi/bb-findhost.sh Xwww/hobbit/cgi/bb-snapshot.sh Xwww/hobbit/cgi/bb-replog.sh Xwww/hobbit/cgi/bb-rep.sh Xwww/hobbit/cgi/bb-eventlog.sh Xwww/hobbit/cgi/hobbit-ghosts.sh Xwww/hobbit/cgi-secure/hobbit-ackinfo.sh Xwww/hobbit/cgi-secure/hobbit-nkedit.sh Xwww/hobbit/cgi-secure/hobbit-enadis.sh Xwww/hobbit/cgi-secure/bb-ack.sh Xwww/hobbit/client/bin/hobbitlaunch Xwww/hobbit/client/bin/bbdigest Xwww/hobbit/client/bin/bbhostshow Xwww/hobbit/client/bin/bbhostgrep Xwww/hobbit/client/bin/bbcmd Xwww/hobbit/client/bin/bb Xwww/hobbit/client/bin/hobbitclient.sh Xwww/hobbit/client/bin/hobbitclient-sunos.sh Xwww/hobbit/client/bin/hobbitclient-sco_sv.sh Xwww/hobbit/client/bin/hobbitclient-osf1.sh Xwww/hobbit/client/bin/hobbitclient-openbsd.sh Xwww/hobbit/client/bin/hobbitclient-netbsd.sh Xwww/hobbit/client/bin/hobbitclient-linux.sh Xwww/hobbit/client/bin/hobbitclient-irix.sh Xwww/hobbit/client/bin/hobbitclient-hp-ux.sh Xwww/hobbit/client/bin/hobbitclient-freebsd.sh Xwww/hobbit/client/bin/hobbitclient-darwin.sh Xwww/hobbit/client/bin/hobbitclient-aix.sh Xwww/hobbit/client/bin/msgcache Xwww/hobbit/client/bin/orcahobbit Xwww/hobbit/client/bin/clientupdate Xwww/hobbit/client/bin/logfetch Xwww/hobbit/client/bin/freebsd-meminfo Xwww/hobbit/client/etc/localclient.cfg Xwww/hobbit/client/etc/clientlaunch.cfg Xwww/hobbit/client/etc/hobbitclient.cfg Xwww/hobbit/client/runclient.sh X@dirrmtry www/hobbit/server/www/wml X@dirrmtry www/hobbit/server/www/snap X@dirrmtry www/hobbit/server/www/rep X@dirrmtry www/hobbit/server/www/notes X@dirrm www/hobbit/server/www/menu X@dirrmtry www/hobbit/server/www/html X@dirrm www/hobbit/server/www/help/manpages/man8 X@dirrm www/hobbit/server/www/help/manpages/man7 X@dirrm www/hobbit/server/www/help/manpages/man5 X@dirrm www/hobbit/server/www/help/manpages/man1 X@dirrm www/hobbit/server/www/help/manpages X@dirrm www/hobbit/server/www/help X@dirrm www/hobbit/server/www/gifs X@dirrmtry www/hobbit/server/www X@dirrm www/hobbit/server/web X@dirrmtry www/hobbit/server/tmp X@dirrmtry www/hobbit/server/ext X@dirrm www/hobbit/server/etc/dist X@dirrmtry www/hobbit/server/etc X@dirrmtry www/hobbit/server/download X@dirrm www/hobbit/server/bin X@dirrmtry www/hobbit/server X@dirrmtry www/hobbit/data/rrd X@dirrmtry www/hobbit/data/logs X@dirrmtry www/hobbit/data/hostdata X@dirrmtry www/hobbit/data/histlogs X@dirrmtry www/hobbit/data/hist X@dirrmtry www/hobbit/data/disabled X@dirrmtry www/hobbit/data/data X@dirrmtry www/hobbit/data/acks X@dirrmtry www/hobbit/data X@dirrmtry www/hobbit/client/tmp X@dirrmtry www/hobbit/client/logs X@dirrmtry www/hobbit/client/ext X@dirrmtry www/hobbit/client/etc X@dirrm www/hobbit/client/bin X@dirrm www/hobbit/client X@dirrm www/hobbit/cgi-secure X@dirrm www/hobbit/cgi X@dirrmtry www/hobbit END-of-hobbit/pkg-plist echo x - hobbit/pkg-descr sed 's/^X//' >hobbit/pkg-descr << 'END-of-hobbit/pkg-descr' XHobbit is a tool for monitoring servers, applications and networks. It Xcollects information about the health of your computers, the Xapplications running on them, and the network connectivity between them. XAll of this information is presented in a set of simple, intuitive Xwebpages that are updated frequently to reflect changes in the status of Xyour systems. X XHobbit is capable of monitoring a vast set of network services, e.g. Xmail-servers, web-servers (both plain HTTP and encrypted HTTPS), local Xserver application logs, ressource utilisation and much more. X XMuch of the information is processed and stored in RRD files, which then Xform the basis for providing trend graphs showing how e.g. webserver Xresponse-times vary over time. X XWWW: http://hobbitmon.sourceforge.net/ END-of-hobbit/pkg-descr exit