hello,
I have an problem whith my plugin Weathermap.
I have create my .conf, and when I clik on the weathermap button on cacti, I have : This map hasn't been created yet.
But when I do the commande : php weathermap --config configs/weathermap.conf --output output/out5.png --htmloutput output/weathermap_out2.html
I have my good graph in out5.png.
Of or can come this problem?
Thanks for you repli or idea.
weathermap problem
Moderators: Developers, Moderators
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Re: weathermap problem
Check the Cacti log file for lines with WEATHERMAP in them. If the poller is running weathermap OK, then you should get an error in there.arthur103 wrote:hello,
I have an problem whith my plugin Weathermap.
I have create my .conf, and when I clik on the weathermap button on cacti, I have : This map hasn't been created yet.
But when I do the commande : php weathermap --config configs/weathermap.conf --output output/out5.png --htmloutput output/weathermap_out2.html
I have my good graph in out5.png.
Of or can come this problem?
Thanks for you repli or idea.
If you don't see anything at all, then either: weathermap isn't installed right or, you have the Reports plugin, which needs to run after all other plugins (in the bottom of the list).
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!)
I have a similar issue. From the logs I see no errors and the html files and png files are generated, but the Weathermaps link always tells me I have no maps.
06/21/2006 06:31:48 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update weathermap_maps set sortorder=id where sortorder is null;"
06/21/2006 06:31:48 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update weathermap_maps set sortorder=id where sortorder is null or sortorder=0;"
06/21/2006 06:31:48 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select * from weathermap_maps where active='on'"
06/21/2006 06:31:48 PM - WEATHERMAP: Poller[0] Map: /opt/cacti/plugins/weathermap/configs/network.conf -> /opt/cacti/plugins/weathermap/output/weathermap_2.html & /opt/cacti/plugins/weathermap/output/weathermap_2.png
06/21/2006 06:31:48 PM - WEATHERMAP: Poller[0] Wrote map to /opt/cacti/plugins/weathermap/output/weathermap_2.png and /opt/cacti/plugins/weathermap/output/weathermap_thumb_2.png
06/21/2006 06:31:48 PM - WEATHERMAP: Poller[0] Wrote HTML to /opt/cacti/plugins/weathermap/output/weathermap_2.html
06/21/2006 06:31:48 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update weathermap_maps set titlecache='Core Network' where id=2"
06/21/2006 06:31:48 PM - WEATHERMAP: Poller[0] Map: /opt/cacti/plugins/weathermap/configs/atlantacolo.conf -> /opt/cacti/plugins/weathermap/output/weathermap_4.html & /opt/cacti/plugins/weathermap/output/weathermap_4.png
06/21/2006 06:31:48 PM - WEATHERMAP: Poller[0] Wrote map to /opt/cacti/plugins/weathermap/output/weathermap_4.png and /opt/cacti/plugins/weathermap/output/weathermap_thumb_4.png
06/21/2006 06:31:48 PM - WEATHERMAP: Poller[0] Wrote HTML to /opt/cacti/plugins/weathermap/output/weathermap_4.html
06/21/2006 06:31:48 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update weathermap_maps set titlecache='Atlanta Colo' where id=4"
Here is an LS from the output dir:
$ ls output/
atlantacolo.html
weathermap_2.html
weathermap_3.html
weathermap_4.html
weathermap_thumb_2.png
weathermap_thumb_4.png
atlantacolo.png
weathermap_2.png
weathermap_3.png
weathermap_4.png
weathermap_thumb_3.png
Any ideas? What could be wrong? Please let me know, thanks.
06/21/2006 06:31:48 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update weathermap_maps set sortorder=id where sortorder is null;"
06/21/2006 06:31:48 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update weathermap_maps set sortorder=id where sortorder is null or sortorder=0;"
06/21/2006 06:31:48 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select * from weathermap_maps where active='on'"
06/21/2006 06:31:48 PM - WEATHERMAP: Poller[0] Map: /opt/cacti/plugins/weathermap/configs/network.conf -> /opt/cacti/plugins/weathermap/output/weathermap_2.html & /opt/cacti/plugins/weathermap/output/weathermap_2.png
06/21/2006 06:31:48 PM - WEATHERMAP: Poller[0] Wrote map to /opt/cacti/plugins/weathermap/output/weathermap_2.png and /opt/cacti/plugins/weathermap/output/weathermap_thumb_2.png
06/21/2006 06:31:48 PM - WEATHERMAP: Poller[0] Wrote HTML to /opt/cacti/plugins/weathermap/output/weathermap_2.html
06/21/2006 06:31:48 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update weathermap_maps set titlecache='Core Network' where id=2"
06/21/2006 06:31:48 PM - WEATHERMAP: Poller[0] Map: /opt/cacti/plugins/weathermap/configs/atlantacolo.conf -> /opt/cacti/plugins/weathermap/output/weathermap_4.html & /opt/cacti/plugins/weathermap/output/weathermap_4.png
06/21/2006 06:31:48 PM - WEATHERMAP: Poller[0] Wrote map to /opt/cacti/plugins/weathermap/output/weathermap_4.png and /opt/cacti/plugins/weathermap/output/weathermap_thumb_4.png
06/21/2006 06:31:48 PM - WEATHERMAP: Poller[0] Wrote HTML to /opt/cacti/plugins/weathermap/output/weathermap_4.html
06/21/2006 06:31:48 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update weathermap_maps set titlecache='Atlanta Colo' where id=4"
Here is an LS from the output dir:
$ ls output/
atlantacolo.html
weathermap_2.html
weathermap_3.html
weathermap_4.html
weathermap_thumb_2.png
weathermap_thumb_4.png
atlantacolo.png
weathermap_2.png
weathermap_3.png
weathermap_4.png
weathermap_thumb_3.png
Any ideas? What could be wrong? Please let me know, thanks.
I have a similar problem. No output at all for weathermap in a debug level logfile after the poller runs. Weathermap plugin seems to be installed right. It is not rocket science afterall. I have the tab, I can add the config file. It just says in cacti that the map hasn't been generated yet. After the poller runs there is nothing at all in the output folder. It works fine manually just not in cacti.
gd.so is loaded (from /etc/php.d/gd.ini). These modules aren't loaded in the php.ini file anymore.
At the end of the poller run I see this error only:
I know that weathermap uses HTML_ImageMap.class.php so that makes me suspicious. However, as I said above, it works when run manually.
gd.so is loaded (from /etc/php.d/gd.ini). These modules aren't loaded in the php.ini file anymore.
At the end of the poller run I see this error only:
Code: Select all
PHP Fatal error: Cannot redeclare class html_imagemap_area_polygon in /usr/share/pear/HTML_ImageMap.class.php on line 140
Who is online
Users browsing this forum: No registered users and 2 guests