Weathermap 0.9pre1 - TEST RELEASE - READ THE POST!
Moderators: Developers, Moderators
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Weathermap 0.9pre1 - TEST RELEASE - READ THE POST!
This is the first release candidate for PHP Weathermap 0.9
Unlike previous versions, there have been two stages to the development/testing process this time around.
There have been 'early test' versions around since October 2006, and development since March 2006. This is *in theory* a 'finished' version now.
The full change list is quite big, so it's now a web page. It's in the manual too, but you can see it here:
http://www.network-weathermap.com/docs/0.9/changes
The manual is also online in it's current form:
http://www.network-weathermap.com/manual/0.9/
HOWEVER, if you have never used Weathermap before, please don't use this as your first version. At this stage, I'd like to focus on release-specific problems, rather than supporting new users. Please stick with 0.82 for a week or so longer. Equally, please be aware that there *might* still be issues in this version that I haven't seen in my testing and that no-one else has reported. Having said that, I've been using my own dev versions on my employer's live service for at least 6 months now, with only a few hiccups.
The only issues I know of are documentation - the TARGET section needs updating still, as does the Cacti plugin section. None of it is wrong, but both sections need expanding.
The all-important link: http://www.network-weathermap.com/files ... .9pre1.zip
Unlike previous versions, there have been two stages to the development/testing process this time around.
There have been 'early test' versions around since October 2006, and development since March 2006. This is *in theory* a 'finished' version now.
The full change list is quite big, so it's now a web page. It's in the manual too, but you can see it here:
http://www.network-weathermap.com/docs/0.9/changes
The manual is also online in it's current form:
http://www.network-weathermap.com/manual/0.9/
HOWEVER, if you have never used Weathermap before, please don't use this as your first version. At this stage, I'd like to focus on release-specific problems, rather than supporting new users. Please stick with 0.82 for a week or so longer. Equally, please be aware that there *might* still be issues in this version that I haven't seen in my testing and that no-one else has reported. Having said that, I've been using my own dev versions on my employer's live service for at least 6 months now, with only a few hiccups.
The only issues I know of are documentation - the TARGET section needs updating still, as does the Cacti plugin section. None of it is wrong, but both sections need expanding.
The all-important link: http://www.network-weathermap.com/files ... .9pre1.zip
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Lets try it....
Keep you informed...
after selecting a map to edit
Warning: opendir(lib/post): failed to open dir: No such file or directory in /var/www/html/plugins/weathermap/Weathermap.class.php on line 2596
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: after selecting a map to edit
If that directory doesn't exist, it looks like you didn't copy everything into your weathermap directory, because it does exist in the zip fileeternal wrote:Warning: opendir(lib/post): failed to open dir: No such file or directory in /var/www/html/plugins/weathermap/Weathermap.class.php on line 2596
You do need to copy ALL of the zip contents.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Its there
[root@mints lib]# ls -la /var/www/html/plugins/weathermap/lib/
total 32
drwxr-xr-x 5 apache apache 4096 Mar 12 07:30 .
drwxr-xr-x 8 apache apache 4096 Mar 15 09:45 ..
drwxr-xr-x 2 apache apache 4096 Mar 12 07:30 datasources
-rw-r--r-- 1 apache apache 4539 Mar 6 03:28 poller-common.php
drwxr-xr-x 2 apache apache 4096 Mar 12 07:30 post
drwxr-xr-x 2 apache apache 4096 Mar 15 09:44 pre
I just unzipped to the plugins dir and overwrote all. I didn't unzip and copy there
[root@mints lib]# ls -la /var/www/html/plugins/weathermap/lib/
total 32
drwxr-xr-x 5 apache apache 4096 Mar 12 07:30 .
drwxr-xr-x 8 apache apache 4096 Mar 15 09:45 ..
drwxr-xr-x 2 apache apache 4096 Mar 12 07:30 datasources
-rw-r--r-- 1 apache apache 4539 Mar 6 03:28 poller-common.php
drwxr-xr-x 2 apache apache 4096 Mar 12 07:30 post
drwxr-xr-x 2 apache apache 4096 Mar 15 09:44 pre
I just unzipped to the plugins dir and overwrote all. I didn't unzip and copy there
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Your error said post, not pre. Does that exist?eternal wrote:Its there
[root@mints weathermap]# cd lib/pre/
[root@mints pre]# ls
WeatherMapPreProcessorTest.php
[root@mints pre]# ls -la /var/www/html/plugins/weathermap/lib/pre/
(hey, editing is cheating )
Actually, I'll make these two directories optional, because they aren't used yet, but they should exist as part of the zip file. They do on my copy anyway
You don't get the same problem with the datasource plugins? How about using the command-line version(./weathermap)?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Sorry Its a bit early for me.
I get a err for all dirs in lib. Was searching for the error didn't realize i didn't copy all when posting
Warning: opendir(lib/datasources): failed to open dir: No such file or directory in /var/www/html/plugins/weathermap/Weathermap.class.php on line 2596
Warning: opendir(lib/pre): failed to open dir: No such file or directory in /var/www/html/plugins/weathermap/Weathermap.class.php on line 2596
Warning: opendir(lib/post): failed to open dir: No such file or directory in /var/www/html/plugins/weathermap/Weathermap.class.php on line 2596
[root@mints weathermap]# ls -la /var/www/html/plugins/weathermap/lib/
total 32
drwxr-xr-x 5 apache apache 4096 Mar 12 07:30 .
drwxr-xr-x 8 apache apache 4096 Mar 15 09:49 ..
drwxr-xr-x 2 apache apache 4096 Mar 12 07:30 datasources
-rw-r--r-- 1 apache apache 4539 Mar 6 03:28 poller-common.php
drwxr-xr-x 2 apache apache 4096 Mar 12 07:30 post
drwxr-xr-x 2 apache apache 4096 Mar 15 09:44 pre
I get a err for all dirs in lib. Was searching for the error didn't realize i didn't copy all when posting
Warning: opendir(lib/datasources): failed to open dir: No such file or directory in /var/www/html/plugins/weathermap/Weathermap.class.php on line 2596
Warning: opendir(lib/pre): failed to open dir: No such file or directory in /var/www/html/plugins/weathermap/Weathermap.class.php on line 2596
Warning: opendir(lib/post): failed to open dir: No such file or directory in /var/www/html/plugins/weathermap/Weathermap.class.php on line 2596
[root@mints weathermap]# ls -la /var/www/html/plugins/weathermap/lib/
total 32
drwxr-xr-x 5 apache apache 4096 Mar 12 07:30 .
drwxr-xr-x 8 apache apache 4096 Mar 15 09:49 ..
drwxr-xr-x 2 apache apache 4096 Mar 12 07:30 datasources
-rw-r--r-- 1 apache apache 4539 Mar 6 03:28 poller-common.php
drwxr-xr-x 2 apache apache 4096 Mar 12 07:30 post
drwxr-xr-x 2 apache apache 4096 Mar 15 09:44 pre
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Hmmm. OK. Could you add in a line for me?
In Weathermap.class.php, can you add a line before 2596:
warn("PWD is ".getcwd()."\n");
and see what the output says? (it should be the path to the weathermap directory.
Also, can you confirm whether you're seeing this in the cacti logs, or the Recalc Now output or from the command line? (or all?)
In Weathermap.class.php, can you add a line before 2596:
warn("PWD is ".getcwd()."\n");
and see what the output says? (it should be the path to the weathermap directory.
Also, can you confirm whether you're seeing this in the cacti logs, or the Recalc Now output or from the command line? (or all?)
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
full apache log
Dosent show up in cacti log
[client ] PHP Warning: opendir(lib/datasources): failed to open dir: No such file or directory in /var/www/html/plugins/weathermap/Weathermap.class.php on line 2597, referer: http://replace.url.com/plugins/weathermap/editor.php
Couldn't open data Plugin directory (lib/datasources). Things will probably go wrong.
PWD is /var/www/html
[client ] PHP Warning: opendir(lib/pre): failed to open dir: No such file or directory in /var/www/html/plugins/weathermap/Weathermap.class.php on line 2597, referer: http://replace.url.com/plugins/weathermap/editor.php
Couldn't open pre Plugin directory (lib/pre). Things will probably go wrong.
PWD is /var/www/html
[client ] PHP Warning: opendir(lib/post): failed to open dir: No such file or directory in /var/www/html/plugins/weathermap/Weathermap.class.php on line 2597, referer: http://replace.url.com/plugins/weathermap/editor.php
Couldn't open post Plugin directory (lib/post). Things will probably go wrong.
PWD is /var/www/html
[client ] PHP Warning: opendir(lib/datasources): failed to open dir: No such file or directory in /var/www/html/plugins/weathermap/Weathermap.class.php on line 2597, referer: http://replace.url.com/plugins/weatherm ... imple.conf
Couldn't open data Plugin directory (lib/datasources). Things will probably go wrong.
PWD is /var/www/html
[client ] PHP Warning: opendir(lib/pre): failed to open dir: No such file or directory in /var/www/html/plugins/weathermap/Weathermap.class.php on line 2597, referer: http://replace.url.com/plugins/weatherm ... imple.conf
Couldn't open pre Plugin directory (lib/pre). Things will probably go wrong.
PWD is /var/www/html
[client ] PHP Warning: opendir(lib/post): failed to open dir: No such file or directory in /var/www/html/plugins/weathermap/Weathermap.class.php on line 2597, referer: http://replace.url.com/plugins/weatherm ... imple.conf
Couldn't open post Plugin directory (lib/post). Things will probably go wrong.
[client ] PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/plugins/weathermap/Weathermap.class.php:2597) in /var/www/html/plugins/weathermap/editor.php on line 67, referer: http://replace.url.com/plugins/weatherm ... imple.conf
PWD is /var/www/html
[client ] PHP Warning: opendir(lib/datasources): failed to open dir: No such file or directory in /var/www/html/plugins/weathermap/Weathermap.class.php on line 2597, referer: http://replace.url.com/plugins/weatherm ... imple.conf
Couldn't open data Plugin directory (lib/datasources). Things will probably go wrong.
PWD is /var/www/html
[client ] PHP Warning: opendir(lib/pre): failed to open dir: No such file or directory in /var/www/html/plugins/weathermap/Weathermap.class.php on line 2597, referer: http://replace.url.com/plugins/weatherm ... imple.conf
Couldn't open pre Plugin directory (lib/pre). Things will probably go wrong.
PWD is /var/www/html
[client ] PHP Warning: opendir(lib/post): failed to open dir: No such file or directory in /var/www/html/plugins/weathermap/Weathermap.class.php on line 2597, referer: http://replace.url.com/plugins/weatherm ... imple.conf
Couldn't open post Plugin directory (lib/post). Things will probably go wrong.
[client ] PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/plugins/weathermap/Weathermap.class.php:2597) in /var/www/html/plugins/weathermap/editor.php on line 48, referer: http://replace.url.com/plugins/weatherm ... imple.conf
[client ] PHP Warning: opendir(lib/datasources): failed to open dir: No such file or directory in /var/www/html/plugins/weathermap/Weathermap.class.php on line 2597, referer: http://replace.url.com/plugins/weathermap/editor.php
Couldn't open data Plugin directory (lib/datasources). Things will probably go wrong.
PWD is /var/www/html
[client ] PHP Warning: opendir(lib/pre): failed to open dir: No such file or directory in /var/www/html/plugins/weathermap/Weathermap.class.php on line 2597, referer: http://replace.url.com/plugins/weathermap/editor.php
Couldn't open pre Plugin directory (lib/pre). Things will probably go wrong.
PWD is /var/www/html
[client ] PHP Warning: opendir(lib/post): failed to open dir: No such file or directory in /var/www/html/plugins/weathermap/Weathermap.class.php on line 2597, referer: http://replace.url.com/plugins/weathermap/editor.php
Couldn't open post Plugin directory (lib/post). Things will probably go wrong.
PWD is /var/www/html
[client ] PHP Warning: opendir(lib/datasources): failed to open dir: No such file or directory in /var/www/html/plugins/weathermap/Weathermap.class.php on line 2597, referer: http://replace.url.com/plugins/weatherm ... imple.conf
Couldn't open data Plugin directory (lib/datasources). Things will probably go wrong.
PWD is /var/www/html
[client ] PHP Warning: opendir(lib/pre): failed to open dir: No such file or directory in /var/www/html/plugins/weathermap/Weathermap.class.php on line 2597, referer: http://replace.url.com/plugins/weatherm ... imple.conf
Couldn't open pre Plugin directory (lib/pre). Things will probably go wrong.
PWD is /var/www/html
[client ] PHP Warning: opendir(lib/post): failed to open dir: No such file or directory in /var/www/html/plugins/weathermap/Weathermap.class.php on line 2597, referer: http://replace.url.com/plugins/weatherm ... imple.conf
Couldn't open post Plugin directory (lib/post). Things will probably go wrong.
[client ] PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/plugins/weathermap/Weathermap.class.php:2597) in /var/www/html/plugins/weathermap/editor.php on line 67, referer: http://replace.url.com/plugins/weatherm ... imple.conf
PWD is /var/www/html
[client ] PHP Warning: opendir(lib/datasources): failed to open dir: No such file or directory in /var/www/html/plugins/weathermap/Weathermap.class.php on line 2597, referer: http://replace.url.com/plugins/weatherm ... imple.conf
Couldn't open data Plugin directory (lib/datasources). Things will probably go wrong.
PWD is /var/www/html
[client ] PHP Warning: opendir(lib/pre): failed to open dir: No such file or directory in /var/www/html/plugins/weathermap/Weathermap.class.php on line 2597, referer: http://replace.url.com/plugins/weatherm ... imple.conf
Couldn't open pre Plugin directory (lib/pre). Things will probably go wrong.
PWD is /var/www/html
[client ] PHP Warning: opendir(lib/post): failed to open dir: No such file or directory in /var/www/html/plugins/weathermap/Weathermap.class.php on line 2597, referer: http://replace.url.com/plugins/weatherm ... imple.conf
Couldn't open post Plugin directory (lib/post). Things will probably go wrong.
[client ] PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/plugins/weathermap/Weathermap.class.php:2597) in /var/www/html/plugins/weathermap/editor.php on line 48, referer: http://replace.url.com/plugins/weatherm ... imple.conf
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: full apache log
Does this only happen with the editor? (you didn't mention it was the editor!)eternal wrote:Dosent show up in cacti log
I mean, if you put the example map into the configs directry, and it in the Weathermaps management page, does that get generated properly?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
In that case, can you try adding the followig to the end of the editor-config.php file? (just before the ?> )eternal wrote:YEa sorry only when trying to edit a map. Pre existing maps work fine. Or creating one
Code: Select all
chdir(dirname(__FILE__));
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Cool. pre2 will have that fix.eternal wrote:Got it
thanks
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
- streaker69
- Cacti Pro User
- Posts: 712
- Joined: Mon Mar 27, 2006 10:35 am
- Location: Psychic Amish Network Administrator
Howie, I just got around to installing this today. One good thing that I noticed is the map seems to render faster in both the editor and Cacti, not sure if I'm going nuts on seeing that or not, but it just seems to.
I have three bugs for you though. The Legend Text does not seem to work properly in the editor. If you put nothing in that line and hit submit you'll get:
Second buggie: In the previous version I didn't have borders around my node labels. I don't recall how I turned them off, but they were off. Now with this version they're back, and I really don't like them.
Third: Map Size apparently doesn't work. I changed mine to 1024x768 and it reverted right back to 800x600. Map appears to be ok, and the correct size, but it just doesn't seem to keep it set.
I'll let you know if I find anymore, keep up the good work, everything else looks great on it so far, head down to the pub for a drink for a job well done so far.
I have three bugs for you though. The Legend Text does not seem to work properly in the editor. If you put nothing in that line and hit submit you'll get:
and it will put "Traffic Load" in the Legend, if you open Map Properties again and hit submit, you'll only see a T appear on the Traffic Legend, even though it shows "Traffic Load" in the box.Notice: Uninitialized string offset: 0 in /var/www/html/plugins/weathermap/Weathermap.class.php on line 4155
Second buggie: In the previous version I didn't have borders around my node labels. I don't recall how I turned them off, but they were off. Now with this version they're back, and I really don't like them.
Third: Map Size apparently doesn't work. I changed mine to 1024x768 and it reverted right back to 800x600. Map appears to be ok, and the correct size, but it just doesn't seem to keep it set.
I'll let you know if I find anymore, keep up the good work, everything else looks great on it so far, head down to the pub for a drink for a job well done so far.
Who is online
Users browsing this forum: No registered users and 4 guests