[hobbit] Hobbit directory structure
Josh Luthman
josh at imaginenetworksllc.com
Wed Dec 19 17:33:50 CET 2007
tar -czf hobbit-bkp-121907.tar.gz /home/hobbit
yum -y remove hobbit
rm -rf /home/hobbit/*
wget http://somethinghere.com/hobbit-4.2.0.tar.gz
tar -xzf hobbit-4*
./configure && make
#As root..
make install
#make sure hobbit-bkp-121907.tar.gz is in ~hobbit
tar -xzf hobbit-bkp-121907.tar.gz
#Done =)
On 12/19/07, Frank M. Ramaekers <FRamaekers at ailife.com> wrote:
>
> That's fine but I still need to incorporate the old settings and data
> into the new setup.
>
>
>
> Thanks,
>
>
>
> Frank M. Ramaekers Jr.
>
>
>
> Systems Programmer
>
> MCP, MCP+I, MCSE & RHCE
>
> American Income Life Insurance Co.
>
> Phone: (254)761-6649
>
> 1200 Wooded Acres Dr.
>
> Fax: (254)741-5777
>
> Waco, Texas 76701
>
>
>
>
>
>
>
>
> ------------------------------
>
> *From:* Josh Luthman [mailto:josh at imaginenetworksllc.com]
> *Sent:* Wednesday, December 19, 2007 9:59 AM
> *To:* hobbit at hswn.dk
> *Subject:* Re: [hobbit] Hobbit directory structure
>
>
>
> Instead of trying to inspect everything one by one I strongly suggest just
> blowing everything away (backing up your ~hobbit dir for recovery later) and
> compiling it.
>
> That's just my opinion =)
>
> On 12/19/07, *Frank M. Ramaekers* <FRamaekers at ailife.com> wrote:
>
> I just installed Hobbit using yum on a new system, unfortunately I
> already had my /home/hobbit structure from the previous system (which
> crashed). Well, it appears that yum installed Hobbit quite differently
> than I had originally installed.
>
> --------------------- Previously ---------------------------
> /home/hobbit/cgi-bin
> /cgi-secure
> /client
> /bin
> /etc
> /ext
> /logs
> /tmp
> /data
> /acks
> /data
> /disabled
> /hist
> /histlogs/(various monitored systems)
> /hostdata
> /logs
> /rrd/(various monitored systems)
> /server
> /bin
> /download
> /etc
> /ext
> /tmp
> /web
> /www
> /gifs
> /help
> /html
> /menu
> /notes
> /rep
> /Servers/(various sub pages)
> /snap
> /wml
> /source
> /snapshot
> /var/log/hobbit
> ---------------------- Now -------------------------
> /etc/hobbit
> /usr/libexec/hobbit/cgi-bin
> /cgi-secure
> /server
> /bin
> /download
> /ext
> /var/lib/hobbit
> /acks
> /data
> /disabled
> /hist
> /histlogs
> /hostdata
> /logs
> /rrd
> /tmp
> /www
> /gifs
> /help
> /html
> /menu
> /notes
> /rep
> /snap
> /wml
> /var/log/hobbit
> ---------------------------------------------------------------
> It appears that I need to:
>
> #----Copy data
> cp -ar /home/hobbit/data/hist/* /var/lib/hobbit/data/hist
> cp -ar /home/hobbit/data/histlogs/* /var/lib/hobbit/data/histlogs
> cp -ar /home/hobbit/data/rrd/* /var/lib/hobbit/data/rrd
> #----Copy configuration
> cp -a /home/hobbit/server/etc/bb-hosts /etc/hobbit
> cp -a /home/hobbit/server/etc/hobbit-alerts.cfg /etc/hobbit
> cp -a /home/hobbit/server/etc/hobbitlaunch.cfg /etc/hobbit
> cp -a /home/hobbit/server/etc/hobbitpasswd /etc/hobbit
> #--->Modify existing instead!
> #--->cp -a /home/hobbit/server/etc/hobbitserver.cfg /etc/hobbit
>
> Still run under user hobbit? If so, what directory structure is needed?
> Anything else I might be missing?
>
>
> Frank M. Ramaekers Jr.
> Systems Programmer MCP, MCP+I, MCSE & RHCE
> American Income Life Insurance Co. Phone: (254)761-6649
> 1200 Wooded Acres Dr. Fax: (254)741-5777
> Waco, Texas 76701
>
>
>
>
>
>
> _____________________________________________________
> This message contains information which is privileged and confidential and
> is solely for the use of the
> intended recipient. If you are not the intended recipient, be aware that
> any review, disclosure,
> copying, distribution, or use of the contents of this message is strictly
> prohibited. If you have
> received this in error, please destroy it immediately and notify us at PrivacyAct at ailife.com
> .
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
>
>
> --
> Josh Luthman
> Office: 937-552-2340
> Direct: 937-552-2343
> 1100 Wayne St
> Suite 1337
> Troy, OH 45373
>
> Those who don't understand UNIX are condemned to reinvent it, poorly.
> --- Henry Spencer
> _____________________________________________________ This message
> contains information which is privileged and confidential and is solely for
> the use of the intended recipient. If you are not the intended recipient, be
> aware that any review, disclosure, copying, distribution, or use of the
> contents of this message is strictly prohibited. If you have received this
> in error, please destroy it immediately and notify us at
> PrivacyAct at ailife.com.
>
--
Josh Luthman
Office: 937-552-2340
Direct: 937-552-2343
1100 Wayne St
Suite 1337
Troy, OH 45373
Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20071219/647db39b/attachment.html>
More information about the Xymon
mailing list