[hobbit] Hobbit directory structure

Josh Luthman josh at imaginenetworksllc.com
Wed Dec 19 16:59:04 CET 2007


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20071219/398a8ab5/attachment.html>


More information about the Xymon mailing list