Cant draw in weathermap

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
puflet
Posts: 7
Joined: Mon Oct 19, 2009 3:17 pm
Contact:

Cant draw in weathermap

Post by puflet »

Hi all,
i'm using cacti for some time now. today decided to try with some plugins, here's the situation:

When i 'recalculate' the map, Firefox offers me to download the file weathermap-cacti-plugin-mgmt.php, which is empty. Leaving just

Code: Select all

WIDTH 800
HEIGHT 480
in weathermap.conf seems fine, i get a new image. But after i put

Code: Select all

NODE test1
 LABEL test1
 POSITION 5 5
it does the same stupid mistake.

Cacti runs cmd.php, user www-data owns cacti/ dir, i did chmod -R 777 /weathermap/output , but still nothing. Here is cacti.log:

Code: Select all

10/19/2009 11:27:17 PM - WEATHERMAP
: Poller[0] Weathermap 0.96a starting - DEBUG mode is on
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [weathermap_memory_check@poller-common.php:11] MEM Initial: memory_get_usage() says 8.6MBytes used. Limit is 32M
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [weathermap_run_maps@poller-common.php:100] Iterating all maps.
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] [Map 5] bla.conf: Map: /usr/share/cacti/plugins/weathermap/configs/bla.conf -> /usr/share/cacti/plugins/weathermap/output/11a71993289b9304e733.html & /usr/share/cacti/plugins/weathermap/output/11a71993289b9304e733.png
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [weathermap_memory_check@poller-common.php:11] [Map 5] bla.conf: MEM starting 0: memory_get_usage() says 8.6MBytes used. Limit is 32M
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [Reset@Weathermap.class.php:296] [Map 5] bla.conf: Creating ':: DEFAULT ::' DEFAULT LINK
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [Reset@WeatherMapLink.class.php:116] [Map 5] bla.conf: Resetting :: DEFAULT :: with :: DEFAULT ::
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [Reset@Weathermap.class.php:304] [Map 5] bla.conf: Creating ':: DEFAULT ::' DEFAULT NODE
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [Reset@WeatherMapNode.class.php:697] [Map 5] bla.conf: Resetting :: DEFAULT :: with :: DEFAULT ::
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [Reset@Weathermap.class.php:315] [Map 5] bla.conf: Creating actual DEFAULT NODE from :: DEFAULT ::
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [Reset@WeatherMapNode.class.php:697] [Map 5] bla.conf: Resetting DEFAULT with :: DEFAULT ::
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [CopyFrom@WeatherMapNode.class.php:719] [Map 5] bla.conf: Initialising NODE DEFAULT from :: DEFAULT ::
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [Reset@Weathermap.class.php:323] [Map 5] bla.conf: Creating actual DEFAULT LINK from :: DEFAULT ::
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [Reset@WeatherMapLink.class.php:116] [Map 5] bla.conf: Resetting DEFAULT with :: DEFAULT ::
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [CopyFrom@WeatherMapLink.class.php:141] [Map 5] bla.conf: Initialising LINK DEFAULT from :: DEFAULT ::
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [Reset@Weathermap.class.php:348] [Map 5] bla.conf: Adding default map colour set.
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:626] [Map 5] bla.conf: Beginning to load data plugins from lib/datasources
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:669] [Map 5] bla.conf: Skipping README.txt
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:644] [Map 5] bla.conf: Loading data Plugin class from WeatherMapDataSource_dbsample.php
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:656] [Map 5] bla.conf: Loaded data Plugin class WeatherMapDataSource_dbsample from WeatherMapDataSource_dbsample.php
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:664] [Map 5] bla.conf: Instantiated WeatherMapDataSource_dbsample.
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:669] [Map 5] bla.conf: Skipping ..
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:644] [Map 5] bla.conf: Loading data Plugin class from WeatherMapDataSource_rrd.php
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:656] [Map 5] bla.conf: Loaded data Plugin class WeatherMapDataSource_rrd from WeatherMapDataSource_rrd.php
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:664] [Map 5] bla.conf: Instantiated WeatherMapDataSource_rrd.
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:644] [Map 5] bla.conf: Loading data Plugin class from WeatherMapDataSource_tabfile.php
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:656] [Map 5] bla.conf: Loaded data Plugin class WeatherMapDataSource_tabfile from WeatherMapDataSource_tabfile.php
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:664] [Map 5] bla.conf: Instantiated WeatherMapDataSource_tabfile.
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:669] [Map 5] bla.conf: Skipping .
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:644] [Map 5] bla.conf: Loading data Plugin class from WeatherMapDataSource_cactihost.php
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:656] [Map 5] bla.conf: Loaded data Plugin class WeatherMapDataSource_cactihost from WeatherMapDataSource_cactihost.php
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:664] [Map 5] bla.conf: Instantiated WeatherMapDataSource_cactihost.
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:644] [Map 5] bla.conf: Loading data Plugin class from WeatherMapDataSource_mrtg.php
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:656] [Map 5] bla.conf: Loaded data Plugin class WeatherMapDataSource_mrtg from WeatherMapDataSource_mrtg.php
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:664] [Map 5] bla.conf: Instantiated WeatherMapDataSource_mrtg.
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:669] [Map 5] bla.conf: Skipping WeatherMapDataSource_skeleton.php.txt
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:644] [Map 5] bla.conf: Loading data Plugin class from WeatherMapDataSource_external.php
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:656] [Map 5] bla.conf: Loaded data Plugin class WeatherMapDataSource_external from WeatherMapDataSource_external.php
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:664] [Map 5] bla.conf: Instantiated WeatherMapDataSource_external.
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:644] [Map 5] bla.conf: Loading data Plugin class from WeatherMapDataSource_fping.php
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:656] [Map 5] bla.conf: Loaded data Plugin class WeatherMapDataSource_fping from WeatherMapDataSource_fping.php
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:664] [Map 5] bla.conf: Instantiated WeatherMapDataSource_fping.
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:644] [Map 5] bla.conf: Loading data Plugin class from WeatherMapDataSource_snmp.php
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:656] [Map 5] bla.conf: Loaded data Plugin class WeatherMapDataSource_snmp from WeatherMapDataSource_snmp.php
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:664] [Map 5] bla.conf: Instantiated WeatherMapDataSource_snmp.
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:644] [Map 5] bla.conf: Loading data Plugin class from WeatherMapDataSource_cactithold.php
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:656] [Map 5] bla.conf: Loaded data Plugin class WeatherMapDataSource_cactithold from WeatherMapDataSource_cactithold.php
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:664] [Map 5] bla.conf: Instantiated WeatherMapDataSource_cactithold.
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:644] [Map 5] bla.conf: Loading data Plugin class from WeatherMapDataSource_static.php
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:656] [Map 5] bla.conf: Loaded data Plugin class WeatherMapDataSource_static from WeatherMapDataSource_static.php
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:664] [Map 5] bla.conf: Instantiated WeatherMapDataSource_static.
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:644] [Map 5] bla.conf: Loading data Plugin class from WeatherMapDataSource_time.php
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:656] [Map 5] bla.conf: Loaded data Plugin class WeatherMapDataSource_time from WeatherMapDataSource_time.php
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:664] [Map 5] bla.conf: Instantiated WeatherMapDataSource_time.
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:626] [Map 5] bla.conf: Beginning to load pre plugins from lib/pre
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:669] [Map 5] bla.conf: Skipping ..
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:669] [Map 5] bla.conf: Skipping .
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:644] [Map 5] bla.conf: Loading pre Plugin class from WeatherMapPreProcessorTest.php
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:656] [Map 5] bla.conf: Loaded pre Plugin class WeatherMapPreProcessorTest from WeatherMapPreProcessorTest.php
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:664] [Map 5] bla.conf: Instantiated WeatherMapPreProcessorTest.
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:626] [Map 5] bla.conf: Beginning to load post plugins from lib/post
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:669] [Map 5] bla.conf: Skipping ..
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:669] [Map 5] bla.conf: Skipping .
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:644] [Map 5] bla.conf: Loading post Plugin class from WeatherMapPostProcessorTest.php
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:656] [Map 5] bla.conf: Loaded post Plugin class WeatherMapPostProcessorTest from WeatherMapPostProcessorTest.php
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:664] [Map 5] bla.conf: Instantiated WeatherMapPostProcessorTest.
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [Reset@Weathermap.class.php:379] [Map 5] bla.conf: WeatherMap class Reset() complete
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadConfig@Weathermap.class.php:1571] [Map 5] bla.conf: ReadConfig Detected that this is a config filename.
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [Reset@WeatherMapNode.class.php:697] [Map 5] bla.conf: Resetting test1 with DEFAULT
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [CopyFrom@WeatherMapNode.class.php:719] [Map 5] bla.conf: Initialising NODE test1 from DEFAULT
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadConfig@Weathermap.class.php:2310] [Map 5] bla.conf: Saving Node: test1
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadConfig@Weathermap.class.php:2323] [Map 5] bla.conf: ReadConfig has finished reading the config (7 lines)
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadConfig@Weathermap.class.php:2324] [Map 5] bla.conf: ------------------------------------------
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadConfig@Weathermap.class.php:2329] [Map 5] bla.conf: Adding default SCALE colour set (no SCALE lines seen).
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [add_hint@Weathermap.class.php:109] [Map 5] bla.conf: Adding hint key_hidezero_DEFAULT='1' to MAP
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadConfig@Weathermap.class.php:2358] [Map 5] bla.conf: Building cache of z-layers and finalising bandwidth.
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadConfig@Weathermap.class.php:2401] [Map 5] bla.conf:    Setting bandwidth on NODE :: DEFAULT :: (100 -> 100 bps, 100 -> 100 bps, KILO = 1000)
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadConfig@Weathermap.class.php:2401] [Map 5] bla.conf:    Setting bandwidth on NODE DEFAULT (100 -> 100 bps, 100 -> 100 bps, KILO = 1000)
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadConfig@Weathermap.class.php:2401] [Map 5] bla.conf:    Setting bandwidth on NODE test1 (100 -> 100 bps, 100 -> 100 bps, KILO = 1000)
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadConfig@Weathermap.class.php:2401] [Map 5] bla.conf:    Setting bandwidth on LINK :: DEFAULT :: (100M -> 100000000 bps, 100M -> 100000000 bps, KILO = 1000)
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadConfig@Weathermap.class.php:2401] [Map 5] bla.conf:    Setting bandwidth on LINK DEFAULT (100M -> 100000000 bps, 100M -> 100000000 bps, KILO = 1000)
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadConfig@Weathermap.class.php:2404] [Map 5] bla.conf: Found 4 z-layers including builtins (0,100).
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadConfig@Weathermap.class.php:2409] [Map 5] bla.conf: Resolving relative positions for NODEs...
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadConfig@Weathermap.class.php:2471] [Map 5] bla.conf: Relative Positions Cycle 100 - set 0 and Skipped 0 for unresolved dependencies
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadConfig@Weathermap.class.php:2480] [Map 5] bla.conf: -----------------------------------
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadConfig@Weathermap.class.php:2483] [Map 5] bla.conf: Running Pre-Processing Plugins...
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadConfig@Weathermap.class.php:2486] [Map 5] bla.conf: Running WeatherMapPreProcessorTest->run()
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:89] [Map 5] bla.conf: Adding note test='TEST!' to MAP
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [run@WeatherMapPreProcessorTest.php:10] [Map 5] bla.conf: Test Preprocessor in the hizouse
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadConfig@Weathermap.class.php:2489] [Map 5] bla.conf: Finished Pre-Processing Plugins...
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [weathermap_memory_check@poller-common.php:11] [Map 5] bla.conf: MEM postread 0: memory_get_usage() says 9.5MBytes used. Limit is 32M
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:682] [Map 5] bla.conf: Running Init() for Data Source Plugins...
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:687] [Map 5] bla.conf: Running WeatherMapDataSource_dbsample->Init()
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:687] [Map 5] bla.conf: Running WeatherMapDataSource_rrd->Init()
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [Init@WeatherMapDataSource_rrd.php:22] [Map 5] bla.conf: RRD DS: path_rra is /usr/share/cacti/rra - your rrd pathname must be exactly this to use poller_output
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [add_hint@Weathermap.class.php:109] [Map 5] bla.conf: Adding hint cacti_path_rra='/usr/share/cacti/rra' to MAP
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [add_hint@Weathermap.class.php:109] [Map 5] bla.conf: Adding hint cacti_url='/cacti/' to MAP
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:687] [Map 5] bla.conf: Running WeatherMapDataSource_tabfile->Init()
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:687] [Map 5] bla.conf: Running WeatherMapDataSource_cactihost->Init()
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:687] [Map 5] bla.conf: Running WeatherMapDataSource_mrtg->Init()
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:687] [Map 5] bla.conf: Running WeatherMapDataSource_external->Init()
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:687] [Map 5] bla.conf: Running WeatherMapDataSource_fping->Init()
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:687] [Map 5] bla.conf: Running WeatherMapDataSource_snmp->Init()
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:687] [Map 5] bla.conf: Running WeatherMapDataSource_cactithold->Init()
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:687] [Map 5] bla.conf: Running WeatherMapDataSource_static->Init()
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:687] [Map 5] bla.conf: Running WeatherMapDataSource_time->Init()
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:700] [Map 5] bla.conf: Finished Initialising Plugins...
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:702] [Map 5] bla.conf: ======================================
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:703] [Map 5] bla.conf: ReadData: Updating link data for all links and nodes
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:728] [Map 5] bla.conf: 
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:729] [Map 5] bla.conf: ReadData for LINK :: DEFAULT :::
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:846] [Map 5] bla.conf: ReadData: Skipping LINK :: DEFAULT :: that looks like a template
.
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [NewColourFromPercent@Weathermap.class.php:1110] [Map 5] bla.conf: NCFPC :: DEFAULT :: '' 0_0 192 192 192
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [NewColourFromPercent@Weathermap.class.php:1110] [Map 5] bla.conf: NCFPC :: DEFAULT :: '' 0_0 192 192 192
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:89] [Map 5] bla.conf: Adding note inscalekey='0_0' to :: DEFAULT ::
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:89] [Map 5] bla.conf: Adding note outscalekey='0_0' to :: DEFAULT ::
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:89] [Map 5] bla.conf: Adding note inscaletag='' to :: DEFAULT ::
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:89] [Map 5] bla.conf: Adding note outscaletag='' to :: DEFAULT ::
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:89] [Map 5] bla.conf: Adding note inscalecolor='#c0c0c0' to :: DEFAULT ::
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:89] [Map 5] bla.conf: Adding note outscalecolor='#c0c0c0' to :: DEFAULT ::
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:898] [Map 5] bla.conf: ReadData: Setting 0,0
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:728] [Map 5] bla.conf: 
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:729] [Map 5] bla.conf: ReadData for LINK DEFAULT:
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:846] [Map 5] bla.conf: ReadData: Skipping LINK DEFAULT that looks like a template
.
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [NewColourFromPercent@Weathermap.class.php:1110] [Map 5] bla.conf: NCFPC DEFAULT '' 0_0 192 192 192
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [NewColourFromPercent@Weathermap.class.php:1110] [Map 5] bla.conf: NCFPC DEFAULT '' 0_0 192 192 192
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:89] [Map 5] bla.conf: Adding note inscalekey='0_0' to DEFAULT
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:89] [Map 5] bla.conf: Adding note outscalekey='0_0' to DEFAULT
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:89] [Map 5] bla.conf: Adding note inscaletag='' to DEFAULT
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:89] [Map 5] bla.conf: Adding note outscaletag='' to DEFAULT
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:89] [Map 5] bla.conf: Adding note inscalecolor='#c0c0c0' to DEFAULT
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:89] [Map 5] bla.conf: Adding note outscalecolor='#c0c0c0' to DEFAULT
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:898] [Map 5] bla.conf: ReadData: Setting 0,0
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:728] [Map 5] bla.conf: 
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:729] [Map 5] bla.conf: ReadData for NODE :: DEFAULT :::
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:846] [Map 5] bla.conf: ReadData: Skipping NODE :: DEFAULT :: that looks like a template
.
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [NewColourFromPercent@Weathermap.class.php:1110] [Map 5] bla.conf: NCFPC :: DEFAULT :: '' 0_0 192 192 192
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [NewColourFromPercent@Weathermap.class.php:1110] [Map 5] bla.conf: NCFPC :: DEFAULT :: '' 0_0 192 192 192
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:89] [Map 5] bla.conf: Adding note inscalekey='0_0' to :: DEFAULT ::
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:89] [Map 5] bla.conf: Adding note outscalekey='0_0' to :: DEFAULT ::
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:89] [Map 5] bla.conf: Adding note inscaletag='' to :: DEFAULT ::
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:89] [Map 5] bla.conf: Adding note outscaletag='' to :: DEFAULT ::
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:89] [Map 5] bla.conf: Adding note inscalecolor='#c0c0c0' to :: DEFAULT ::
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:89] [Map 5] bla.conf: Adding note outscalecolor='#c0c0c0' to :: DEFAULT ::
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:898] [Map 5] bla.conf: ReadData: Setting 0,0
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:728] [Map 5] bla.conf: 
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:729] [Map 5] bla.conf: ReadData for NODE DEFAULT:
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:846] [Map 5] bla.conf: ReadData: Skipping NODE DEFAULT that looks like a template
.
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [NewColourFromPercent@Weathermap.class.php:1110] [Map 5] bla.conf: NCFPC DEFAULT '' 0_0 192 192 192
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [NewColourFromPercent@Weathermap.class.php:1110] [Map 5] bla.conf: NCFPC DEFAULT '' 0_0 192 192 192
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:89] [Map 5] bla.conf: Adding note inscalekey='0_0' to DEFAULT
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:89] [Map 5] bla.conf: Adding note outscalekey='0_0' to DEFAULT
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:89] [Map 5] bla.conf: Adding note inscaletag='' to DEFAULT
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:89] [Map 5] bla.conf: Adding note outscaletag='' to DEFAULT
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:89] [Map 5] bla.conf: Adding note inscalecolor='#c0c0c0' to DEFAULT
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:89] [Map 5] bla.conf: Adding note outscalecolor='#c0c0c0' to DEFAULT
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:898] [Map 5] bla.conf: ReadData: Setting 0,0
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:728] [Map 5] bla.conf: 
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:729] [Map 5] bla.conf: ReadData for NODE test1:
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:841] [Map 5] bla.conf: ReadData: No targets for NODE test1
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [NewColourFromPercent@Weathermap.class.php:1110] [Map 5] bla.conf: NCFPC test1 '' 0_0 192 192 192
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [NewColourFromPercent@Weathermap.class.php:1110] [Map 5] bla.conf: NCFPC test1 '' 0_0 192 192 192
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:89] [Map 5] bla.conf: Adding note inscalekey='0_0' to test1
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:89] [Map 5] bla.conf: Adding note outscalekey='0_0' to test1
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:89] [Map 5] bla.conf: Adding note inscaletag='' to test1
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:89] [Map 5] bla.conf: Adding note outscaletag='' to test1
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:89] [Map 5] bla.conf: Adding note inscalecolor='#c0c0c0' to test1
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [add_note@Weathermap.class.php:89] [Map 5] bla.conf: Adding note outscalecolor='#c0c0c0' to test1
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:898] [Map 5] bla.conf: ReadData: Setting 0,0
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:902] [Map 5] bla.conf: ReadData Completed.
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:903] [Map 5] bla.conf: ------------------------------
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [weathermap_memory_check@poller-common.php:11] [Map 5] bla.conf: MEM postdata 0: memory_get_usage() says 9.5MBytes used. Limit is 32M
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] [Map 5] bla.conf: About to write image file. If this is the last message in your log, increase memory_limit in php.ini [WMPOLL01]
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [weathermap_memory_check@poller-common.php:11] [Map 5] bla.conf: MEM pre-render 0: memory_get_usage() says 9.5MBytes used. Limit is 32M
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [DrawMap@Weathermap.class.php:2706] [Map 5] bla.conf: Trace: DrawMap()
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [DrawMap@Weathermap.class.php:2711] [Map 5] bla.conf: Running Post-Processing Plugins...
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [DrawMap@Weathermap.class.php:2714] [Map 5] bla.conf: Running WeatherMapPostProcessorTest->run()
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [run@WeatherMapPostProcessorTest.php:26] [Map 5] bla.conf: WeatherMapPostProcessorTest Not Enabled
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [DrawMap@Weathermap.class.php:2719] [Map 5] bla.conf: Finished Post-Processing Plugins...
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [DrawMap@Weathermap.class.php:2721] [Map 5] bla.conf: =====================================
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [DrawMap@Weathermap.class.php:2722] [Map 5] bla.conf: Start of Map Drawing
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [AllocateScaleColours@Weathermap.class.php:2697] [Map 5] bla.conf: AllocateScaleColours: DEFAULT KEYTEXT (0,0,0)
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [AllocateScaleColours@Weathermap.class.php:2697] [Map 5] bla.conf: AllocateScaleColours: DEFAULT KEYOUTLINE (0,0,0)
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [AllocateScaleColours@Weathermap.class.php:2697] [Map 5] bla.conf: AllocateScaleColours: DEFAULT KEYBG (255,255,255)
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [AllocateScaleColours@Weathermap.class.php:2697] [Map 5] bla.conf: AllocateScaleColours: DEFAULT BG (255,255,255)
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [AllocateScaleColours@Weathermap.class.php:2697] [Map 5] bla.conf: AllocateScaleColours: DEFAULT TITLE (0,0,0)
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [AllocateScaleColours@Weathermap.class.php:2697] [Map 5] bla.conf: AllocateScaleColours: DEFAULT TIME (0,0,0)
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [AllocateScaleColours@Weathermap.class.php:2697] [Map 5] bla.conf: AllocateScaleColours: DEFAULT 0_0 (192,192,192)
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [AllocateScaleColours@Weathermap.class.php:2697] [Map 5] bla.conf: AllocateScaleColours: DEFAULT 0_1 (255,255,255)
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [AllocateScaleColours@Weathermap.class.php:2697] [Map 5] bla.conf: AllocateScaleColours: DEFAULT 1_10 (140,0,255)
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [AllocateScaleColours@Weathermap.class.php:2697] [Map 5] bla.conf: AllocateScaleColours: DEFAULT 10_25 (32,32,255)
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [AllocateScaleColours@Weathermap.class.php:2697] [Map 5] bla.conf: AllocateScaleColours: DEFAULT 25_40 (0,192,255)
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [AllocateScaleColours@Weathermap.class.php:2697] [Map 5] bla.conf: AllocateScaleColours: DEFAULT 40_55 (0,240,0)
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [AllocateScaleColours@Weathermap.class.php:2697] [Map 5] bla.conf: AllocateScaleColours: DEFAULT 55_70 (240,240,0)
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [AllocateScaleColours@Weathermap.class.php:2697] [Map 5] bla.conf: AllocateScaleColours: DEFAULT 70_85 (255,192,0)
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [AllocateScaleColours@Weathermap.class.php:2697] [Map 5] bla.conf: AllocateScaleColours: DEFAULT 85_100 (255,0,0)
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [DrawMap@Weathermap.class.php:2785] [Map 5] bla.conf: Pre-rendering :: DEFAULT :: to get bounding boxes.
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [DrawMap@Weathermap.class.php:2785] [Map 5] bla.conf: Pre-rendering DEFAULT to get bounding boxes.
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [DrawMap@Weathermap.class.php:2785] [Map 5] bla.conf: Pre-rendering test1 to get bounding boxes.
10/19/2009 11:27:17 PM - WEATHERMAP: Poller[0] DEBUG: [pre_render@WeatherMapNode.class.php:232] [Map 5] bla.conf: Node->pre_render: test1 Label Metrics are: 35 x 13 -> 39 x 17
... and again no change.

I'd be grateful if someone can help me.
Attachments
Screenshot-4.png
Screenshot-4.png (114.85 KiB) Viewed 5121 times
Last edited by puflet on Mon Oct 19, 2009 3:33 pm, edited 1 time in total.
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

and....?
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!)
puflet
Posts: 7
Joined: Mon Oct 19, 2009 3:17 pm
Contact:

Post by puflet »

Howie wrote:and....?
Sorry... hit "submit" button earlyer, edited my post.
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

Run the check-gdbug.php script, as mentioned in the check.php output. I think you are affected by that bug. That point in the node-drawing code is just where it first uses alpha-channel stuff.

The action error is a simple fix - there's a few post about it on here - but that's not what is stopping maps being drawn.
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!)
puflet
Posts: 7
Joined: Mon Oct 19, 2009 3:17 pm
Contact:

Post by puflet »

Code: Select all

Some version of the GD graphics library have a bug in their handling of
Alpha channels. Unfortunately, Weathermap uses these to draw Nodes.

This program will test if your PHP installation is using a buggy GD
library.

If you are, you should either use PHP's built-in (aka 'bundled') GD
library, or update to GD Version 2.0.34 or newer. Weathermap REQUIRES
working Alpha support.

Let's see if you have the GD transparency bug...

If you see no more output, or a segfault, then you do, and you'll need to
upgrade.

If you get other errors, like 'undefined function', then run check.php to
make sure that your PHP installation is otherwise OK.

Here we go...

Segmentation fault
yep... this should be the problem. I'll keep reading. Thanks for the help :)
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

puflet wrote:

Code: Select all

Some version of the GD graphics library have a bug in their handling of
Alpha channels. Unfortunately, Weathermap uses these to draw Nodes.

This program will test if your PHP installation is using a buggy GD
library.

If you are, you should either use PHP's built-in (aka 'bundled') GD
library, or update to GD Version 2.0.34 or newer. Weathermap REQUIRES
working Alpha support.

Let's see if you have the GD transparency bug...

If you see no more output, or a segfault, then you do, and you'll need to
upgrade.

If you get other errors, like 'undefined function', then run check.php to
make sure that your PHP installation is otherwise OK.

Here we go...

Segmentation fault
yep... this should be the problem. I'll keep reading. Thanks for the help :)
My understanding is that a newer GD is in the stable tree now, so APT should be able to help you.
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!)
puflet
Posts: 7
Joined: Mon Oct 19, 2009 3:17 pm
Contact:

Post by puflet »

http://forums.cacti.net/viewtopic.php?t=21517
This helped me :)
Thanks again Howie!!
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests