[INFO] Weathermap 0.92 Released

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

[INFO] Weathermap 0.92 Released

Post by fmangeant »

Posted by Howie : http://www.network-weathermap.com/node/79
Latest release is available. Mostly small improvements and bugfixes.

http://www.network-weathermap.com/node/79

0.92 - FIXED weathermap CLI help said --random-data instead of --randomdata
FIXED one last php short_tag in poller_common.php - thanks Bernado Diez
FIXED a SET in DEFAULT node/link is inherited by all node/links now.
FIXED changing defaults in the editor changes existing objects that use the default value
FIXED unreadable files in the configs/ directory don't kill the editor file-picker anymore
FIXED - weathermap.conf really *is* a simple map again. My test version went out with 0.9 and 0.91
INTERNAL added a lot more memory debug points in
INTERNAL refactored the curve/link drawing code to make some new features possible/easier
Further tweaks and improvements to check.php (Basic GD check, memory_limit check, PEAR Getopt check, and more expl
anation now)
Small improvements to the editor's font-picking, including samples of all fonts.
Added - Editor handles VIAs in a MUCH better way when moving nodes.
Improved clipping reporting, improved plugin loading (Niels Baggesen)
Added - BWSTYLE lets you choose between regular and angled bwlabels
angled bwlabels follow the angle of the link arrow, which can save space.
Added - Editor can pick Cacti graphs for NODE's overlib/infourl (but NOT targets)
Added - COMMENTPOS allows you to move the position of comments along the link (like BWLABELPOS)
FIXED - strange edge case with gradient SCALE caused div-by-zero (Tiago Giorgetti)
CHANGE - The editor doesn't *require* an editor-config.php anymore. It *will* warn you if the defaults aren't enough, however.
Last edited by fmangeant on Fri Dec 07, 2007 2:56 am, edited 2 times in total.
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

beat me to it. :-)
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!)
NutZ
Posts: 1
Joined: Thu Jun 07, 2007 2:48 am

Post by NutZ »

Works perfectly for me :D
Mika2006
Cacti User
Posts: 178
Joined: Thu May 03, 2007 2:25 am

Post by Mika2006 »

good but please i need how-to use and install editor please?
|Cacti Version - 0.8.6j||Plugin Architecture - 1.1||Poller Type - CMD.php|
|os - Red hat 4es | |Web Server - Apache/2.0.52 (Red Hat)|
|PHP - 4.3.9| |MySQL - 4.1.20| |RRDTool - 1.2.13||SNMP - 5.1.2|
|Plugins| Host Info (hostinfo - v0.1)
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

Mika2006 wrote:good but please i need how-to use and install editor please?
It is in the manual:
http://www.network-weathermap.com/manua ... ditor.html
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!)
Mika2006
Cacti User
Posts: 178
Joined: Thu May 03, 2007 2:25 am

Post by Mika2006 »

Well
i try to active it but i have this maybe can explain please??
why files i can show you?

the editor--config.php

Code: Select all



<?php

//
// The editor tries to guess where your cacti installation is, but you
// may need to copy this file to editor-config.php, and edit the lines below
// if it doesn't guess correctly.
//




// CHANGE: Uncomment one of the lines below and change it to point to the base directory
// of your cacti install to enable cacti support in the editor
//$cacti_base = 'C:/httpd-.2_x64/htdocs/cacti';
$cacti_base = "/var/www/html/cacti";



// CHANGE: this to be the URL of the base of your Cacti install
// it MUST end with a / character!
$cacti_url = "http://192.168.0.5/cacti/";



// where to look for config files. The directory must be readable
// AND writable by whatever user your webserver runs as.
// this name is correct if you are using the Cacti plugin

// NOTE: You MIGHT need to use the full path to the configs folder here,
// (it seems to depend on the PHP or OS version)
// $mapdir= $cacti_base.'/plugins/weathermap/configs';
$mapdir='configs';



// if you DON'T use Cacti, and the warning in the editor annoys you,
// then set this to TRUE
$ignore_cacti = FALSE;




// for internal testing
$use_jquery=FALSE;
?>

Attachments
test.jpg
test.jpg (144.08 KiB) Viewed 15622 times
|Cacti Version - 0.8.6j||Plugin Architecture - 1.1||Poller Type - CMD.php|
|os - Red hat 4es | |Web Server - Apache/2.0.52 (Red Hat)|
|PHP - 4.3.9| |MySQL - 4.1.20| |RRDTool - 1.2.13||SNMP - 5.1.2|
|Plugins| Host Info (hostinfo - v0.1)
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

[quote="Mika2006"]Well
i try to active it but i have this maybe can explain please??
why files i can show you?

I hope that right at the top of that page it says

Code: Select all

Required PHP extensions are not present in your mod_php/ISAPI PHP module. Please check your PHP setup to ensure you have the GD extension installed and enabled.
If you find that the weathermap tool itself is working, from the command-line or Cacti poller, then it is possible that you have two different PHP installations. The Editor uses the same PHP that webpages on your server use, but the main weathermap tool uses the command-line PHP interpreter.
	Here is a copy of the phpinfo() from your PHP web module, to help debugging this...
You should go to http://your-server-name/cacti/plugins/w ... /check.php and see which modules are missing from your PHP. It is probably the GD module. You will need to install that module before weathermap will work.
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!)
Mika2006
Cacti User
Posts: 178
Joined: Thu May 03, 2007 2:25 am

Post by Mika2006 »

thanks and i msorry but i m noob
in fact i try this:
http://192.168.0.5/cacti/plugins/weathermap/check.php
and i have this:
ome parts of Weathermap need special support in your PHP installation to work.
The gdinfo() function is not available, which means that either the GD extension is not available, not enabled, or not installed.
imagepng() NOCRITICAL This is required for all of Weathermap. It is part of the GD library and the "gd" PHP extension.
imagecreatetruecolor() NOCRITICAL This is required for all of Weathermap. It is part of the GD library and the "gd" PHP extension.
imagealphablending() NOCRITICAL This is required for all of Weathermap. It is part of the GD library and the "gd" PHP extension.
imageSaveAlpha() NOCRITICAL This is required for all of Weathermap. It is part of the GD library and the "gd" PHP extension.
preg_match() YES
imagecreatefrompng() NOCRITICAL This is required for all of Weathermap. It is part of the GD library and the "gd" PHP extension.
imagecreatefromjpeg() NOnon-critical This is required for JPEG input support for ICON and BACKGROUND. It is an optional part of the GD library and the "gd" PHP extension.
imagecreatefromgif() NOnon-critical This is required for GIF input support for ICON and BACKGROUND. It is an optional part of the GD library and the "gd" PHP extension.
imagejpeg() NOnon-critical This is required for JPEG output support. It is an optional part of the GD library and the "gd" PHP extension.
imagegif() NOnon-critical This is required for GIF output support. It is an optional part of the GD library and the "gd" PHP extension.
imagecopyresampled() NOnon-critical This is required for Thumbnail creation in the Cacti plugin. It is an optional part of the GD library and the "gd" PHP extension.
imagettfbbox() NOnon-critical This is required for TrueType font support. It is an optional part of the GD library and the "gd" PHP extension.
memory_get_usage() YES

well now i m looking how ti install it all!
thanks
|Cacti Version - 0.8.6j||Plugin Architecture - 1.1||Poller Type - CMD.php|
|os - Red hat 4es | |Web Server - Apache/2.0.52 (Red Hat)|
|PHP - 4.3.9| |MySQL - 4.1.20| |RRDTool - 1.2.13||SNMP - 5.1.2|
|Plugins| Host Info (hostinfo - v0.1)
YoMarK
Cacti User
Posts: 89
Joined: Fri Feb 02, 2007 8:36 am
Location: Eindhoven/The Netherlands

Post by YoMarK »

You're not reading the readme's(and the above posts about the GD extension), has nothing to do with being a noob.

Please edit you php.ini, so that the GD extension is included, and restart you webserver.
Please use google how to activate de GD extension in PHP. This is easy to find.

Ontopic:
Great improvements, thank you!
Mika2006
Cacti User
Posts: 178
Joined: Thu May 03, 2007 2:25 am

Post by Mika2006 »

thks for u remark in fact i make this
upd2date -i php-gd

and now he works
thanks
|Cacti Version - 0.8.6j||Plugin Architecture - 1.1||Poller Type - CMD.php|
|os - Red hat 4es | |Web Server - Apache/2.0.52 (Red Hat)|
|PHP - 4.3.9| |MySQL - 4.1.20| |RRDTool - 1.2.13||SNMP - 5.1.2|
|Plugins| Host Info (hostinfo - v0.1)
Mika2006
Cacti User
Posts: 178
Joined: Thu May 03, 2007 2:25 am

Post by Mika2006 »

my problem is when i rebuild i have a blank page???

[root@pc-stage-info weathermap]# php weathermap-cacti-rebuild.php
PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/msql.so' - /usr/lib/php4/msql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: main(C:/Program Files/xampp/htdocs/cacti//include/config.php): failed to open stream: No such file or directory in /var/www/html/cacti/plugins/weathermap/weathermap-cacti-rebuild.php on line 7
PHP Warning: main(): Failed opening 'C:/Program Files/xampp/htdocs/cacti//include/config.php' for inclusion (include_path='.:/usr/share/pear') in /var/www/html/cacti/plugins/weathermap/weathermap-cacti-rebuild.php on line 7
PHP Warning: main(/database.php): failed to open stream: No such file or directory in /var/www/html/cacti/plugins/weathermap/weathermap-cacti-rebuild.php on line 9
PHP Warning: main(): Failed opening '/database.php' for inclusion (include_path='.:/usr/share/pear') in /var/www/html/cacti/plugins/weathermap/weathermap-cacti-rebuild.php on line 9
PHP Warning: weathermap_setup_table(/database.php): failed to open stream: No such file or directory in /var/www/html/cacti/plugins/weathermap/setup.php on line 128
PHP Warning: weathermap_setup_table(): Failed opening '/database.php' for inclusion (include_path='.:/usr/share/pear') in /var/www/html/cacti/plugins/weathermap/setup.php on line 128
PHP Fatal error: Call to undefined function: db_fetch_assoc() in /var/www/html/cacti/plugins/weathermap/setup.php on line 131
Content-type: text/html
X-Powered-By: PHP/4.3.9
|Cacti Version - 0.8.6j||Plugin Architecture - 1.1||Poller Type - CMD.php|
|os - Red hat 4es | |Web Server - Apache/2.0.52 (Red Hat)|
|PHP - 4.3.9| |MySQL - 4.1.20| |RRDTool - 1.2.13||SNMP - 5.1.2|
|Plugins| Host Info (hostinfo - v0.1)
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

Mika2006 wrote:my problem is when i rebuild i have a blank page???

[root@pc-stage-info weathermap]# php weathermap-cacti-rebuild.php
PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php4/msql.so' - /usr/lib/php4/msql.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: main(C:/Program Files/xampp/htdocs/cacti//include/config.php): failed to open stream: No such file or directory in /var/www/html/cacti/plugins/weathermap/weathermap-cacti-rebuild.php on line 7
PHP Warning: main(): Failed opening 'C:/Program Files/xampp/htdocs/cacti//include/config.php' for inclusion (include_path='.:/usr/share/pear') in /var/www/html/cacti/plugins/weathermap/weathermap-cacti-rebuild.php on line 7
PHP Warning: main(/database.php): failed to open stream: No such file or directory in /var/www/html/cacti/plugins/weathermap/weathermap-cacti-rebuild.php on line 9
PHP Warning: main(): Failed opening '/database.php' for inclusion (include_path='.:/usr/share/pear') in /var/www/html/cacti/plugins/weathermap/weathermap-cacti-rebuild.php on line 9
PHP Warning: weathermap_setup_table(/database.php): failed to open stream: No such file or directory in /var/www/html/cacti/plugins/weathermap/setup.php on line 128
PHP Warning: weathermap_setup_table(): Failed opening '/database.php' for inclusion (include_path='.:/usr/share/pear') in /var/www/html/cacti/plugins/weathermap/setup.php on line 128
PHP Fatal error: Call to undefined function: db_fetch_assoc() in /var/www/html/cacti/plugins/weathermap/setup.php on line 131
Content-type: text/html
X-Powered-By: PHP/4.3.9
That looks like the path in weathermap-cacti-rebuild.php is wrong (the path to cacti). This is needed so the script can find your Cacti database.

BUT - in normal use you don't need to use this script, OR the "rebuild now" button in Cacti. The maps will be generated automatically every 5 minutes by the Cacti poller.

If the poller is not updating your maps, then check the cacti.log. It is probably a file permission problem.
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!)
Mika2006
Cacti User
Posts: 178
Joined: Thu May 03, 2007 2:25 am

Post by Mika2006 »

thanks
to solve this problem
i have edit my
/etc/php.ini
andi change the line

Code: Select all

;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 30     ; Maximum execution time of each script, in seconds
max_input_time = 60     ; Maximum amount of time each script may spend parsing $
memory_limit = 8M      ; Maximum amount of memory a script may consume (8MB)

by

Code: Select all

;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 30     ; Maximum execution time of each script, in seconds
max_input_time = 60     ; Maximum amount of time each script may spend parsing $
memory_limit = 32M      ; Maximum amount of memory a script may consume (8MB)

|Cacti Version - 0.8.6j||Plugin Architecture - 1.1||Poller Type - CMD.php|
|os - Red hat 4es | |Web Server - Apache/2.0.52 (Red Hat)|
|PHP - 4.3.9| |MySQL - 4.1.20| |RRDTool - 1.2.13||SNMP - 5.1.2|
|Plugins| Host Info (hostinfo - v0.1)
Mika2006
Cacti User
Posts: 178
Joined: Thu May 03, 2007 2:25 am

Post by Mika2006 »

hello i have this on my cacti log someon know what is please???

When i rebuild my map
ebuilding all maps
NOTE: Because your Cacti poller process probably doesn't run as the same user as your webserver, it's possible this will fail with file permission problems even though the normal poller process runs fine. In some situations, it MAY have memory_limit problems, if your mod_php/ISAPI module uses a different php.ini to your command-line PHP.

06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Weathermap 0.92 starting - Normal logging mode. Turn on DEBUG in Cacti for more information
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Map: /var/www/html/cacti/plugins/weathermap/configs/Recette -> /var/www/html/cacti/plugins/weathermap/output/weathermap_5.html & /var/www/html/cacti/plugins/weathermap/output/weathermap_5.gif
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] ReadData: LINK node1181903139-node1181903403, target: /var/www/html/cacti/rra/ramses_ds_ifinoctets_28.rrd on config line 94 had no valid data, according to WeatherMapDataSource_rrd
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] RRD ReadData: Data is not most recent entry (3) for link: /var/www/html/cacti/rra/scasomf02_traffic_in_53.rrd
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] About to write image file. If this is the last message in your log, increase memory_limit in php.ini
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Failed to overwrite existing image file /var/www/html/cacti/plugins/weathermap/output/weathermap_5.gif - permissions of existing file are wrong?
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Failed to overwrite existing image file /var/www/html/cacti/plugins/weathermap/output/weathermap_5.gif - permissions of existing file are wrong?
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Wrote map to /var/www/html/cacti/plugins/weathermap/output/weathermap_5.gif and /var/www/html/cacti/plugins/weathermap/output/weathermap_thumb_5.gif
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Failed to overwrite /var/www/html/cacti/plugins/weathermap/output/weathermap_5.html - permissions of existing file are wrong?
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Map: /var/www/html/cacti/plugins/weathermap/configs/simple.conf -> /var/www/html/cacti/plugins/weathermap/output/weathermap_2.html & /var/www/html/cacti/plugins/weathermap/output/weathermap_2.gif
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] ColourFromPercent: Clipped node1-node2 2000% to 100%
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] ColourFromPercent: Clipped node1-node2 1000% to 100%
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] About to write image file. If this is the last message in your log, increase memory_limit in php.ini
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] ColourFromPercent: Clipped node1-node2 2000% to 100%
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] ColourFromPercent: Clipped node1-node2 1000% to 100%
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:07 AM - WEATHERMAP: Poller[0] Wrote map to /var/www/html/cacti/plugins/weathermap/output/weathermap_2.gif and /var/www/html/cacti/plugins/weathermap/output/weathermap_thumb_2.gif
06/20/2007 11:04:07 AM - WEATHERMAP: Poller[0] Failed to overwrite /var/www/html/cacti/plugins/weathermap/output/weathermap_2.html - permissions of existing file are wrong?
06/20/2007 11:04:07 AM - WEATHERMAP: Poller[0] Weathermap 0.92 run complete - 2 maps were run
Done.

and in cacti log files:
ebuilding all maps
NOTE: Because your Cacti poller process probably doesn't run as the same user as your webserver, it's possible this will fail with file permission problems even though the normal poller process runs fine. In some situations, it MAY have memory_limit problems, if your mod_php/ISAPI module uses a different php.ini to your command-line PHP.

06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Weathermap 0.92 starting - Normal logging mode. Turn on DEBUG in Cacti for more information
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Map: /var/www/html/cacti/plugins/weathermap/configs/Recette -> /var/www/html/cacti/plugins/weathermap/output/weathermap_5.html & /var/www/html/cacti/plugins/weathermap/output/weathermap_5.gif
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] ReadData: LINK node1181903139-node1181903403, target: /var/www/html/cacti/rra/ramses_ds_ifinoctets_28.rrd on config line 94 had no valid data, according to WeatherMapDataSource_rrd
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] RRD ReadData: Data is not most recent entry (3) for link: /var/www/html/cacti/rra/scasomf02_traffic_in_53.rrd
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] About to write image file. If this is the last message in your log, increase memory_limit in php.ini
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Failed to overwrite existing image file /var/www/html/cacti/plugins/weathermap/output/weathermap_5.gif - permissions of existing file are wrong?
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Failed to overwrite existing image file /var/www/html/cacti/plugins/weathermap/output/weathermap_5.gif - permissions of existing file are wrong?
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Wrote map to /var/www/html/cacti/plugins/weathermap/output/weathermap_5.gif and /var/www/html/cacti/plugins/weathermap/output/weathermap_thumb_5.gif
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Failed to overwrite /var/www/html/cacti/plugins/weathermap/output/weathermap_5.html - permissions of existing file are wrong?
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Map: /var/www/html/cacti/plugins/weathermap/configs/simple.conf -> /var/www/html/cacti/plugins/weathermap/output/weathermap_2.html & /var/www/html/cacti/plugins/weathermap/output/weathermap_2.gif
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] ColourFromPercent: Clipped node1-node2 2000% to 100%
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] ColourFromPercent: Clipped node1-node2 1000% to 100%
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] About to write image file. If this is the last message in your log, increase memory_limit in php.ini
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] ColourFromPercent: Clipped node1-node2 2000% to 100%
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] ColourFromPercent: Clipped node1-node2 1000% to 100%
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Using a non-existent special font (100) - falling back to internal GD fonts
06/20/2007 11:04:07 AM - WEATHERMAP: Poller[0] Wrote map to /var/www/html/cacti/plugins/weathermap/output/weathermap_2.gif and /var/www/html/cacti/plugins/weathermap/output/weathermap_thumb_2.gif
06/20/2007 11:04:07 AM - WEATHERMAP: Poller[0] Failed to overwrite /var/www/html/cacti/plugins/weathermap/output/weathermap_2.html - permissions of existing file are wrong?
06/20/2007 11:04:07 AM - WEATHERMAP: Poller[0] Weathermap 0.92 run complete - 2 maps were run

Done.
|Cacti Version - 0.8.6j||Plugin Architecture - 1.1||Poller Type - CMD.php|
|os - Red hat 4es | |Web Server - Apache/2.0.52 (Red Hat)|
|PHP - 4.3.9| |MySQL - 4.1.20| |RRDTool - 1.2.13||SNMP - 5.1.2|
|Plugins| Host Info (hostinfo - v0.1)
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

Mika2006 wrote:hello i have this on my cacti log someon know what is please???

Done.
[/quote]

06/20/2007 11:04:06 AM - WEATHERMAP: Poller[0] Failed to overwrite /var/www/html/cacti/plugins/weathermap/output/weathermap_5.html - permissions of existing file are wrong?

This is what I said before, and what the Rebuild Now button warns you about - the file permissions get messed up if you use Rebuild Now as well as the poller. You should not need to use Rebuild Now in normal use.

If you want to ONLY use the Rebuild Now, then chown -R www output or whatever your webserver user is called (instead of www). If you want to use the poller chown -R cactiuser output/.

If you really really need to use both, then you need to chmod 777 that direcctory (bad idea), or create a unix group, add cactiuser and www user to it, and make output/ group-writable and owned by that group.
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!)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest