From: Buchan M. <bg...@st...> - 2010-02-10 16:37:06
|
On Tuesday, 9 February 2010 21:10:32 wis...@ho... wrote: > Buchan; > > This looks even easier than I had anticipated, thanks for saving me from > first installing MRTG. > > Just a few questions, hopefully you won't mind too much: > > 1. I do not have, nor am I able to find, optipng. Can I simply replace it > (within the perl script) with pngcrush? If now, where and how do I > install optipng from? > > 2. Within the weathermap.conf, BB is defined There is no BB in weathermap.conf. If you mean in the weathermap script, if the script is run by xymon (or, in a xymon shell environment, e.g. under bbcmd), the environment variable from the xymon environment is used. So ... this shouldn't matter. Did you actually have a problem here? > as the bb that lives in the > ~xymon/client and not the ~xymon/server directory, was this an oversight? > Does it matter? This could be run anywhere, my packages for xymon have the server require the client, and no binaries are duplicated (which violates packaging standards), so the best place to find bb is under the client directory ... > 3. I've added weathermap to my hobbitlaunch.cfg as follows: > > [weathermap] > ENVFILE $BBHOME/etc/hobbitserver.cfg > CMD $BBHOME/ext/weathermap > LOGFILE $BBSERVERLOGS/weathermap.log > INTERVAL 1m > > Looks OK? > > 4. What is ICONDIR? Is it the same as the weathermap/images directory? I > have mine set as: > > $ICONDIR = "$ENV{'BBHOME'}/etc/weathermap"; Whereever you have the images referred to in your weathermap config files with the ICON statements. > Yet, I have no such directory or file. Should I create one? Copy the images directory from the source tarball there? Regards, Buchan |