diff options
Diffstat (limited to 'net-mgmt/xymon-server')
-rw-r--r-- | net-mgmt/xymon-server/Makefile | 87 | ||||
-rw-r--r-- | net-mgmt/xymon-server/distinfo | 3 | ||||
-rw-r--r-- | net-mgmt/xymon-server/files/Makefile | 76 | ||||
-rw-r--r-- | net-mgmt/xymon-server/files/hobbit-server.sh.in | 26 | ||||
-rw-r--r-- | net-mgmt/xymon-server/files/patch-bbnet-Makefile | 13 | ||||
-rw-r--r-- | net-mgmt/xymon-server/files/patch-bbwin | 579 | ||||
-rw-r--r-- | net-mgmt/xymon-server/files/patch-build-Makefile.rules | 15 | ||||
-rw-r--r-- | net-mgmt/xymon-server/files/patch-hobbitd-Makefile | 25 | ||||
-rw-r--r-- | net-mgmt/xymon-server/pkg-descr | 15 | ||||
-rw-r--r-- | net-mgmt/xymon-server/pkg-plist | 390 |
10 files changed, 0 insertions, 1229 deletions
diff --git a/net-mgmt/xymon-server/Makefile b/net-mgmt/xymon-server/Makefile deleted file mode 100644 index fe16be01bf41..000000000000 --- a/net-mgmt/xymon-server/Makefile +++ /dev/null @@ -1,87 +0,0 @@ -# New ports collection makefile for: hobbit-server -# Date created: 24 Jan 2008 -# Whom: dirk.meyer@dinoex.sub.org -# -# $FreeBSD$ -# - -PORTNAME= hobbit -PORTVERSION= 4.2.0 -PORTREVISION= 3 -CATEGORIES= net-mgmt www -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} -MASTER_SITE_SUBDIR= hobbitmon -PKGNAMESUFFIX= -server${PKGNAMESUFFIX2} - -MAINTAINER= dinoex@FreeBSD.org -COMMENT= System for monitoring servers and networks - -BUILD_DEPENDS= rrdtool:${PORTSDIR}/databases/rrdtool -LIB_DEPENDS= png:${PORTSDIR}/graphics/png \ - pcre:${PORTSDIR}/devel/pcre -RUN_DEPENDS= rrdtool:${PORTSDIR}/databases/rrdtool - -# Options -BBUSER?= hobbit -BBHOSTNAME?= hobbit.example.com -BBHOSTIP?= 127.0.0.1 - -USE_GMAKE= yes -USE_OPENSSL= yes -CONFIGURE_ENV= MAKE=gmake -MAKE_ENV+= BBUSER="${BBUSER}" -MAKE_ENV+= BBHOSTNAME="${BBHOSTNAME}" -MAKE_ENV+= BBHOSTIP="${BBHOSTIP}" -USE_RC_SUBR= hobbit-server.sh -SUB_LIST+= BBUSER="${BBUSER}" -PLIST_SUB+= BBUSER="${BBUSER}" VARBASE="/var" - -CONFIG_FILES= bb-hosts bb-services bbcombotest.cfg client-local.cfg \ - columndoc.csv hobbit-alerts.cfg hobbit-apache.conf \ - hobbit-clients.cfg hobbitcgi.cfg hobbitgraph.cfg \ - hobbitlaunch.cfg hobbitserver.cfg -FIXME1= bb-hosts hobbit-alerts.cfg hobbit-clients.cfg bbcombotest.cfg - -MAN1 = bb-ack.cgi.1 bb-csvinfo.cgi.1 bb-datepage.cgi.1 bb-eventlog.cgi.1 \ - bb-findhost.cgi.1 bb-hist.cgi.1 bb-rep.cgi.1 bb-replog.cgi.1 \ - bb-snapshot.cgi.1 bb-webpage.1 bb.1 bbcmd.1 bbcombotest.1 bbdigest.1 \ - bbgen.1 bbhostgrep.1 bbhostshow.1 bbretest-net.sh.1 bbtest-net.1 \ - clientupdate.1 hobbit-ackinfo.cgi.1 hobbit-confreport.cgi.1 \ - hobbit-ghosts.cgi.1 hobbit-hostgraphs.cgi.1 hobbit-nkedit.cgi.1 \ - hobbit-nkview.cgi.1 hobbit-statusreport.cgi.1 hobbitgraph.cgi.1 \ - hobbitping.1 hobbitsvc.cgi.1 logfetch.1 orcahobbit.1 -MAN5= bb-hosts.5 bb-services.5 bbcombotest.cfg.5 client-local.cfg.5 \ - clientlaunch.cfg.5 hobbit-alerts.cfg.5 hobbit-clients.cfg.5 \ - hobbit-nkview.cfg.5 hobbitcgi.cfg.5 hobbitclient.cfg.5 \ - hobbitgraph.cfg.5 hobbitlaunch.cfg.5 hobbitserver.cfg.5 hobbitweb.5 -MAN7= hobbit.7 -MAN8= bbmessage.cgi.8 bbproxy.8 hobbit-enadis.cgi.8 hobbit-mailack.8 \ - hobbitd.8 hobbitd_alert.8 hobbitd_channel.8 hobbitd_client.8 \ - hobbitd_filestore.8 hobbitd_history.8 hobbitd_hostdata.8 \ - hobbitd_rrd.8 hobbitd_sample.8 hobbitfetch.8 hobbitlaunch.8 \ - msgcache.8 trimhistory.8 - -.if defined(WITH_LDAP) -MAKE_ENV+= WITH_LDAP=1 -USE_OPENLDAP= yes -.endif - -# Configure script is interactive -do-configure: - ${CP} ${FILESDIR}/Makefile ${WRKSRC}/ - -pre-install: - if ! pw groupshow ${BBUSER}; then pw groupadd ${BBUSER} -g 280; fi - if ! pw usershow ${BBUSER}; then pw useradd ${BBUSER} -g ${BBUSER} -u 280 \ - -h - -d ${NONEXISTENT} -s /usr/sbin/nologin -c "Hobbit Monitor"; fi - -post-install: -.for i in ${FIXME1} - ${INSTALL_DATA} ${WRKSRC}/hobbitd/etcfiles/${i} ${WWWDIR}/server/etc/${i}-dist -.endfor -.for i in ${CONFIG_FILES} - ${CP} -np ${WWWDIR}/server/etc/${i}-dist \ - ${WWWDIR}/server/etc/${i} -.endfor - -.include <bsd.port.mk> diff --git a/net-mgmt/xymon-server/distinfo b/net-mgmt/xymon-server/distinfo deleted file mode 100644 index ae7b9ebf2057..000000000000 --- a/net-mgmt/xymon-server/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (hobbit-4.2.0.tar.gz) = 120fd876b8494e249de0bf0366fcdd9a -SHA256 (hobbit-4.2.0.tar.gz) = 0c2ab43668921316ec435e736a499853d047f0f88a87aa362ccbb8637d2c8d3e -SIZE (hobbit-4.2.0.tar.gz) = 2341167 diff --git a/net-mgmt/xymon-server/files/Makefile b/net-mgmt/xymon-server/files/Makefile deleted file mode 100644 index 9b25ee5e7910..000000000000 --- a/net-mgmt/xymon-server/files/Makefile +++ /dev/null @@ -1,76 +0,0 @@ -# Toplevel Makefile for Hobbit -# $FreeBSD$ -BUILDTOPDIR=`pwd` - -# configure settings for Hobbit -# -# Toplevel dir -BBTOPDIR = ${PREFIX}/www/hobbit -# Server home dir for etc/, bin/ -BBHOME = ${PREFIX}/www/hobbit/server -# Server data dir for hist/ etc. -BBVAR = ${PREFIX}/www/hobbit/data -# CGI scripts go in CGIDIR -CGIDIR = ${PREFIX}/www/hobbit/cgi-bin -# Admin CGI scripts go in SECURECGIDIR -SECURECGIDIR = ${PREFIX}/www/hobbit/cgi-secure -# Where to put logfiles -BBLOGDIR = /var/log/hobbit -# Where to install manpages -MANROOT = ${PREFIX}/man -# How to run fping or hobbitping -FPING = hobbitping - -# Username running hobbit -#BBUSER = nobody -# Hobbit server hostname -#BBHOSTNAME = hobbit.example.com -# Hobbit server IP-address -#BBHOSTIP = 127.0.0.1 -# Hobbit server OS -BBHOSTOS = freebsd - -# URL for Hobbit webpages -BBHOSTURL = /hobbit -# URL for Hobbit CGIs -BBCGIURL = /hobbit-cgi -# URL for Hobbit Admin CGIs -SECUREBBCGIURL = /hobbit-seccgi -# Webserver group-ID -HTTPDGID=80 - -# RRDtool settings -RRDDEF = -DRRDTOOL12 -RRDINCDIR = -I${LOCALBASE}/include -RRDLIBS = -L${LOCALBASE}/lib -lrrd -L${LOCALBASE}/lib -lpng -RPATHVAL += ${LOCALBASE}/lib - -# PCRE settings -PCREINCDIR = -I${LOCALBASE}/include -PCRELIBS = -L${LOCALBASE}/lib -lpcre -RPATHVAL += ${LOCALBASE}/lib -# -# OpenSSL settings -SSLFLAGS = -DBBGEN_SSL -SSLINCDIR = -I${OPENSSLINC} -SSLLIBS = -L${OPENSSLLIB} -lssl -lcrypto -RPATHVAL += ${OPENSSLLIB} -# -ifdef WITH_LDAP -# OpenLDAP settings -LDAPFLAGS = -DBBGEN_LDAP -DBBGEN_LDAP_USESTARTTLS -LDAPINCDIR = -I${PREFIX}/include -LDAPLIBS = -L${PREFIX}/lib -lldap -llber -RPATHVAL += ${PREFIX}/lib -endif -# -# Large File Support settings -LFSDEF = -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 - -include build/Makefile.FreeBSD - - -# Add local CFLAGS etc. settings here - -include build/Makefile.rules - diff --git a/net-mgmt/xymon-server/files/hobbit-server.sh.in b/net-mgmt/xymon-server/files/hobbit-server.sh.in deleted file mode 100644 index e79f3950143d..000000000000 --- a/net-mgmt/xymon-server/files/hobbit-server.sh.in +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: hobbit_server -# REQUIRE: DAEMON - -. "%%RC_SUBR%%" - -name="hobbit_server" -rcvar=`set_rcvar` - -load_rc_config "$name" -: ${hobbit_server_enable:="NO"} - -command="su -m %%BBUSER%% -c '%%PREFIX%%/www/hobbit/server/hobbit.sh'" -start_cmd="su -m %%BBUSER%% -c '%%PREFIX%%/www/hobbit/server/hobbit.sh start'" -stop_cmd="su -m %%BBUSER%% -c '%%PREFIX%%/www/hobbit/server/hobbit.sh stop'" -status_cmd="su -m %%BBUSER%% -c '%%PREFIX%%/www/hobbit/server/hobbit.sh status'" -reload_cmd="su -m %%BBUSER%% -c '%%PREFIX%%/www/hobbit/server/hobbit.sh reload'" -restart_cmd="su -m %%BBUSER%% -c '%%PREFIX%%/www/hobbit/server/hobbit.sh restart'" -pidfile="/var/log/hobbit/hobbitd.pid" - -run_rc_command "$1" -# eof diff --git a/net-mgmt/xymon-server/files/patch-bbnet-Makefile b/net-mgmt/xymon-server/files/patch-bbnet-Makefile deleted file mode 100644 index 251c026d5702..000000000000 --- a/net-mgmt/xymon-server/files/patch-bbnet-Makefile +++ /dev/null @@ -1,13 +0,0 @@ ---- bbnet/Makefile.orig 2006-08-09 22:09:56.000000000 +0200 -+++ bbnet/Makefile 2008-01-28 16:08:57.000000000 +0100 -@@ -88,8 +88,8 @@ - cp -fp $(EXTENSIONS) $(INSTALLROOT)$(INSTALLEXTDIR)/ - - install-config: -- ../build/convert-bbservices $(INSTALLROOT)$(INSTALLETCDIR)/bb-services -- ../build/merge-sects bb-services $(INSTALLROOT)$(INSTALLETCDIR)/bb-services -+ ../build/convert-bbservices $(INSTALLROOT)$(INSTALLETCDIR)/bb-services-dist -+ ../build/merge-sects bb-services $(INSTALLROOT)$(INSTALLETCDIR)/bb-services-dist - - install-man: - mkdir -p $(INSTALLROOT)$(MANROOT)/man1 $(INSTALLROOT)$(MANROOT)/man5 diff --git a/net-mgmt/xymon-server/files/patch-bbwin b/net-mgmt/xymon-server/files/patch-bbwin deleted file mode 100644 index 3f7312b3ecca..000000000000 --- a/net-mgmt/xymon-server/files/patch-bbwin +++ /dev/null @@ -1,579 +0,0 @@ -diff -Naur /home/etienne/hobbit-4.2/hobbitd/client/bbwin.c ./hobbitd/client/bbwin.c ---- /home/etienne/hobbit-4.2/hobbitd/client/bbwin.c 1970-01-01 01:00:00.000000000 +0100 -+++ ./hobbitd/client/bbwin.c 2007-12-27 13:54:02.000000000 +0100 -@@ -0,0 +1,316 @@ -+/*----------------------------------------------------------------------------*/ -+/* Hobbit message daemon. */ -+/* */ -+/* Client backend module for BBWin/Windoes client */ -+/* */ -+/* Copyright (C) 2006-2007 Henrik Storner <henrik@hswn.dk> */ -+/* Copyright (C) 2007 Francois Lacroix */ -+/* Copyright (C) 2007 Etienne Grignon <etienne.grignon@gmail.com> */ -+/* */ -+/* This program is released under the GNU General Public License (GPL), */ -+/* version 2. See the file "COPYING" for details. */ -+/* */ -+/*----------------------------------------------------------------------------*/ -+ -+static char bbwin_rcsid[] = "$Id: bbwin.c,v 1.2 2007/07/18 21:20:15 henrik Exp $"; -+ -+static void bbwin_uptime_report(char *hostname, char *clientclass, enum ostype_t os, -+ void *hinfo, char *fromline, char *timestr, -+ char *uptimestr) -+{ -+ char *p, *myuptimestr = NULL; -+ float loadyellow, loadred; -+ int recentlimit, ancientlimit, maxclockdiff; -+ long uptimesecs = -1; -+ int uptimecolor = COL_GREEN; -+ char msgline[4096]; -+ strbuffer_t *upmsg; -+ -+ if (!want_msgtype(hinfo, MSG_CPU)) return; -+ if (!uptimestr) return; -+ -+ dbgprintf("Uptime check host %s\n", hostname); -+ -+ uptimesecs = 0; -+ -+ /* Parse to check data */ -+ p = strstr(uptimestr, "sec:"); -+ if (p) { -+ p += strcspn(p, "0123456789\r\n"); -+ uptimesecs = atol(p); -+ dbgprintf("uptimestr [%d]\n", uptimesecs); /* DEBUG TODO REMOVE */ -+ } -+ /* Parse to show a nice msg */ -+ myuptimestr = strchr(uptimestr, '\n'); -+ if (myuptimestr) { -+ ++myuptimestr; -+ } -+ get_cpu_thresholds(hinfo, clientclass, &loadyellow, &loadred, &recentlimit, &ancientlimit, &maxclockdiff); -+ dbgprintf("DEBUG recentlimit: [%d] ancienlimit: [%d]\n", recentlimit, ancientlimit); /* DEBUG TODO REMOVE */ -+ -+ upmsg = newstrbuffer(0); -+ if ((uptimesecs != -1) && (recentlimit != -1) && (uptimesecs < recentlimit)) { -+ if (uptimecolor == COL_GREEN) uptimecolor = COL_YELLOW; -+ addtobuffer(upmsg, "&yellow Machine recently rebooted\n"); -+ } -+ if ((uptimesecs != -1) && (ancientlimit != -1) && (uptimesecs > ancientlimit)) { -+ if (uptimecolor == COL_GREEN) uptimecolor = COL_YELLOW; -+ sprintf(msgline, "&yellow Machine has been up more than %d days\n", (ancientlimit / 86400)); -+ addtobuffer(upmsg, msgline); -+ } -+ -+ init_status(uptimecolor); -+ sprintf(msgline, "status %s.uptime %s %s %s\n", -+ commafy(hostname), colorname(uptimecolor), -+ (timestr ? timestr : "<No timestamp data>"), -+ ((uptimecolor == COL_GREEN) ? "OK" : "NOT ok")); -+ -+ addtostatus(msgline); -+ /* And add the info if pb */ -+ if (STRBUFLEN(upmsg)) { -+ addtostrstatus(upmsg); -+ addtostatus("\n"); -+ } -+ /* And add the msg we recevied */ -+ if (myuptimestr) { -+ addtostatus(myuptimestr); -+ addtostatus("\n"); -+ } -+ -+ dbgprintf("msgline %s", msgline); /* DEBUG TODO REMOVE */ -+ -+ if (fromline && !localmode) addtostatus(fromline); -+ finish_status(); -+ -+ freestrbuffer(upmsg); -+} -+ -+ -+static void bbwin_cpu_report(char *hostname, char *clientclass, enum ostype_t os, -+ void *hinfo, char *fromline, char *timestr, -+ char *cpuutilstr) -+{ -+ char *p, *topstr; -+ float load1, loadyellow, loadred; -+ int recentlimit, ancientlimit, maxclockdiff; -+ int cpucolor = COL_GREEN; -+ -+ char msgline[4096]; -+ strbuffer_t *cpumsg; -+ -+ if (!want_msgtype(hinfo, MSG_CPU)) return; -+ if (!cpuutilstr) return; -+ -+ dbgprintf("CPU check host %s\n", hostname); -+ -+ load1 = 0; -+ -+ p = strstr(cpuutilstr, "load="); -+ if (p) { -+ p += strcspn(p, "0123456789%\r\n"); -+ load1 = atol(p); -+ dbgprintf("load1 [%d]\n", load1); /* DEBUG TODO REMOVE */ -+ } -+ topstr = strstr(cpuutilstr, "CPU states"); -+ if (topstr) { -+ *(topstr - 1) = '\0'; -+ } -+ -+ get_cpu_thresholds(hinfo, clientclass, &loadyellow, &loadred, &recentlimit, &ancientlimit, &maxclockdiff); -+ dbgprintf("loadyellow: %d, loadred: %d\n", loadyellow, loadred); -+ -+ cpumsg = newstrbuffer(0); -+ if (load1 > loadred) { -+ cpucolor = COL_RED; -+ addtobuffer(cpumsg, "&red Load is CRITICAL\n"); -+ } -+ else if (load1 > loadyellow) { -+ cpucolor = COL_YELLOW; -+ addtobuffer(cpumsg, "&yellow Load is HIGH\n"); -+ } -+ init_status(cpucolor); -+ sprintf(msgline, "status %s.cpu %s %s %s", -+ commafy(hostname), colorname(cpucolor), -+ (timestr ? timestr : "<No timestamp data>"), -+ cpuutilstr); -+ -+ addtostatus(msgline); -+ /* And add the info if pb */ -+ if (STRBUFLEN(cpumsg)) { -+ addtostrstatus(cpumsg); -+ addtostatus("\n"); -+ } -+ /* And add the msg we recevied */ -+ if (topstr) { -+ addtostatus(topstr); -+ addtostatus("\n"); -+ } -+ -+ dbgprintf("msgline %s", msgline); /* DEBUG TODO REMOVE */ -+ -+ if (fromline && !localmode) addtostatus(fromline); -+ finish_status(); -+ -+ freestrbuffer(cpumsg); -+} -+ -+static void bbwin_clock_report(char *hostname, char *clientclass, enum ostype_t os, -+ void *hinfo, char *fromline, char *timestr, -+ char *clockstr, char *msgcachestr) -+{ -+ char *myclockstr; -+ int clockcolor = COL_GREEN; -+ float loadyellow, loadred; -+ int recentlimit, ancientlimit, maxclockdiff; -+ char msgline[4096]; -+ strbuffer_t *clockmsg; -+ -+ if (!want_msgtype(hinfo, MSG_CPU)) return; -+ if (!clockstr) return; -+ -+ dbgprintf("Clock check host %s\n", hostname); -+ -+ clockmsg = newstrbuffer(0); -+ -+ myclockstr = strstr(clockstr, "local"); -+ if (myclockstr) { -+ *(myclockstr - 1) = '\0'; -+ } -+ -+ get_cpu_thresholds(hinfo, clientclass, &loadyellow, &loadred, &recentlimit, &ancientlimit, &maxclockdiff); -+ -+ if (clockstr) { -+ char *p; -+ struct timeval clockval; -+ -+ p = strstr(clockstr, "epoch:"); -+ if (p && (sscanf(p, "epoch: %ld.%ld", (long int *)&clockval.tv_sec, (long int *)&clockval.tv_usec) == 2)) { -+ struct timeval clockdiff; -+ struct timezone tz; -+ int cachedelay = 0; -+ -+ if (msgcachestr) { -+ /* Message passed through msgcache, so adjust for the cache delay */ -+ p = strstr(msgcachestr, "Cachedelay:"); -+ if (p) cachedelay = atoi(p+11); -+ } -+ -+ gettimeofday(&clockdiff, &tz); -+ clockdiff.tv_sec -= (clockval.tv_sec + cachedelay); -+ clockdiff.tv_usec -= clockval.tv_usec; -+ if (clockdiff.tv_usec < 0) { -+ clockdiff.tv_usec += 1000000; -+ clockdiff.tv_sec -= 1; -+ } -+ -+ if ((maxclockdiff > 0) && (abs(clockdiff.tv_sec) > maxclockdiff)) { -+ if (clockcolor == COL_GREEN) clockcolor = COL_YELLOW; -+ sprintf(msgline, "&yellow System clock is %ld seconds off (max %ld)\n", -+ (long) clockdiff.tv_sec, (long) maxclockdiff); -+ addtobuffer(clockmsg, msgline); -+ } -+ else { -+ sprintf(msgline, "System clock is %ld seconds off\n", (long) clockdiff.tv_sec); -+ addtobuffer(clockmsg, msgline); -+ } -+ } -+ } -+ -+ init_status(clockcolor); -+ sprintf(msgline, "status %s.timediff %s %s %s\n", -+ commafy(hostname), colorname(clockcolor), -+ (timestr ? timestr : "<No timestamp data>"), -+ ((clockcolor == COL_GREEN) ? "OK" : "NOT ok")); -+ -+ addtostatus(msgline); -+ /* And add the info if pb */ -+ if (STRBUFLEN(clockmsg)) { -+ addtostrstatus(clockmsg); -+ addtostatus("\n"); -+ } -+ /* And add the msg we recevied */ -+ if (myclockstr) { -+ addtostatus(myclockstr); -+ addtostatus("\n"); -+ } -+ -+ dbgprintf("msgline %s", msgline); /* DEBUG TODO REMOVE */ -+ -+ if (fromline && !localmode) addtostatus(fromline); -+ finish_status(); -+ -+ freestrbuffer(clockmsg); -+} -+ -+void handle_win32_bbwin_client(char *hostname, char *clienttype, enum ostype_t os, -+ void *hinfo, char *sender, time_t timestamp, -+ char *clientdata) -+{ -+ char *timestr; -+ char *cpuutilstr; -+ char *uptimestr; -+ char *clockstr; -+ char *msgcachestr; -+ char *diskstr; -+ char *procsstr; -+ char *msgsstr; -+ char *portsstr; -+ char *memorystr; -+ char *netstatstr; -+ char *ifstatstr; -+ -+ char fromline[1024]; -+ -+ sprintf(fromline, "\nStatus message received from %s\n", sender); -+ -+ splitmsg(clientdata); -+ -+ /* Get all data by section timestr is the date time for all status */ -+ timestr = getdata("date"); -+ if (!timestr) return; -+ -+ uptimestr = getdata("uptime"); -+ clockstr = getdata("clock"); -+ msgcachestr = getdata("msgcache"); /* TODO check when it is usefull */ -+ cpuutilstr = getdata("cpu"); -+ procsstr = getdata("procs"); -+ diskstr = getdata("disk"); -+ portsstr = getdata("ports"); -+ memorystr = getdata("memory"); -+ msgsstr = getdata("msg"); -+ netstatstr = getdata("netstat"); -+ ifstatstr = getdata("ifstat"); -+ -+ bbwin_uptime_report(hostname, clienttype, os, hinfo, fromline, timestr, uptimestr); -+ bbwin_clock_report(hostname, clienttype, os, hinfo, fromline, timestr, clockstr, msgcachestr); -+ bbwin_cpu_report(hostname, clienttype, os, hinfo, fromline, timestr, cpuutilstr); -+ unix_procs_report(hostname, clienttype, os, hinfo, fromline, timestr, "Name", NULL, procsstr); -+ unix_ports_report(hostname, clienttype, os, hinfo, fromline, timestr, 1, 2, 3, portsstr); -+ unix_disk_report(hostname, clienttype, os, hinfo, fromline, timestr, "Avail", "Capacity", "Filesystem", diskstr); -+ -+ msgs_report(hostname, clienttype, os, hinfo, fromline, timestr, msgsstr); -+ file_report(hostname, clienttype, os, hinfo, fromline, timestr); -+ linecount_report(hostname, clienttype, os, hinfo, fromline, timestr); -+ -+ /* Data status */ -+ unix_netstat_report(hostname, clienttype, os, hinfo, fromline, timestr, netstatstr); -+ unix_ifstat_report(hostname, clienttype, os, hinfo, fromline, timestr, ifstatstr); -+ -+ if (memorystr) { -+ char *p; -+ long memphystotal, memphysused, -+ memactused, memacttotal, -+ memswaptotal, memswapused; -+ -+ memphystotal = memswaptotal = memphysused = memswapused = memactused = memacttotal = -1; -+ p = strstr(memorystr, "\nphysical:"); -+ if (p) sscanf(p, "\nphysical: %ld %ld", &memphystotal, &memphysused); -+ p = strstr(memorystr, "\npage:"); -+ if (p) sscanf(p, "\npage: %ld %ld", &memswaptotal, &memswapused); -+ p = strstr(memorystr, "\nvirtual:"); -+ if (p) sscanf(p, "\nvirtual: %ld %ld", &memacttotal, &memactused); -+ dbgprintf("DEBUG Memory %ld %ld %ld %ld %ld\n", memphystotal, memphysused, memactused, memswaptotal, memswapused); /* DEBUG TODO Remove*/ -+ unix_memory_report(hostname, clienttype, os, hinfo, fromline, timestr, -+ memphystotal, memphysused, memactused, memswaptotal, memswapused); -+ } -+} -diff -Naur /home/etienne/hobbit-4.2/hobbitd/hobbitd_client.c ./hobbitd/hobbitd_client.c ---- /home/etienne/hobbit-4.2/hobbitd/hobbitd_client.c 2007-10-30 14:21:10.000000000 +0100 -+++ ./hobbitd/hobbitd_client.c 2007-12-26 14:28:02.000000000 +0100 -@@ -1402,6 +1402,7 @@ - #include "client/darwin.c" - #include "client/irix.c" - #include "client/sco_sv.c" -+#include "client/bbwin.c" - - static volatile int reloadconfig = 0; - -@@ -1770,57 +1771,61 @@ - - combo_start(); - switch (os) { -- case OS_FREEBSD: -- handle_freebsd_client(hostname, clientclass, os, hinfo, sender, timestamp, restofmsg); -- break; -- -- case OS_NETBSD: -- handle_netbsd_client(hostname, clientclass, os, hinfo, sender, timestamp, restofmsg); -- break; -- -- case OS_OPENBSD: -- handle_openbsd_client(hostname, clientclass, os, hinfo, sender, timestamp, restofmsg); -- break; -- -- case OS_LINUX22: -- case OS_LINUX: -- case OS_RHEL3: -- handle_linux_client(hostname, clientclass, os, hinfo, sender, timestamp, restofmsg); -- break; -- -- case OS_DARWIN: -- handle_darwin_client(hostname, clientclass, os, hinfo, sender, timestamp, restofmsg); -- break; -- -- case OS_SOLARIS: -- handle_solaris_client(hostname, clientclass, os, hinfo, sender, timestamp, restofmsg); -- break; -- -- case OS_HPUX: -- handle_hpux_client(hostname, clientclass, os, hinfo, sender, timestamp, restofmsg); -- break; -- -- case OS_OSF: -- handle_osf_client(hostname, clientclass, os, hinfo, sender, timestamp, restofmsg); -- break; -- -- case OS_AIX: -- handle_aix_client(hostname, clientclass, os, hinfo, sender, timestamp, restofmsg); -- break; -- -- case OS_IRIX: -- handle_irix_client(hostname, clientclass, os, hinfo, sender, timestamp, restofmsg); -- break; -- -+ case OS_FREEBSD: -+ handle_freebsd_client(hostname, clientclass, os, hinfo, sender, timestamp, restofmsg); -+ break; -+ -+ case OS_NETBSD: -+ handle_netbsd_client(hostname, clientclass, os, hinfo, sender, timestamp, restofmsg); -+ break; -+ -+ case OS_OPENBSD: -+ handle_openbsd_client(hostname, clientclass, os, hinfo, sender, timestamp, restofmsg); -+ break; -+ -+ case OS_LINUX22: -+ case OS_LINUX: -+ case OS_RHEL3: -+ handle_linux_client(hostname, clientclass, os, hinfo, sender, timestamp, restofmsg); -+ break; -+ -+ case OS_DARWIN: -+ handle_darwin_client(hostname, clientclass, os, hinfo, sender, timestamp, restofmsg); -+ break; -+ -+ case OS_SOLARIS: -+ handle_solaris_client(hostname, clientclass, os, hinfo, sender, timestamp, restofmsg); -+ break; -+ -+ case OS_HPUX: -+ handle_hpux_client(hostname, clientclass, os, hinfo, sender, timestamp, restofmsg); -+ break; -+ -+ case OS_OSF: -+ handle_osf_client(hostname, clientclass, os, hinfo, sender, timestamp, restofmsg); -+ break; -+ -+ case OS_AIX: -+ handle_aix_client(hostname, clientclass, os, hinfo, sender, timestamp, restofmsg); -+ break; -+ -+ case OS_IRIX: -+ handle_irix_client(hostname, clientclass, os, hinfo, sender, timestamp, restofmsg); -+ break; -+ - case OS_SCO_SV: -- handle_sco_sv_client(hostname, clientclass, os, hinfo, sender, timestamp, restofmsg); -- break; -- -- case OS_WIN32: -- case OS_SNMP: -- case OS_UNKNOWN: -- errprintf("No client backend for OS '%s' sent by %s\n", clientos, sender); -- break; -+ handle_sco_sv_client(hostname, clientclass, os, hinfo, sender, timestamp, restofmsg); -+ break; -+ -+ case OS_WIN32_BBWIN: -+ handle_win32_bbwin_client(hostname, clientclass, os, hinfo, sender, timestamp, restofmsg); -+ break; -+ -+ case OS_WIN32: -+ case OS_SNMP: -+ case OS_UNKNOWN: -+ errprintf("No client backend for OS '%s' sent by %s\n", clientos, sender); -+ break; - } - combo_end(); - } -diff -Naur /home/etienne/hobbit-4.2/hobbitd/rrd/do_disk.c ./hobbitd/rrd/do_disk.c ---- /home/etienne/hobbit-4.2/hobbitd/rrd/do_disk.c 2007-10-30 14:21:04.000000000 +0100 -+++ ./hobbitd/rrd/do_disk.c 2007-12-27 13:54:50.000000000 +0100 -@@ -2,6 +2,7 @@ - /* Hobbit RRD handler module. */ - /* */ - /* Copyright (C) 2004-2006 Henrik Storner <henrik@hswn.dk> */ -+/* Copyright (C) 2007 Francois Lacroix */ - /* */ - /* This program is released under the GNU General Public License (GPL), */ - /* version 2. See the file "COPYING" for details. */ -@@ -16,7 +17,7 @@ - rra1, rra2, rra3, rra4, NULL }; - static char *disk_tpl = NULL; - -- enum { DT_IRIX, DT_AS400, DT_NT, DT_UNIX, DT_NETAPP, DT_NETWARE } dsystype; -+ enum { DT_IRIX, DT_AS400, DT_NT, DT_UNIX, DT_NETAPP, DT_NETWARE, DT_BBWIN } dsystype; - char *eoln, *curline; - static int ptnsetup = 0; - static pcre *inclpattern = NULL; -@@ -48,6 +49,7 @@ - else if (strstr(msg, "DASD")) dsystype = DT_AS400; - else if (strstr(msg, "NetWare Volumes")) dsystype = DT_NETWARE; - else if (strstr(msg, "NetAPP")) dsystype = DT_NETAPP; -+ else if (strstr(msg, "Summary")) dsystype = DT_BBWIN; /* Make sur it is a bbwin client v > 0.10 */ - else if (strstr(msg, "Filesystem")) dsystype = DT_NT; - else dsystype = DT_UNIX; - -@@ -83,6 +85,8 @@ - * Some Unix filesystem reports contain the word "Filesystem". - * So check if there's a slash in the NT filesystem letter - if yes, - * then it's really a Unix system after all. -+ * Not always has BBWIN > 0.10 not give the information also on mounted disk. -+ * (IE more than one letter) - */ - if ( (dsystype == DT_NT) && (*(columns[5])) && - ((strchr(columns[0], '/')) || (strlen(columns[0]) > 1)) ) -@@ -112,6 +116,7 @@ - pused = atoi(columns[columncount-1]); - aused = 0; /* Not available */ - break; -+ case DT_BBWIN: - case DT_NT: - diskname = xmalloc(strlen(columns[0])+2); - sprintf(diskname, "/%s", columns[0]); -diff -Naur /home/etienne/hobbit-4.2/hobbitd/rrd/do_ifstat.c ./hobbitd/rrd/do_ifstat.c ---- /home/etienne/hobbit-4.2/hobbitd/rrd/do_ifstat.c 2007-10-30 14:21:04.000000000 +0100 -+++ ./hobbitd/rrd/do_ifstat.c 2007-12-27 13:55:02.000000000 +0100 -@@ -2,6 +2,7 @@ - /* Hobbit RRD handler module. */ - /* */ - /* Copyright (C) 2005-2006 Henrik Storner <henrik@hswn.dk> */ -+/* Copyright (C) 2007 Francois Lacroix */ - /* */ - /* This program is released under the GNU General Public License (GPL), */ - /* version 2. See the file "COPYING" for details. */ -@@ -247,6 +248,10 @@ - if (pickdata(bol, ifstat_sco_sv_pcres[0], 0, &ifname, &rxstr, &txstr)) dmatch = 7; - break; - -+ case OS_WIN32_BBWIN: -+ if (pickdata(bol, ifstat_openbsd_pcres[0], 0, &ifname, &rxstr, &txstr)) dmatch = 7; -+ break; -+ - case OS_OSF: - case OS_IRIX: - case OS_SNMP: -diff -Naur /home/etienne/hobbit-4.2/hobbitd/rrd/do_netstat.c ./hobbitd/rrd/do_netstat.c ---- /home/etienne/hobbit-4.2/hobbitd/rrd/do_netstat.c 2007-10-30 14:21:04.000000000 +0100 -+++ ./hobbitd/rrd/do_netstat.c 2007-12-27 13:55:14.000000000 +0100 -@@ -2,6 +2,7 @@ - /* Hobbit RRD handler module. */ - /* */ - /* Copyright (C) 2004-2006 Henrik Storner <henrik@hswn.dk> */ -+/* Copyright (C) 2007 Francois Lacroix */ - /* */ - /* This program is released under the GNU General Public License (GPL), */ - /* version 2. See the file "COPYING" for details. */ -@@ -512,6 +513,7 @@ - break; - - case OS_WIN32: -+ case OS_WIN32_BBWIN: - havedata = do_valaftermarkerequal(netstat_win32_markers, datapart, outp); - break; - -diff -Naur /home/etienne/hobbit-4.2/hobbitd/rrd/do_vmstat.c ./hobbitd/rrd/do_vmstat.c ---- /home/etienne/hobbit-4.2/hobbitd/rrd/do_vmstat.c 2007-10-30 14:21:04.000000000 +0100 -+++ ./hobbitd/rrd/do_vmstat.c 2007-12-27 13:55:24.000000000 +0100 -@@ -2,6 +2,7 @@ - /* Hobbit RRD handler module. */ - /* */ - /* Copyright (C) 2004-2006 Henrik Storner <henrik@hswn.dk> */ -+/* Copyright (C) 2007 Francois Lacroix */ - /* */ - /* This program is released under the GNU General Public License (GPL), */ - /* version 2. See the file "COPYING" for details. */ -@@ -338,6 +339,7 @@ - case OS_HPUX: - layout = vmstat_hpux_layout; break; - case OS_WIN32: -+ case OS_WIN32_BBWIN: - errprintf("Cannot handle Win32 vmstat from host '%s' \n", hostname); - return -1; - case OS_FREEBSD: -diff -Naur /home/etienne/hobbit-4.2/lib/misc.c ./lib/misc.c ---- /home/etienne/hobbit-4.2/lib/misc.c 2007-10-30 14:21:02.000000000 +0100 -+++ ./lib/misc.c 2007-12-18 10:09:00.000000000 +0100 -@@ -69,6 +69,7 @@ - else if (strcasecmp(osname, "macosx") == 0) result = OS_DARWIN; - else if (strcasecmp(osname, "darwin") == 0) result = OS_DARWIN; - else if (strcasecmp(osname, "sco_sv") == 0) result = OS_SCO_SV; -+ else if (strcasecmp(osname, "bbwin") == 0) result = OS_WIN32_BBWIN; - - if (result == OS_UNKNOWN) dbgprintf("Unknown OS: '%s'\n", osname); - -@@ -94,6 +95,7 @@ - case OS_IRIX: return "irix"; - case OS_DARWIN: return "darwin"; - case OS_SCO_SV: return "sco_sv"; -+ case OS_WIN32_BBWIN: return "bbwin"; - case OS_UNKNOWN: return "unknown"; - } - -diff -Naur /home/etienne/hobbit-4.2/lib/misc.h ./lib/misc.h ---- /home/etienne/hobbit-4.2/lib/misc.h 2007-10-30 14:21:02.000000000 +0100 -+++ ./lib/misc.h 2007-12-12 11:34:06.000000000 +0100 -@@ -13,7 +13,7 @@ - - #include <stdio.h> - --enum ostype_t { OS_UNKNOWN, OS_SOLARIS, OS_OSF, OS_AIX, OS_HPUX, OS_WIN32, OS_FREEBSD, OS_NETBSD, OS_OPENBSD, OS_LINUX22, OS_LINUX, OS_RHEL3, OS_SNMP, OS_IRIX, OS_DARWIN, OS_SCO_SV } ; -+enum ostype_t { OS_UNKNOWN, OS_SOLARIS, OS_OSF, OS_AIX, OS_HPUX, OS_WIN32, OS_FREEBSD, OS_NETBSD, OS_OPENBSD, OS_LINUX22, OS_LINUX, OS_RHEL3, OS_SNMP, OS_IRIX, OS_DARWIN, OS_SCO_SV , OS_WIN32_BBWIN } ; - - extern enum ostype_t get_ostype(char *osname); - extern char *osname(enum ostype_t os); diff --git a/net-mgmt/xymon-server/files/patch-build-Makefile.rules b/net-mgmt/xymon-server/files/patch-build-Makefile.rules deleted file mode 100644 index 6a0dc2fe8f68..000000000000 --- a/net-mgmt/xymon-server/files/patch-build-Makefile.rules +++ /dev/null @@ -1,15 +0,0 @@ ---- build/Makefile.rules.orig 2006-08-09 22:09:57.000000000 +0200 -+++ build/Makefile.rules 2008-01-24 14:12:36.000000000 +0100 -@@ -22,9 +22,9 @@ - INSTALLTARGETS = install-client install-clientmsg - endif - else -- BUILDTARGETS = lib-build common-build bbdisplay-build bbnet-build bbproxy-build docs-build build-build hobbitd-build web-build client -- CLIENTTARGETS = lib-client common-client build-build -- INSTALLTARGETS = install-bbdisplay install-bbnet install-bbproxy install-man install-hobbitd install-web install-docs install-client install-servermsg -+ BUILDTARGETS = lib-build common-build bbdisplay-build bbnet-build bbproxy-build docs-build build-build hobbitd-build web-build -+ CLIENTTARGETS = -+ INSTALLTARGETS = install-bbdisplay install-bbnet install-bbproxy install-man install-hobbitd install-web install-docs install-servermsg - CFLAGS += $(PCREINCDIR) - endif - diff --git a/net-mgmt/xymon-server/files/patch-hobbitd-Makefile b/net-mgmt/xymon-server/files/patch-hobbitd-Makefile deleted file mode 100644 index 9e2089769b31..000000000000 --- a/net-mgmt/xymon-server/files/patch-hobbitd-Makefile +++ /dev/null @@ -1,25 +0,0 @@ ---- hobbitd/Makefile.orig 2006-08-09 22:10:05.000000000 +0200 -+++ hobbitd/Makefile 2008-01-28 14:40:13.000000000 +0100 -@@ -140,14 +140,14 @@ - cp -fp *.8 $(INSTALLROOT)$(MANROOT)/man8/ - - install-cfg: -- cd etcfiles; ../../build/merge-lines hobbitserver.cfg $(INSTALLROOT)$(INSTALLETCDIR)/hobbitserver.cfg LARRDCOLUMN=TRENDSCOLUMN LARRDS=TEST2RRD -- cd etcfiles; ../../build/merge-lines hobbitcgi.cfg $(INSTALLROOT)$(INSTALLETCDIR)/hobbitcgi.cfg -- cd etcfiles; ../../build/merge-sects hobbitlaunch.cfg $(INSTALLROOT)$(INSTALLETCDIR)/hobbitlaunch.cfg larrdstatus=rrdstatus larrddata=rrddata -- cd etcfiles; ../../build/merge-sects client-local.cfg $(INSTALLROOT)$(INSTALLETCDIR)/client-local.cfg -- cd etcfiles; ../../build/merge-sects hobbitgraph.cfg $(INSTALLROOT)$(INSTALLETCDIR)/hobbitgraph.cfg -- cd etcfiles; ../../build/merge-lines columndoc.csv $(INSTALLROOT)$(INSTALLETCDIR)/columndoc.csv -- cd etcfiles; (echo "bb-hosts"; echo "hobbit-alerts.cfg"; echo "hobbit-clients.cfg"; echo "bbcombotest.cfg"; echo "client-local.cfg") | ../../build/setup-newfiles $(INSTALLROOT)$(INSTALLETCDIR)/ -- cd etcfiles; cp -fp hobbit-apache.conf $(INSTALLROOT)$(INSTALLETCDIR)/hobbit-apache.conf -+ cd etcfiles; ../../build/merge-lines hobbitserver.cfg $(INSTALLROOT)$(INSTALLETCDIR)/hobbitserver.cfg-dist LARRDCOLUMN=TRENDSCOLUMN LARRDS=TEST2RRD -+ cd etcfiles; ../../build/merge-lines hobbitcgi.cfg $(INSTALLROOT)$(INSTALLETCDIR)/hobbitcgi.cfg-dist -+ cd etcfiles; ../../build/merge-sects hobbitlaunch.cfg $(INSTALLROOT)$(INSTALLETCDIR)/hobbitlaunch.cfg-dist larrdstatus=rrdstatus larrddata=rrddata -+ cd etcfiles; ../../build/merge-sects client-local.cfg $(INSTALLROOT)$(INSTALLETCDIR)/client-local.cfg-dist -+ cd etcfiles; ../../build/merge-sects hobbitgraph.cfg $(INSTALLROOT)$(INSTALLETCDIR)/hobbitgraph.cfg-dist -+ cd etcfiles; ../../build/merge-lines columndoc.csv $(INSTALLROOT)$(INSTALLETCDIR)/columndoc.csv-dist -+# cd etcfiles; (echo "bb-hosts"; echo "hobbit-alerts.cfg"; echo "hobbit-clients.cfg"; echo "bbcombotest.cfg"; echo "client-local.cfg") | ../../build/setup-newfiles $(INSTALLROOT)$(INSTALLETCDIR)/ -+ cd etcfiles; cp -fp hobbit-apache.conf $(INSTALLROOT)$(INSTALLETCDIR)/hobbit-apache.conf-dist - cd $(INSTALLROOT)$(BBHOME); rm -f hobbit.sh; ln -sf bin/hobbit.sh . - cd wwwfiles; find . | grep -v RCS | grep -v DIST | ../../build/setup-newfiles $(INSTALLROOT)$(INSTALLWWWDIR)/ ../../build/md5.dat - cd webfiles; find . | grep -v RCS | grep -v DIST | ../../build/setup-newfiles $(INSTALLROOT)$(INSTALLWEBDIR)/ ../../build/md5.dat diff --git a/net-mgmt/xymon-server/pkg-descr b/net-mgmt/xymon-server/pkg-descr deleted file mode 100644 index a696edf28b33..000000000000 --- a/net-mgmt/xymon-server/pkg-descr +++ /dev/null @@ -1,15 +0,0 @@ -Hobbit is a system for monitoring servers and networks. It has a great deal -of inspiration from the Big Brother monitor, but unlike Big Brother it is -designed to work well whether you need to monitor small network with just -a handful of hosts, or large networks with thousands of hosts. - -Hobbit is the successor to the bbgen toolkit, which has been available as -an add-on to Big Brother since late 2002. The name change was decided upon -when Hobbit acquired enough functionality to be a stand-alone product. -The tools that formed the bbgen toolkit are still present in Hobbit -and are quite important for it, so if you have used bbgen before, -Hobbit will seem quite familiar. - -This is the server. - -WWW: http://hobbitmon.sourceforge.net/ diff --git a/net-mgmt/xymon-server/pkg-plist b/net-mgmt/xymon-server/pkg-plist deleted file mode 100644 index 3fd1ab9322b0..000000000000 --- a/net-mgmt/xymon-server/pkg-plist +++ /dev/null @@ -1,390 +0,0 @@ -@exec if ! pw groupshow %%BBUSER%% 2>/dev/null; then pw groupadd %%BBUSER%% -g 280; fi -@exec if ! pw usershow %%BBUSER%% 2>/dev/null; then pw useradd %%BBUSER%% -g %%BBUSER%% -u 280 -h - -d /nonexistent -s /usr/sbin/nologin -c "Hobbit Monitor"; fi -@unexec if pw usershow %%BBUSER%%; then pw userdel %%BBUSER%%; fi -%%WWWDIR%%/cgi-bin/bb-csvinfo.sh -%%WWWDIR%%/cgi-bin/bb-datepage.sh -%%WWWDIR%%/cgi-bin/bb-eventlog.sh -%%WWWDIR%%/cgi-bin/bb-findhost.sh -%%WWWDIR%%/cgi-bin/bb-hist.sh -%%WWWDIR%%/cgi-bin/bb-histlog.sh -%%WWWDIR%%/cgi-bin/bb-hostsvc.sh -%%WWWDIR%%/cgi-bin/bb-rep.sh -%%WWWDIR%%/cgi-bin/bb-replog.sh -%%WWWDIR%%/cgi-bin/bb-snapshot.sh -%%WWWDIR%%/cgi-bin/hobbit-certreport.sh -%%WWWDIR%%/cgi-bin/hobbit-confreport.sh -%%WWWDIR%%/cgi-bin/hobbit-ghosts.sh -%%WWWDIR%%/cgi-bin/hobbit-hostgraphs.sh -%%WWWDIR%%/cgi-bin/hobbit-nkview.sh -%%WWWDIR%%/cgi-bin/hobbit-nongreen.sh -%%WWWDIR%%/cgi-bin/hobbitcolumn.sh -%%WWWDIR%%/cgi-bin/hobbitgraph.sh -%%WWWDIR%%/cgi-secure/bb-ack.sh -%%WWWDIR%%/cgi-secure/hobbit-ackinfo.sh -%%WWWDIR%%/cgi-secure/hobbit-enadis.sh -%%WWWDIR%%/cgi-secure/hobbit-nkedit.sh -%%WWWDIR%%/server/bin/bb -%%WWWDIR%%/server/bin/bb-ack.cgi -%%WWWDIR%%/server/bin/bb-csvinfo.cgi -%%WWWDIR%%/server/bin/bb-datepage.cgi -%%WWWDIR%%/server/bin/bb-eventlog.cgi -%%WWWDIR%%/server/bin/bb-findhost.cgi -%%WWWDIR%%/server/bin/bb-hist.cgi -%%WWWDIR%%/server/bin/bb-rep.cgi -%%WWWDIR%%/server/bin/bb-replog.cgi -%%WWWDIR%%/server/bin/bb-snapshot.cgi -%%WWWDIR%%/server/bin/bb-webpage -%%WWWDIR%%/server/bin/bbcmd -%%WWWDIR%%/server/bin/bbcombotest -%%WWWDIR%%/server/bin/bbdigest -%%WWWDIR%%/server/bin/bbgen -%%WWWDIR%%/server/bin/bbhostgrep -%%WWWDIR%%/server/bin/bbhostshow -%%WWWDIR%%/server/bin/bbmessage.cgi -%%WWWDIR%%/server/bin/bbproxy -%%WWWDIR%%/server/bin/bbtest-net -%%WWWDIR%%/server/bin/beastat -%%WWWDIR%%/server/bin/boilerplate.cgi -%%WWWDIR%%/server/bin/hobbit-ackinfo.cgi -%%WWWDIR%%/server/bin/hobbit-confreport.cgi -%%WWWDIR%%/server/bin/hobbit-enadis.cgi -%%WWWDIR%%/server/bin/hobbit-ghosts.cgi -%%WWWDIR%%/server/bin/hobbit-hostgraphs.cgi -%%WWWDIR%%/server/bin/hobbit-mailack -%%WWWDIR%%/server/bin/hobbit-nkedit.cgi -%%WWWDIR%%/server/bin/hobbit-nkview.cgi -%%WWWDIR%%/server/bin/hobbit-statusreport.cgi -%%WWWDIR%%/server/bin/hobbit.sh -%%WWWDIR%%/server/bin/hobbitd -%%WWWDIR%%/server/bin/hobbitd_alert -%%WWWDIR%%/server/bin/hobbitd_capture -%%WWWDIR%%/server/bin/hobbitd_channel -%%WWWDIR%%/server/bin/hobbitd_client -%%WWWDIR%%/server/bin/hobbitd_filestore -%%WWWDIR%%/server/bin/hobbitd_history -%%WWWDIR%%/server/bin/hobbitd_hostdata -%%WWWDIR%%/server/bin/hobbitd_larrd -%%WWWDIR%%/server/bin/hobbitd_rrd -%%WWWDIR%%/server/bin/hobbitd_sample -%%WWWDIR%%/server/bin/hobbitfetch -%%WWWDIR%%/server/bin/hobbitgraph.cgi -%%WWWDIR%%/server/bin/hobbitlaunch -%%WWWDIR%%/server/bin/hobbitping -%%WWWDIR%%/server/bin/hobbitreports.sh -%%WWWDIR%%/server/bin/hobbitsvc.cgi -%%WWWDIR%%/server/bin/moverrd.sh -%%WWWDIR%%/server/bin/trimhistory -@unexec if cmp -s %D/%%WWWDIR%%/server/etc/bb-hosts %D/%%WWWDIR%%/server/etc/bb-hosts-dist; then rm -f %D/%%WWWDIR%%/server/etc/bb-hosts; fi -@unexec if cmp -s %D/%%WWWDIR%%/server/etc/bb-services %D/%%WWWDIR%%/server/etc/bb-services-dist; then rm -f %D/%%WWWDIR%%/server/etc/bb-services; fi -@unexec if cmp -s %D/%%WWWDIR%%/server/etc/bbcombotest.cfg %D/%%WWWDIR%%/server/etc/bbcombotest.cfg-dist; then rm -f %D/%%WWWDIR%%/server/etc/bbcombotest.cfg; fi -@unexec if cmp -s %D/%%WWWDIR%%/server/etc/client-local.cfg %D/%%WWWDIR%%/server/etc/client-local.cfg-dist; then rm -f %D/%%WWWDIR%%/server/etc/client-local.cfg; fi -@unexec if cmp -s %D/%%WWWDIR%%/server/etc/columndoc.csv %D/%%WWWDIR%%/server/etc/columndoc.csv-dist; then rm -f %D/%%WWWDIR%%/server/etc/columndoc.csv; fi -@unexec if cmp -s %D/%%WWWDIR%%/server/etc/hobbit-alerts.cfg %D/%%WWWDIR%%/server/etc/hobbit-alerts.cfg-dist; then rm -f %D/%%WWWDIR%%/server/etc/hobbit-alerts.cfg; fi -@unexec if cmp -s %D/%%WWWDIR%%/server/etc/hobbit-apache.conf %D/%%WWWDIR%%/server/etc/hobbit-apache.conf-dist; then rm -f %D/%%WWWDIR%%/server/etc/hobbit-apache.conf; fi -@unexec if cmp -s %D/%%WWWDIR%%/server/etc/hobbit-clients.cfg %D/%%WWWDIR%%/server/etc/hobbit-clients.cfg-dist; then rm -f %D/%%WWWDIR%%/server/etc/hobbit-clients.cfg; fi -@unexec if cmp -s %D/%%WWWDIR%%/server/etc/hobbitcgi.cfg %D/%%WWWDIR%%/server/etc/hobbitcgi.cfg-dist; then rm -f %D/%%WWWDIR%%/server/etc/hobbitcgi.cfg; fi -@unexec if cmp -s %D/%%WWWDIR%%/server/etc/hobbitgraph.cfg %D/%%WWWDIR%%/server/etc/hobbitgraph.cfg-dist; then rm -f %D/%%WWWDIR%%/server/etc/hobbitgraph.cfg; fi -@unexec if cmp -s %D/%%WWWDIR%%/server/etc/hobbitlaunch.cfg %D/%%WWWDIR%%/server/etc/hobbitlaunch.cfg-dist; then rm -f %D/%%WWWDIR%%/server/etc/hobbitlaunch.cfg; fi -@unexec if cmp -s %D/%%WWWDIR%%/server/etc/hobbitserver.cfg %D/%%WWWDIR%%/server/etc/hobbitserver.cfg-dist; then rm -f %D/%%WWWDIR%%/server/etc/hobbitserver.cfg; fi -%%WWWDIR%%/server/etc/bb-hosts-dist -@exec [ ! -f %B/bb-hosts ] && cp %B/%f %B/bb-hosts -%%WWWDIR%%/server/etc/bb-services-dist -@exec [ ! -f %B/bb-services ] && cp %B/%f %B/bb-services -%%WWWDIR%%/server/etc/bbcombotest.cfg-dist -@exec [ ! -f %B/bbcombotest.cfg ] && cp %B/%f %B/bbcombotest.cfg -%%WWWDIR%%/server/etc/client-local.cfg-dist -@exec [ ! -f %B/client-local.cfg ] && cp %B/%f %B/client-local.cfg -%%WWWDIR%%/server/etc/columndoc.csv-dist -@exec [ ! -f %B/columndoc.cfg ] && cp %B/%f %B/columndoc.cfg -%%WWWDIR%%/server/etc/hobbit-alerts.cfg-dist -@exec [ ! -f %B/hobbit-alerts.cfg ] && cp %B/%f %B/hobbit-alerts.cfg -%%WWWDIR%%/server/etc/hobbit-apache.conf-dist -@exec [ ! -f %B/hobbit-apache.cfg ] && cp %B/%f %B/hobbit-apache.cfg -%%WWWDIR%%/server/etc/hobbit-clients.cfg-dist -@exec [ ! -f %B/hobbit-clients.cfg ] && cp %B/%f %B/hobbit-clients.cfg -@unexec if test ! -s %D/%%WWWDIR%%/server/etc/hobbit-nkview.cfg; then rm -f %D/%%WWWDIR%%/server/etc/hobbit-nkview.cfg; fi -@unexec if test ! -s %D/%%WWWDIR%%/server/etc/hobbit-nkview.cfg.bak; then rm -f %D/%%WWWDIR%%/server/etc/hobbit-nkview.cfg.bak; fi -@exec touch %D/%%WWWDIR%%/server/etc/hobbit-nkview.cfg %D/%%WWWDIR%%/server/etc/hobbit-nkview.cfg.bak -@exec chown %%BBUSER%% %D/%%WWWDIR%%/server/etc/hobbit-nkview.cfg %D/%%WWWDIR%%/server/etc/hobbit-nkview.cfg.bak -%%WWWDIR%%/server/etc/hobbitcgi.cfg-dist -@exec [ ! -f %B/hobbitcgi.cfg ] && cp %B/%f %B/hobbitcgi.cfg -%%WWWDIR%%/server/etc/hobbitgraph.cfg-dist -@exec [ ! -f %B/hobbitgraph.cfg ] && cp %B/%f %B/hobbitgraph.cfg -%%WWWDIR%%/server/etc/hobbitlaunch.cfg-dist -@exec [ ! -f %B/hobbitlaunch.cfg ] && cp %B/%f %B/hobbitlaunch.cfg -%%WWWDIR%%/server/etc/hobbitserver.cfg-dist -@exec [ ! -f %B/hobbitserver.cfg ] && cp %B/%f %B/hobbitserver.cfg -%%WWWDIR%%/server/ext/bbretest-net.sh -%%WWWDIR%%/server/hobbit.sh -%%WWWDIR%%/server/web/acknowledge_footer -%%WWWDIR%%/server/web/acknowledge_form -%%WWWDIR%%/server/web/acknowledge_header -%%WWWDIR%%/server/web/bb2_footer -%%WWWDIR%%/server/web/bb2_header -%%WWWDIR%%/server/web/bb_footer -%%WWWDIR%%/server/web/bb_header -%%WWWDIR%%/server/web/bbnk_footer -%%WWWDIR%%/server/web/bbnk_header -%%WWWDIR%%/server/web/bbrep_footer -%%WWWDIR%%/server/web/bbrep_header -%%WWWDIR%%/server/web/bbsnap2_footer -%%WWWDIR%%/server/web/bbsnap2_header -%%WWWDIR%%/server/web/bbsnap_footer -%%WWWDIR%%/server/web/bbsnap_header -%%WWWDIR%%/server/web/bbsnapnk_footer -%%WWWDIR%%/server/web/bbsnapnk_header -%%WWWDIR%%/server/web/columndoc_footer -%%WWWDIR%%/server/web/columndoc_header -%%WWWDIR%%/server/web/confreport_back -%%WWWDIR%%/server/web/confreport_footer -%%WWWDIR%%/server/web/confreport_front -%%WWWDIR%%/server/web/confreport_header -%%WWWDIR%%/server/web/event_footer -%%WWWDIR%%/server/web/event_form -%%WWWDIR%%/server/web/event_header -%%WWWDIR%%/server/web/findhost_footer -%%WWWDIR%%/server/web/findhost_form -%%WWWDIR%%/server/web/findhost_header -%%WWWDIR%%/server/web/ghosts_footer -%%WWWDIR%%/server/web/ghosts_header -%%WWWDIR%%/server/web/graphs_footer -%%WWWDIR%%/server/web/graphs_header -%%WWWDIR%%/server/web/hist_footer -%%WWWDIR%%/server/web/hist_header -%%WWWDIR%%/server/web/histlog_footer -%%WWWDIR%%/server/web/histlog_header -%%WWWDIR%%/server/web/hobbitnk_footer -%%WWWDIR%%/server/web/hobbitnk_header -%%WWWDIR%%/server/web/hostgraphs_footer -%%WWWDIR%%/server/web/hostgraphs_form -%%WWWDIR%%/server/web/hostgraphs_header -%%WWWDIR%%/server/web/hostsvc_footer -%%WWWDIR%%/server/web/hostsvc_header -%%WWWDIR%%/server/web/info_footer -%%WWWDIR%%/server/web/info_header -%%WWWDIR%%/server/web/maint_footer -%%WWWDIR%%/server/web/maint_form -%%WWWDIR%%/server/web/maint_header -%%WWWDIR%%/server/web/maintact_footer -%%WWWDIR%%/server/web/maintact_header -%%WWWDIR%%/server/web/nkack_form -%%WWWDIR%%/server/web/nkedit_footer -%%WWWDIR%%/server/web/nkedit_form -%%WWWDIR%%/server/web/nkedit_header -%%WWWDIR%%/server/web/replog_footer -%%WWWDIR%%/server/web/replog_header -%%WWWDIR%%/server/web/report_footer -%%WWWDIR%%/server/web/report_form -%%WWWDIR%%/server/web/report_form_daily -%%WWWDIR%%/server/web/report_form_monthly -%%WWWDIR%%/server/web/report_form_weekly -%%WWWDIR%%/server/web/report_header -%%WWWDIR%%/server/web/snapshot_footer -%%WWWDIR%%/server/web/snapshot_form -%%WWWDIR%%/server/web/snapshot_header -%%WWWDIR%%/server/web/zoom.js -%%WWWDIR%%/server/www/gifs/README -%%WWWDIR%%/server/www/gifs/arrow.gif -%%WWWDIR%%/server/www/gifs/bkg-blue.gif -%%WWWDIR%%/server/www/gifs/bkg-clear.gif -%%WWWDIR%%/server/www/gifs/bkg-green.gif -%%WWWDIR%%/server/www/gifs/bkg-purple.gif -%%WWWDIR%%/server/www/gifs/bkg-red.gif -%%WWWDIR%%/server/www/gifs/bkg-yellow.gif -%%WWWDIR%%/server/www/gifs/blue-ack.gif -%%WWWDIR%%/server/www/gifs/blue-recent.gif -%%WWWDIR%%/server/www/gifs/blue.gif -%%WWWDIR%%/server/www/gifs/clear-recent.gif -%%WWWDIR%%/server/www/gifs/clear.gif -%%WWWDIR%%/server/www/gifs/favicon-blue.ico -%%WWWDIR%%/server/www/gifs/favicon-clear.ico -%%WWWDIR%%/server/www/gifs/favicon-green.ico -%%WWWDIR%%/server/www/gifs/favicon-purple.ico -%%WWWDIR%%/server/www/gifs/favicon-red.ico -%%WWWDIR%%/server/www/gifs/favicon-unknown.ico -%%WWWDIR%%/server/www/gifs/favicon-yellow.ico -%%WWWDIR%%/server/www/gifs/green-recent.gif -%%WWWDIR%%/server/www/gifs/green.gif -%%WWWDIR%%/server/www/gifs/purple-ack.gif -%%WWWDIR%%/server/www/gifs/purple-recent.gif -%%WWWDIR%%/server/www/gifs/purple.gif -%%WWWDIR%%/server/www/gifs/red-ack.gif -%%WWWDIR%%/server/www/gifs/red-recent.gif -%%WWWDIR%%/server/www/gifs/red.gif -%%WWWDIR%%/server/www/gifs/unknown-recent.gif -%%WWWDIR%%/server/www/gifs/unknown.gif -%%WWWDIR%%/server/www/gifs/yellow-ack.gif -%%WWWDIR%%/server/www/gifs/yellow-recent.gif -%%WWWDIR%%/server/www/gifs/yellow.gif -%%WWWDIR%%/server/www/gifs/zoom.gif -%%WWWDIR%%/server/www/help/about.html -%%WWWDIR%%/server/www/help/bb-to-hobbit.html -%%WWWDIR%%/server/www/help/clonewarn.jpg -%%WWWDIR%%/server/www/help/configure.txt -%%WWWDIR%%/server/www/help/criticalsystems.html -%%WWWDIR%%/server/www/help/critview-detail-acked.jpg -%%WWWDIR%%/server/www/help/critview-detail-ackform.jpg -%%WWWDIR%%/server/www/help/critview-detail.jpg -%%WWWDIR%%/server/www/help/critview-disk.jpg -%%WWWDIR%%/server/www/help/critview-green.jpg -%%WWWDIR%%/server/www/help/editor-clonemaster.jpg -%%WWWDIR%%/server/www/help/editor-diskchanged.jpg -%%WWWDIR%%/server/www/help/editor-disksetup.jpg -%%WWWDIR%%/server/www/help/editor-main.jpg -%%WWWDIR%%/server/www/help/editor-makeclone.jpg -%%WWWDIR%%/server/www/help/editor-nohost.jpg -%%WWWDIR%%/server/www/help/editor-showclone.jpg -%%WWWDIR%%/server/www/help/hobbit-alerts.html -%%WWWDIR%%/server/www/help/hobbit-apacheconf.txt -%%WWWDIR%%/server/www/help/hobbit-bbhosts.png -%%WWWDIR%%/server/www/help/hobbit-clients.png -%%WWWDIR%%/server/www/help/hobbit-config.html -%%WWWDIR%%/server/www/help/hobbit-mrtg.html -%%WWWDIR%%/server/www/help/hobbit-tips.html -%%WWWDIR%%/server/www/help/hobbitmain.png -%%WWWDIR%%/server/www/help/hobbitprocs.png -%%WWWDIR%%/server/www/help/howtograph.html -%%WWWDIR%%/server/www/help/install.html -%%WWWDIR%%/server/www/help/known-issues.html -%%WWWDIR%%/server/www/help/mainview-acked.jpg -%%WWWDIR%%/server/www/help/mainview.jpg -%%WWWDIR%%/server/www/help/manpages/index.html -%%WWWDIR%%/server/www/help/manpages/man1/bb-ack.cgi.1.html -%%WWWDIR%%/server/www/help/manpages/man1/bb-csvinfo.cgi.1.html -%%WWWDIR%%/server/www/help/manpages/man1/bb-datepage.cgi.1.html -%%WWWDIR%%/server/www/help/manpages/man1/bb-eventlog.cgi.1.html -%%WWWDIR%%/server/www/help/manpages/man1/bb-findhost.cgi.1.html -%%WWWDIR%%/server/www/help/manpages/man1/bb-hist.cgi.1.html -%%WWWDIR%%/server/www/help/manpages/man1/bb-rep.cgi.1.html -%%WWWDIR%%/server/www/help/manpages/man1/bb-replog.cgi.1.html -%%WWWDIR%%/server/www/help/manpages/man1/bb-snapshot.cgi.1.html -%%WWWDIR%%/server/www/help/manpages/man1/bb-webpage.1.html -%%WWWDIR%%/server/www/help/manpages/man1/bb.1.html -%%WWWDIR%%/server/www/help/manpages/man1/bbcmd.1.html -%%WWWDIR%%/server/www/help/manpages/man1/bbcombotest.1.html -%%WWWDIR%%/server/www/help/manpages/man1/bbdigest.1.html -%%WWWDIR%%/server/www/help/manpages/man1/bbgen.1.html -%%WWWDIR%%/server/www/help/manpages/man1/bbhostgrep.1.html -%%WWWDIR%%/server/www/help/manpages/man1/bbhostshow.1.html -%%WWWDIR%%/server/www/help/manpages/man1/bbretest-net.sh.1.html -%%WWWDIR%%/server/www/help/manpages/man1/bbtest-net.1.html -%%WWWDIR%%/server/www/help/manpages/man1/clientupdate.1.html -%%WWWDIR%%/server/www/help/manpages/man1/hobbit-ackinfo.cgi.1.html -%%WWWDIR%%/server/www/help/manpages/man1/hobbit-confreport.cgi.1.html -%%WWWDIR%%/server/www/help/manpages/man1/hobbit-ghosts.cgi.1.html -%%WWWDIR%%/server/www/help/manpages/man1/hobbit-hostgraphs.cgi.1.html -%%WWWDIR%%/server/www/help/manpages/man1/hobbit-nkedit.cgi.1.html -%%WWWDIR%%/server/www/help/manpages/man1/hobbit-nkview.cgi.1.html -%%WWWDIR%%/server/www/help/manpages/man1/hobbit-statusreport.cgi.1.html -%%WWWDIR%%/server/www/help/manpages/man1/hobbitgraph.cgi.1.html -%%WWWDIR%%/server/www/help/manpages/man1/hobbitping.1.html -%%WWWDIR%%/server/www/help/manpages/man1/hobbitsvc.cgi.1.html -%%WWWDIR%%/server/www/help/manpages/man1/logfetch.1.html -%%WWWDIR%%/server/www/help/manpages/man1/orcahobbit.1.html -%%WWWDIR%%/server/www/help/manpages/man5/bb-hosts.5.html -%%WWWDIR%%/server/www/help/manpages/man5/bb-services.5.html -%%WWWDIR%%/server/www/help/manpages/man5/bbcombotest.cfg.5.html -%%WWWDIR%%/server/www/help/manpages/man5/client-local.cfg.5.html -%%WWWDIR%%/server/www/help/manpages/man5/clientlaunch.cfg.5.html -%%WWWDIR%%/server/www/help/manpages/man5/hobbit-alerts.cfg.5.html -%%WWWDIR%%/server/www/help/manpages/man5/hobbit-clients.cfg.5.html -%%WWWDIR%%/server/www/help/manpages/man5/hobbit-nkview.cfg.5.html -%%WWWDIR%%/server/www/help/manpages/man5/hobbitcgi.cfg.5.html -%%WWWDIR%%/server/www/help/manpages/man5/hobbitclient.cfg.5.html -%%WWWDIR%%/server/www/help/manpages/man5/hobbitgraph.cfg.5.html -%%WWWDIR%%/server/www/help/manpages/man5/hobbitlaunch.cfg.5.html -%%WWWDIR%%/server/www/help/manpages/man5/hobbitserver.cfg.5.html -%%WWWDIR%%/server/www/help/manpages/man5/hobbitweb.5.html -%%WWWDIR%%/server/www/help/manpages/man7/hobbit.7.html -%%WWWDIR%%/server/www/help/manpages/man8/bbmessage.cgi.8.html -%%WWWDIR%%/server/www/help/manpages/man8/bbproxy.8.html -%%WWWDIR%%/server/www/help/manpages/man8/hobbit-enadis.cgi.8.html -%%WWWDIR%%/server/www/help/manpages/man8/hobbit-mailack.8.html -%%WWWDIR%%/server/www/help/manpages/man8/hobbitd.8.html -%%WWWDIR%%/server/www/help/manpages/man8/hobbitd_alert.8.html -%%WWWDIR%%/server/www/help/manpages/man8/hobbitd_channel.8.html -%%WWWDIR%%/server/www/help/manpages/man8/hobbitd_client.8.html -%%WWWDIR%%/server/www/help/manpages/man8/hobbitd_filestore.8.html -%%WWWDIR%%/server/www/help/manpages/man8/hobbitd_history.8.html -%%WWWDIR%%/server/www/help/manpages/man8/hobbitd_hostdata.8.html -%%WWWDIR%%/server/www/help/manpages/man8/hobbitd_rrd.8.html -%%WWWDIR%%/server/www/help/manpages/man8/hobbitd_sample.8.html -%%WWWDIR%%/server/www/help/manpages/man8/hobbitfetch.8.html -%%WWWDIR%%/server/www/help/manpages/man8/hobbitlaunch.8.html -%%WWWDIR%%/server/www/help/manpages/man8/msgcache.8.html -%%WWWDIR%%/server/www/help/manpages/man8/trimhistory.8.html -%%WWWDIR%%/server/www/help/stdview-detail-acked.jpg -%%WWWDIR%%/server/www/menu/README -%%WWWDIR%%/server/www/menu/menu.css -%%WWWDIR%%/server/www/menu/menu.js -%%WWWDIR%%/server/www/menu/menu_items.js -%%WWWDIR%%/server/www/menu/menu_tpl.js -@exec mkdir %D/%%WWWDIR%%/data -@exec mkdir %D/%%WWWDIR%%/data/acks -@exec mkdir %D/%%WWWDIR%%/data/data -@exec mkdir %D/%%WWWDIR%%/data/disabled -@exec mkdir %D/%%WWWDIR%%/data/hist -@exec mkdir %D/%%WWWDIR%%/data/histlogs -@exec mkdir %D/%%WWWDIR%%/data/hostdata -@exec mkdir %D/%%WWWDIR%%/data/logs -@exec mkdir %D/%%WWWDIR%%/data/rrd -@exec mkdir %D/%%WWWDIR%%/server/download -@exec mkdir %D/%%WWWDIR%%/server/tmp -@exec mkdir %D/%%WWWDIR%%/server/www/html -@exec mkdir %D/%%WWWDIR%%/server/www/notes -@exec mkdir %D/%%WWWDIR%%/server/www/rep -@exec mkdir %D/%%WWWDIR%%/server/www/snap -@exec mkdir %D/%%WWWDIR%%/server/www/wml -@exec chown %%BBUSER%% %D/%%WWWDIR%%/data -@exec chown %%BBUSER%% %D/%%WWWDIR%%/data/acks -@exec chown %%BBUSER%% %D/%%WWWDIR%%/data/data -@exec chown %%BBUSER%% %D/%%WWWDIR%%/data/disabled -@exec chown %%BBUSER%% %D/%%WWWDIR%%/data/hist -@exec chown %%BBUSER%% %D/%%WWWDIR%%/data/histlogs -@exec chown %%BBUSER%% %D/%%WWWDIR%%/data/hostdata -@exec chown %%BBUSER%% %D/%%WWWDIR%%/data/logs -@exec chown %%BBUSER%% %D/%%WWWDIR%%/data/rrd -@exec chown %%BBUSER%% %D/%%WWWDIR%%/server/download -@exec chown %%BBUSER%% %D/%%WWWDIR%%/server/tmp -@exec chown %%BBUSER%% %D/%%WWWDIR%%/server/www/html -@exec chown %%BBUSER%% %D/%%WWWDIR%%/server/www/notes -@exec chown %%BBUSER%% %D/%%WWWDIR%%/server/www/rep -@exec chown %%BBUSER%% %D/%%WWWDIR%%/server/www/snap -@exec chown %%BBUSER%% %D/%%WWWDIR%%/server/www/wml -@dirrm %%WWWDIR%%/server/www/wml -@dirrm %%WWWDIR%%/server/www/snap -@dirrm %%WWWDIR%%/server/www/rep -@dirrm %%WWWDIR%%/server/www/notes -@dirrm %%WWWDIR%%/server/www/menu -@dirrm %%WWWDIR%%/server/www/html -@dirrm %%WWWDIR%%/server/www/help/manpages/man8 -@dirrm %%WWWDIR%%/server/www/help/manpages/man7 -@dirrm %%WWWDIR%%/server/www/help/manpages/man5 -@dirrm %%WWWDIR%%/server/www/help/manpages/man1 -@dirrm %%WWWDIR%%/server/www/help/manpages -@dirrm %%WWWDIR%%/server/www/help -@dirrm %%WWWDIR%%/server/www/gifs -@dirrm %%WWWDIR%%/server/www -@dirrm %%WWWDIR%%/server/web -@dirrm %%WWWDIR%%/server/tmp -@dirrm %%WWWDIR%%/server/ext -@dirrm %%WWWDIR%%/server/etc -@dirrm %%WWWDIR%%/server/download -@dirrm %%WWWDIR%%/server/bin -@dirrm %%WWWDIR%%/server -@dirrm %%WWWDIR%%/data/rrd -@dirrm %%WWWDIR%%/data/logs -@dirrm %%WWWDIR%%/data/hostdata -@dirrm %%WWWDIR%%/data/histlogs -@dirrm %%WWWDIR%%/data/hist -@dirrm %%WWWDIR%%/data/disabled -@dirrm %%WWWDIR%%/data/data -@dirrm %%WWWDIR%%/data/acks -@dirrm %%WWWDIR%%/data -@dirrm %%WWWDIR%%/cgi-secure -@dirrm %%WWWDIR%%/cgi-bin -@dirrmtry %%WWWDIR%% -@exec mkdir -p %%VARBASE%%/log/hobbit -@exec chown %%BBUSER%% %%VARBASE%%/log/hobbit -@cwd %%VARBASE%% -@dirrmtry log/hobbit |