Does the regular plugin part produce maps OK? The error is caused by a missing function in your GD library. I would have thought that the map-generation side of things would fail too. Try adding (say) the example.conf file to your map list, and see if it is generated. If it isn't (after 5-10 minutes), then have a look in your cacti.log. The short version is that you probably need to upgrade your GD library, and possibly recompile your PHP to use the new library.flipflap wrote: Fatal error: Call to undefined function imagecreatetruecolor() in c:\Inetpub\wwwroot\cacti\plugins\weathermap\Weathermap.class.php on line 2962
what could be causing it? thanks for the help.
PHP Network Weathermap 0.8 (now 0.9)
Moderators: Developers, Moderators
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
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!)
what do you mean by regular plugin part? my cacti is installed in win2k server. i don't think there is a gd library there. thanks for the replyHowie wrote:Does the regular plugin part produce maps OK? The error is caused by a missing function in your GD library. I would have thought that the map-generation side of things would fail too. Try adding (say) the example.conf file to your map list, and see if it is generated. If it isn't (after 5-10 minutes), then have a look in your cacti.log. The short version is that you probably need to upgrade your GD library, and possibly recompile your PHP to use the new library.flipflap wrote: Fatal error: Call to undefined function imagecreatetruecolor() in c:\Inetpub\wwwroot\cacti\plugins\weathermap\Weathermap.class.php on line 2962
what could be causing it? thanks for the help.
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
OK. Read the installation guide for Weathermap. Follow through the part about adding an example map, and see if that works. You should be able to get a map to appear under the Weathermap tab in Cacti. If that doesn't work, check your cacti.log file for lines that contain "WEATHERMAP", to see if there are any errors to explain why.flipflap wrote:what do you mean by regular plugin part? my cacti is installed in win2k server. i don't think there is a gd library there. thanks for the reply
You will need the GD PHP module for weathermap to work though. You can find out if it's installed by running php -m from a command prompt. Look for 'gd' in the list of modules that it produces. You might need a newer version of gd to get the createimagetruecolor() function, too.
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!)
got this from cacti log
08/12/2006 07:05:31 PM - WEATHERMAP: Poller[0] Required modules for PHP Weathermap were not present. Not running.
Available in your command-line php program. Please check the output from 'php -i' and your 'php.ini' to be sure!
IMPORTANT: Just because mod_php and php_info() shows gd in a webpage, it doesn't mean it's
08/12/2006 07:05:31 PM - WEATHERMAP: Poller[0]
No image (gd) extension is loaded. This is required by weathermap.
08/12/2006 07:05:31 PM - WEATHERMAP: Poller[0]
08/12/2006 07:05:31 PM - WEATHERMAP: Poller[0] Weathermap 0.82 in da house
got this from php -m
[PHP Modules]
bcmath
calendar
com_dotnet
ctype
dom
ftp
iconv
libxml
mysql
odbc
pcre
session
SimpleXML
snmp
sockets
SPL
SQLite
standard
tokenizer
wddx
xml
zlib
noob question --> how do i get the gd php module?
browse gd website
told me that it's not enabled by default and would just have to uncomment an extension for it to work i'll try it first. thanks
08/12/2006 07:05:31 PM - WEATHERMAP: Poller[0] Required modules for PHP Weathermap were not present. Not running.
Available in your command-line php program. Please check the output from 'php -i' and your 'php.ini' to be sure!
IMPORTANT: Just because mod_php and php_info() shows gd in a webpage, it doesn't mean it's
08/12/2006 07:05:31 PM - WEATHERMAP: Poller[0]
No image (gd) extension is loaded. This is required by weathermap.
08/12/2006 07:05:31 PM - WEATHERMAP: Poller[0]
08/12/2006 07:05:31 PM - WEATHERMAP: Poller[0] Weathermap 0.82 in da house
got this from php -m
[PHP Modules]
bcmath
calendar
com_dotnet
ctype
dom
ftp
iconv
libxml
mysql
odbc
pcre
session
SimpleXML
snmp
sockets
SPL
SQLite
standard
tokenizer
wddx
xml
zlib
noob question --> how do i get the gd php module?
browse gd website
told me that it's not enabled by default and would just have to uncomment an extension for it to work i'll try it first. thanks
Hi,
I Install Plugin arch.
Then Install weathermap as plugin
Changed permission weathermap directory as nobody:nobody ( inc. all subfolders and files)
I set cacti log as DEBUG.
I set some config file in configs. dir.
But still there is no graph in weathermap tab.
My cacti log file says that:
I Install Plugin arch.
Then Install weathermap as plugin
Changed permission weathermap directory as nobody:nobody ( inc. all subfolders and files)
I set cacti log as DEBUG.
I set some config file in configs. dir.
But still there is no graph in weathermap tab.
My cacti log file says that:
What is the problem you think?09/25/2006 11:11:35 AM - WEATHERMAP: Poller[0] Weathermap 0.82 in da house
09/25/2006 11:11:35 AM - WEATHERMAP: Poller[0] Engaging Weathermap DEBUG mode
09/25/2006 11:11:35 AM - WEATHERMAP: Poller[0] Iterating all maps.
09/25/2006 11:11:35 AM - WEATHERMAP: Poller[0] Iterated all 0 maps.
09/25/2006 11:11:35 AM - WEATHERMAP: Poller[0] Weathermap has left the building
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
I think the problem is that you didn't go into the Manage.. Weathermaps page and add the config files to the list there.TFC wrote:Hi,
I Install Plugin arch.
Then Install weathermap as plugin
Changed permission weathermap directory as nobody:nobody ( inc. all subfolders and files)
I set cacti log as DEBUG.
I set some config file in configs. dir.
But still there is no graph in weathermap tab.
My cacti log file says that:What is the problem you think?09/25/2006 11:11:35 AM - WEATHERMAP: Poller[0] Weathermap 0.82 in da house
09/25/2006 11:11:35 AM - WEATHERMAP: Poller[0] Engaging Weathermap DEBUG mode
09/25/2006 11:11:35 AM - WEATHERMAP: Poller[0] Iterating all maps.
09/25/2006 11:11:35 AM - WEATHERMAP: Poller[0] Iterated all 0 maps.
09/25/2006 11:11:35 AM - WEATHERMAP: Poller[0] Weathermap has left the building
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!)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
What is the name of the file? I don't think it will treat any files differently, but just in case...TFC wrote:Yes.
U r right. But still I have one problem.
I have three config file. But I can see only two files when I want to add.
I check the permission of this file there is no difference.
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!)
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
That's really weird! I don't use the poller cacheTFC wrote:I solve it.
When I clear the poller cache, I can see that config 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!)
I dont know how but when I did this everything is okHowie wrote:That's really weird! I don't use the poller cacheTFC wrote:I solve it.
When I clear the poller cache, I can see that config file.
Another question is:
I have two links between two nodes.
But I cant see both links at the same time.
I use VIA parameter.
Here is the config:
Code: Select all
NODE MTP-CR-02
LABEL MTP-CR-02
POSITION 640 464
NODE SGT-CR-02
LABEL SGT-CR-02
POSITION 640 600
LINK MTP-CR-02-SGT-CR-02
INFOURL http://10.200.167.214/cacti/graph.php?local_graph_id=3177&rra_id=all
OVERLIBGRAPH http://10.200.167.214/cacti/graph_image.php?local_graph_id=3177&rra_id=1&graph_nolegend=true&graph_height=100&graph_width=300
TARGET /www/htdocs/cacti/rra/mtpcr02_traffic_in_3633.rrd
VIA 600 535
WIDTH 5
NODES MTP-CR-02 SGT-CR-02
LINK MTP-CR-02-SGT-CR-02
INFOURL http://10.200.167.214/cacti/graph.php?rra_id=all&local_graph_id=3307
OVERLIBGRAPH http://10.200.167.214/cacti/graph_image.php?local_graph_id=3307&rra_id=1&graph_nolegend=true&graph_height=100&graph_width=300
TARGET /www/htdocs/cacti/rra/mtpcr02_traffic_in_3780.rrd
VIA 680 535
WIDTH 5
NODES MTP-CR-02.1 SGT-CR-02
I always see that one:
Code: Select all
LINK MTP-CR-02-SGT-CR-02
INFOURL http://10.200.167.214/cacti/graph.php?local_graph_id=3177&rra_id=all
OVERLIBGRAPH http://10.200.167.214/cacti/graph_image.php?local_graph_id=3177&rra_id=1&graph_nolegend=true&graph_height=100&graph_width=300
TARGET /www/htdocs/cacti/rra/mtpcr02_traffic_in_3633.rrd
VIA 600 535
WIDTH 5
NODES MTP-CR-02 SGT-CR-02
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Both the LINKs have the same name. Rename one or both of them (e.g. MTP-CR-02-SGT-CR-02-a and MTP-CR-02-SGT-CR-02-b). Otherwise the second one just overwrites the first one.TFC wrote:I dont know how but when I did this everything is okHowie wrote:That's really weird! I don't use the poller cacheTFC wrote:I solve it.
When I clear the poller cache, I can see that config file.
Another question is:
I have two links between two nodes.
But I cant see both links at the same time.
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!)
How to fix this problem I cant see graph map
09/26/2006 04:50:03 PM - WEATHERMAP: Poller[0] Required modules for PHP Weathermap were not present. Not running.
Available in your command-line php program. Please check the output from 'php -i' and your 'php.ini' to be sure!
IMPORTANT: Just because mod_php and php_info() shows gd in a webpage, it doesn't mean it's
09/26/2006 04:50:03 PM - WEATHERMAP: Poller[0]
No image (gd) extension is loaded. This is required by weathermap.
09/26/2006 04:50:03 PM - WEATHERMAP: Poller[0]
09/26/2006 04:50:03 PM - WEATHERMAP: Poller[0] Weathermap 0.82 in da house
Available in your command-line php program. Please check the output from 'php -i' and your 'php.ini' to be sure!
IMPORTANT: Just because mod_php and php_info() shows gd in a webpage, it doesn't mean it's
09/26/2006 04:50:03 PM - WEATHERMAP: Poller[0]
No image (gd) extension is loaded. This is required by weathermap.
09/26/2006 04:50:03 PM - WEATHERMAP: Poller[0]
09/26/2006 04:50:03 PM - WEATHERMAP: Poller[0] Weathermap 0.82 in da house
Who is online
Users browsing this forum: No registered users and 0 guests