network map
Moderators: Developers, Moderators
-
- Posts: 6
- Joined: Sat Jan 22, 2005 10:02 am
Very impressive,
Are you willing to integrate your version with cacti as a plugin?
it looks like several people are working towards the same end result. Maybe it's better to team up? I will offer my limited program skill's to such a team.
Although weathermap could exist as a seperate program, integrating it with cacti would make sense.
Michael
Are you willing to integrate your version with cacti as a plugin?
it looks like several people are working towards the same end result. Maybe it's better to team up? I will offer my limited program skill's to such a team.
Although weathermap could exist as a seperate program, integrating it with cacti would make sense.
Michael
tried this version and i get the followingweathermap4rrd wrote:Hi,
just to let you know that an editor is available for Weathermap4rrd
even if it's still a beta version
An online demo could be test at :
http://weathermap4rrd.tropicalex.net/demoeditor/
Alex
http://weathermap4rrd.tropicalex.net
Fatal error: Call to undefined function imagefontwidth() in /www/htdocs/cacti/phpwm/config_tool.php on line 153
line 153 is the following
$pix_width[$node]=imagefontwidth($police)*strlen($label[$node]);
any ideas?
-
- Posts: 6
- Joined: Sat Jan 22, 2005 10:02 am
Hi ssams,
it is not useful to set up position of icon if you want to display it at the same position as the label.
You should remove "POSITION 300 200" and use :
NODE idca
LABEL IDC A Router
ICON icon/cisco_small_router.png
I'm talking about Weathermap4rrd version not the howie one.
About your imagefontwidth() error, it is probably because php-gd is not installed or not detected or it is not a recent version.
Alex
http://weathermap4rrd.tropicalex.net
it is not useful to set up position of icon if you want to display it at the same position as the label.
You should remove "POSITION 300 200" and use :
NODE idca
LABEL IDC A Router
ICON icon/cisco_small_router.png
I'm talking about Weathermap4rrd version not the howie one.
About your imagefontwidth() error, it is probably because php-gd is not installed or not detected or it is not a recent version.
Alex
http://weathermap4rrd.tropicalex.net
Hi
I'm playing around with weather4rrd and Howie's php-weathermap version. One thing though, i'm not getting any current bitrate or percentage on all the links created within php-weathermap. Within weather4rrd the percentages and rates are all okay. I'm using the same rrd's for both versions.
Any ideas?
Dennis
PS: some output from weathermap.php:
________________________________________
ReadData: Updating link data for all links
ReadData: Updating link server1-switch from ../rra/server1_traffic_in_29.rrd
ReadFromRRD: Running: /usr/local/bin/rrdtool fetch '../rra/server1_traffic_in_29.rrd' AVERAGE --start now-400
> 1117908000: 1.3816577778e+01 8.1953777778e+00
> 1117908300: 1.2954688889e+01 7.7397333333e+00
> 1117908600: NaN NaN
> --
--1117908600: NaN NaN
ReadFromRRD: Found a good line: 1117908600: NaN NaN
( traffic_in traffic_out
)
--1117908300: 1.2954688889e+01 7.7397333333e+00
--1117908000: 1.3816577778e+01 8.1953777778e+00
ReadFromRRD: Our line is 1117908600: NaN NaN
ReadFromRRD: Returning (110.532622224,65.5630222224)
ReadDate: Setting 110.532622224,65.5630222224
________________________________________
I'm playing around with weather4rrd and Howie's php-weathermap version. One thing though, i'm not getting any current bitrate or percentage on all the links created within php-weathermap. Within weather4rrd the percentages and rates are all okay. I'm using the same rrd's for both versions.
Any ideas?
Dennis
PS: some output from weathermap.php:
________________________________________
ReadData: Updating link data for all links
ReadData: Updating link server1-switch from ../rra/server1_traffic_in_29.rrd
ReadFromRRD: Running: /usr/local/bin/rrdtool fetch '../rra/server1_traffic_in_29.rrd' AVERAGE --start now-400
> 1117908000: 1.3816577778e+01 8.1953777778e+00
> 1117908300: 1.2954688889e+01 7.7397333333e+00
> 1117908600: NaN NaN
> --
--1117908600: NaN NaN
ReadFromRRD: Found a good line: 1117908600: NaN NaN
( traffic_in traffic_out
)
--1117908300: 1.2954688889e+01 7.7397333333e+00
--1117908000: 1.3816577778e+01 8.1953777778e+00
ReadFromRRD: Our line is 1117908600: NaN NaN
ReadFromRRD: Returning (110.532622224,65.5630222224)
ReadDate: Setting 110.532622224,65.5630222224
________________________________________
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Fixed this in 0.5. I'd assumed that RRDtool always outputs the same thing when there is no data (sometimes it's NaN, nan, whatever, but it comes from the compiler's libraries so it can't be checked). As soon as I've tested the change I'll put it up, along with the other stuff waiting... real work has been busy!tubbie wrote:
ReadFromRRD: Found a good line: 1117908600: NaN NaN
( traffic_in traffic_out
)
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!)
Thnx Howie for the quick reply! I'll wait for 0.5 and try again.Howie wrote:Fixed this in 0.5. I'd assumed that RRDtool always outputs the same thing when there is no data (sometimes it's NaN, nan, whatever, but it comes from the compiler's libraries so it can't be checked). As soon as I've tested the change I'll put it up, along with the other stuff waiting... real work has been busy!tubbie wrote:
ReadFromRRD: Found a good line: 1117908600: NaN NaN
( traffic_in traffic_out
)
Hi all,
I'm trying to install the php-weathermap_0.4
I use a Fedora Core 2 and I cant find any php-gd module for this distribution, but I can find it for FC3 :/
So when I launch "php weathermap.php"
it returns me :
PHP Warning: fopen(weathermap.conf): failed to open stream: No such file or directory in /root/weathermap/php-weathermap-0.4/Weathermap.class.php on line 685
Content-type: text/html
X-Powered-By: PHP/4.3.10
Couldn't open config file weathermap.conf for reading
The file weathermap.conf is not present in the tarball, i m wondering if my php-gd is really the cause of my trouble ???
Thanks in advance
EDIT : the "php -m" command says me that the GD module is present, where shall I get the missing conf file ?
I'm trying to install the php-weathermap_0.4
I use a Fedora Core 2 and I cant find any php-gd module for this distribution, but I can find it for FC3 :/
So when I launch "php weathermap.php"
it returns me :
PHP Warning: fopen(weathermap.conf): failed to open stream: No such file or directory in /root/weathermap/php-weathermap-0.4/Weathermap.class.php on line 685
Content-type: text/html
X-Powered-By: PHP/4.3.10
Couldn't open config file weathermap.conf for reading
The file weathermap.conf is not present in the tarball, i m wondering if my php-gd is really the cause of my trouble ???
Thanks in advance
EDIT : the "php -m" command says me that the GD module is present, where shall I get the missing conf file ?
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
The weathermap.conf file is what describes your network, which is why it isn't in the tarball I'd suggest having a read of the manual...philuxe wrote: The file weathermap.conf is not present in the tarball, i m wondering if my php-gd is really the cause of my trouble ???
EDIT : the "php -m" command says me that the GD module is present, where shall I get the missing conf 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!)
is there a way to increase the background size? it appears to be locked at 800x600? i tried not specifying a background but i dont think that helped. i want to display this on an 80" wall screen with a projector so we can run a high resolution. it will allow me to get much more on the screen.
thanks
thanks
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
ssams wrote:is there a way to increase the background size? it appears to be locked at 800x600? i tried not specifying a background but i dont think that helped. i want to display this on an 80" wall screen with a projector so we can run a high resolution. it will allow me to get much more on the screen.
thanks
Code: Select all
WIDTH 1280
HEIGHT 1024
(Also in the Fantastic Manual ).
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!)
Who is online
Users browsing this forum: No registered users and 2 guests