Error This map hasn't been created yet.

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
johnsjohns
Posts: 9
Joined: Mon Jul 27, 2015 4:13 pm
Location: São Paulo - Brasil

Error This map hasn't been created yet.

Post by johnsjohns »

IM a first timer with cacti, can someone help with this weathermap error.
In the cacti weathermap page show only "This map hasn't been created yet."
I check the log of error and I think is ok

07/30/2015 07:55:02 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:720] [Map 4] hfc.conf: Loaded data Plugin class ._WeatherMapDataSource_cactihost from ._WeatherMapDataSource_cactihost.php
07/30/2015 07:55:02 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:708] [Map 4] hfc.conf: Loading data Plugin class from ._WeatherMapDataSource_cactihost.php
07/30/2015 07:55:02 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:733] [Map 4] hfc.conf: Skipping README.txt
07/30/2015 07:55:02 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:733] [Map 4] hfc.conf: Skipping ._README.txt
07/30/2015 07:55:02 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:733] [Map 4] hfc.conf: Skipping ..
07/30/2015 07:55:02 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:733] [Map 4] hfc.conf: Skipping .
07/30/2015 07:55:02 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:685] [Map 4] hfc.conf: Beginning to load data plugins from lib/datasources
07/30/2015 07:55:02 PM - WEATHERMAP: Poller[0] DEBUG: [Reset@Weathermap.class.php:403] [Map 4] hfc.conf: Adding default map colour set.
07/30/2015 07:55:02 PM - WEATHERMAP: Poller[0] DEBUG: [CopyFrom@WeatherMapLink.class.php:145] [Map 4] hfc.conf: Initialising LINK DEFAULT from :: DEFAULT ::
07/30/2015 07:55:02 PM - WEATHERMAP: Poller[0] DEBUG: [Reset@WeatherMapLink.class.php:119] [Map 4] hfc.conf: Resetting DEFAULT with :: DEFAULT ::
07/30/2015 07:55:02 PM - WEATHERMAP: Poller[0] DEBUG: [Reset@Weathermap.class.php:378] [Map 4] hfc.conf: Creating actual DEFAULT LINK from :: DEFAULT ::
07/30/2015 07:55:02 PM - WEATHERMAP: Poller[0] DEBUG: [CopyFrom@WeatherMapNode.class.php:731] [Map 4] hfc.conf: Initialising NODE DEFAULT from :: DEFAULT ::
07/30/2015 07:55:02 PM - WEATHERMAP: Poller[0] DEBUG: [Reset@WeatherMapNode.class.php:707] [Map 4] hfc.conf: Resetting DEFAULT with :: DEFAULT ::
07/30/2015 07:55:02 PM - WEATHERMAP: Poller[0] DEBUG: [Reset@Weathermap.class.php:370] [Map 4] hfc.conf: Creating actual DEFAULT NODE from :: DEFAULT ::
07/30/2015 07:55:02 PM - WEATHERMAP: Poller[0] DEBUG: [Reset@WeatherMapNode.class.php:707] [Map 4] hfc.conf: Resetting :: DEFAULT :: with :: DEFAULT ::
07/30/2015 07:55:02 PM - WEATHERMAP: Poller[0] DEBUG: [Reset@Weathermap.class.php:352] [Map 4] hfc.conf: Creating ':: DEFAULT ::' DEFAULT NODE
07/30/2015 07:55:02 PM - WEATHERMAP: Poller[0] DEBUG: [Reset@WeatherMapLink.class.php:119] [Map 4] hfc.conf: Resetting :: DEFAULT :: with :: DEFAULT ::
07/30/2015 07:55:02 PM - WEATHERMAP: Poller[0] DEBUG: [Reset@Weathermap.class.php:343] [Map 4] hfc.conf: Creating ':: DEFAULT ::' DEFAULT LINK
07/30/2015 07:55:02 PM - WEATHERMAP: Poller[0] DEBUG: [weathermap_memory_check@poller-common.php:11] [Map 4] hfc.conf: MEM starting 0: memory_get_usage() says 7.5MBytes used. Limit is 512M
07/30/2015 07:55:02 PM - WEATHERMAP: Poller[0] [Map 4] hfc.conf: Map: /var/opt/cacti-0.8.8c/plugins/weathermap/configs/hfc.conf -> /var/opt/cacti-0.8.8c/plugins/weathermap/output/760a4b085177ca951734.html & /var/opt/cacti-0.8.8c/plugins/weathermap/output/760a4b085177ca951734.png
07/30/2015 07:55:02 PM - WEATHERMAP: Poller[0] DEBUG: [weathermap_run_maps@poller-common.php:120] [Map 4] hfc.conf: FIRST TOUCH
07/30/2015 07:55:02 PM - WEATHERMAP: Poller[0] DEBUG: [weathermap_run_maps@poller-common.php:109] Iterating all maps.
07/30/2015 07:55:02 PM - WEATHERMAP: Poller[0] DEBUG: [weathermap_memory_check@poller-common.php:11] MEM Initial: memory_get_usage() says 7.5MBytes used. Limit is 512M
07/30/2015 07:55:02 PM - WEATHERMAP: Poller[0] Weathermap 0.97c starting - DEBUG mode is on
Last edited by johnsjohns on Fri Jul 31, 2015 2:23 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:

Re: Error This map hasn't been created yet.

Post by Howie »

That isn't a complete log. It should finish with a WEATHERMAP STATS line. What's the last line? (top line in Cacti web UI)
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!)
johnsjohns
Posts: 9
Joined: Mon Jul 27, 2015 4:13 pm
Location: São Paulo - Brasil

Re: Error This map hasn't been created yet.

Post by johnsjohns »

that IS the last line

07/30/2015 07:55:02 PM - WEATHERMAP: Poller[0] DEBUG: [LoadPlugins@Weathermap.class.php:720] [Map 4] hfc.conf: Loaded data Plugin class ._WeatherMapDataSource_cactihost from ._WeatherMapDataSource_cactihost.php
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Error This map hasn't been created yet.

Post by Howie »

Then from the command-line, I would try "php weathermap-cacti-rebuild.php" which should run the same as the poller. Hopefully it will die with a PHP error message so we have a clue what the problem is...
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!)
johnsjohns
Posts: 9
Joined: Mon Jul 27, 2015 4:13 pm
Location: São Paulo - Brasil

Re: Error This map hasn't been created yet.

Post by johnsjohns »

That was the result

PHP Fatal error: Class '._WeatherMapDataSource_cactihost' not found in /var/opt /cacti-0.8.8c/plugins/weathermap/lib/Weathermap.class.php on line 721
07/31/2015 07:20:35 PM - WEATHERMAP: Poller[0] Weathermap 0.97c starting - Norma l logging mode. Turn on DEBUG in Cacti for more information

07/31/2015 07:20:35 PM - WEATHERMAP: Poller[0] [Map 4] hfc.conf: Map: /var/opt/c acti-0.8.8c/plugins/weathermap/configs/hfc.conf -> /var/opt/cacti-0.8.8c/plugins /weathermap/output/760a4b085177ca951734.html & /var/opt/cacti-0.8.8c/plugins/wea thermap/output/760a4b085177ca951734.png
Mac OS X 2¢ÔATTRÔ<<com.apple.quarantineq/0002;54942924;Safari;85B 8E65D-0E38-4C78-819F-BCC3D1C87DFF
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Error This map hasn't been created yet.

Post by Howie »

OK... not sure what the Mac OS X stuff is, but for the moment, if you rename the lib/datasources/WeatherMapDataSource_cactihost.php so that it doesn't have a .php extension, does that get you further? It will disable one type of target for weathermap maps, but it's not a showstopper, and we can work out if that file is corrupted afterwards.
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!)
johnsjohns
Posts: 9
Joined: Mon Jul 27, 2015 4:13 pm
Location: São Paulo - Brasil

Re: Error This map hasn't been created yet.

Post by johnsjohns »

Howie wrote:OK... not sure what the Mac OS X stuff is, but for the moment, if you rename the lib/datasources/WeatherMapDataSource_cactihost.php so that it doesn't have a .php extension, does that get you further? It will disable one type of target for weathermap maps, but it's not a showstopper, and we can work out if that file is corrupted afterwards.

The file lib/datasources/WeatherMapDataSource_cactihost.php do not exist
johnsjohns
Posts: 9
Joined: Mon Jul 27, 2015 4:13 pm
Location: São Paulo - Brasil

Re: Error This map hasn't been created yet.

Post by johnsjohns »

johnsjohns wrote:
Howie wrote:OK... not sure what the Mac OS X stuff is, but for the moment, if you rename the lib/datasources/WeatherMapDataSource_cactihost.php so that it doesn't have a .php extension, does that get you further? It will disable one type of target for weathermap maps, but it's not a showstopper, and we can work out if that file is corrupted afterwards.

The file lib/datasources/WeatherMapDataSource_cactihost.php do not exist

Sorry, I finded the file, renamed, but still the same error
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Error This map hasn't been created yet.

Post by Howie »

Please remove the file then. I don't see how you would get the same error - it is looking for *.php files in that directory, and it should no longer match.
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!)
johnsjohns
Posts: 9
Joined: Mon Jul 27, 2015 4:13 pm
Location: São Paulo - Brasil

Re: Error This map hasn't been created yet.

Post by johnsjohns »

Howie wrote:Please remove the file then. I don't see how you would get the same error - it is looking for *.php files in that directory, and it should no longer match.
I removed the file, and the same error again

PHP Fatal error: Class '._WeatherMapDataSource_cactithold' not found in /var/opt/cacti-0.8.8c/plugins/weathermap/lib/Weathermap.class.php on line 721
08/01/2015 04:56:28 PM - WEATHERMAP: Poller[0] Weathermap 0.97c starting - Normal logging mode. Turn on DEBUG in Cacti for more information

08/01/2015 04:56:28 PM - WEATHERMAP: Poller[0] [Map 4] hfc.conf: Map: /var/opt/cacti-0.8.8c/plugins/weathermap/configs/hfc.conf -> /var/opt/cacti-0.8.8c/plugins/weathermap/output/760a4b085177ca951734.html & /var/opt/cacti-0.8.8c/plugins/weathermap/output/760a4b085177ca951734.png
Mac OS X 2¢ÔATTRÔ<<com.apple.quarantineq/0002;54942924;Safari;85B8E65D-0E38-4C78-819F-BCC3D1C87DFF
johnsjohns
Posts: 9
Joined: Mon Jul 27, 2015 4:13 pm
Location: São Paulo - Brasil

Re: Error This map hasn't been created yet.

Post by johnsjohns »

these are de files in /lid/datasources

._README.txt
README.txt
._WeatherMapDataSource_dbsample.php
WeatherMapDataSource_dbsample.php
._WeatherMapDataSource_dsstats.php
WeatherMapDataSource_dsstats.php
._WeatherMapDataSource_external.php.disabled
WeatherMapDataSource_external.php.disabled
._WeatherMapDataSource_fping.php
WeatherMapDataSource_fping.php
._WeatherMapDataSource_mrtg.php
WeatherMapDataSource_mrtg.php
._WeatherMapDataSource_rrd.php
WeatherMapDataSource_rrd.php
._WeatherMapDataSource_skeleton.php.txt
WeatherMapDataSource_skeleton.php.txt
._WeatherMapDataSource_snmp.php
WeatherMapDataSource_snmp.php
._WeatherMapDataSource_static.php
WeatherMapDataSource_static.php
._WeatherMapDataSource_tabfile.php
WeatherMapDataSource_tabfile.php
._WeatherMapDataSource_time.php
WeatherMapDataSource_time.php
._WeatherMapDataSource_wmdata.php
WeatherMapDataSource_wmdata.php


Is that right?
johnsjohns
Posts: 9
Joined: Mon Jul 27, 2015 4:13 pm
Location: São Paulo - Brasil

Re: Error This map hasn't been created yet.

Post by johnsjohns »

Now changed to

PHP Fatal error: Class '._WeatherMapDataSource_dbsample' not found in /var/opt/cacti-0.8.8c/plugins/weathermap/lib/Weathermap.class.php on line 721
08/01/2015 05:22:26 PM - WEATHERMAP: Poller[0] Weathermap 0.97c starting - Normal logging mode. Turn on DEBUG in Cacti for more information

08/01/2015 05:22:26 PM - WEATHERMAP: Poller[0] [Map 4] hfc.conf: Map: /var/opt/cacti-0.8.8c/plugins/weathermap/configs/hfc.conf -> /var/opt/cacti-0.8.8c/plugins/weathermap/output/760a4b085177ca951734.html & /var/opt/cacti-0.8.8c/plugins/weathermap/output/760a4b085177ca951734.png
Mac OS X 2¢ÔATTRÔ<<com.apple.quarantineq/0002;54942924;Safari;85B8E65D-0E38-4C78-819F-BCC3D1C87DFF
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Error This map hasn't been created yet.

Post by Howie »

Wait a sec... what are all those files beginning with . ?

Those shouldn't be there. I think it's probably trying to load those as datasource plugins.
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!)
johnsjohns
Posts: 9
Joined: Mon Jul 27, 2015 4:13 pm
Location: São Paulo - Brasil

Re: Error This map hasn't been created yet.

Post by johnsjohns »

Howie wrote:Wait a sec... what are all those files beginning with . ?

Those shouldn't be there. I think it's probably trying to load those as datasource plugins.
I removed all those files beginning with ._ from all weathermaps folders, and its working!!!!

Thank you!!
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests