From: Steve G. <st...@fa...> - 2005-11-26 22:23:38
|
In the last day or so I've been migrating from my old linux server to an amd64 running solaris. I've moved OWW and misterhouse, upgrading revs, and it went pretty smoothly. I had been running mh 2.96 on the linux machine. When I went to solaris I had to upgrade rrd to the latest version, I had been running 1.0.49 of rrdtool and now I'm at 1.2.11. I've found that this newer version of rrd is much pickier about escaping colons in the commands to create the graphs. As a result weather_rrd_update.pl didn't work for me. I'm curious if anyone else is using the current version weather_rrd_update.pl with a newer rrdtool with any success. In any case I have a new version of weather_rrd_update.pl that works for me. I believe it ought to be backwards compatible with earlier versions of rrdtool. I tried replacing the new .pl file on to my old linux system and that didn't work well. There are quite a few differences between the two versions outside of my changes that seem to make it incompatible. I'm looking to find someone that is running mh 2.100 and an older version of rrdtool to try it and see if it is in fact backward compatible. Also there has been some recent discussion of a OWW text version of weather_iB... code. I've had a version of this code that I've been running for quite a while (almost a year) that I've never gotten around to contributing. It works much differently than the one posted recently (by Guy?). Mine is much simpler in that it leaves all the calculations to the OWW side (e.g. wind chill). It also lets the OWW side decide on the choice of units. It expects a text line from OWW that describes the field along with the field data. [ At the moment mh doesn't pay attention to the units fields. ] As a result the code is pretty much configurable via the .ini file. Data doesn't have to be in a particular order on the line and the names OWW uses are converted to mh $Weather names via parameters in the .ini file. I've found this makes it simple to add/remove temperature sensors without having to have the mh code. If someone else would like to try this code I'd be happy to send it to them. -- Steve |