From: Buchan M. <bg...@st...> - 2008-10-10 16:01:22
|
On Friday 10 October 2008 10:58:44 Buchan Milne wrote: > On Thursday 09 October 2008 22:05:10 Engineering wrote: > > I > > noticed the code you used was from http://netmon.grnet.gr/weathermap/ > > That's the code I started with on Wednesday morning. Yesterday morning I > merged in some of the changes Howie made (available here: > http://wotsit.thingy.com/haj/cacti-weathermap.html). > > > which > > hasn't been updated since February 20th, 2006. Didn't know if you were > > aware of one that is currently being kept up-to-date at > > http://www.network-weathermap.com/. I know that the first one is perl > > and the second one is done in php but the php version seems to have more > > options. > > I will look at adding some of the options, but it won't be possible to have > 100% compatibility (in the config). It may actually be possible to add > features not available in the cacti plugin. > > The features I still need are: > 1)Better arrow placement (VIA keyword in the network-weathermap.com one) > 2)Icon support > > > Don't know if they would make it harder to port or not. > > I suspect support for the VIA keyword is about 10 minutes of work, and Icon > support about 20 minutes ... let's see. I was right mostly ... except that trying to get transparency right for both cases (png file for icon has transparency or not) and trying to get the label and the icon to both display nicely took more time. With this version, put your images in /etc/hobbit/images (or, specifically, the ICON tags should have a path relative to /etc/hobbit). Regards, Buchan |