Hobbit directory structure
Frank M. Ramaekers
FRamaekers at ailife.com
Wed Dec 19 16:48:00 CET 2007
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.
More information about the Xymon
mailing list