I have been running Cacti OK for almost a year now and my manager is interested in getting the Weathermap setup.
I set it up according to the Weathermap website and I have the weathermap named tab up and running. When it comes to choosing the conf file, I copied weathermap.conf to the config folder and images to the /images folder. The problem is when click the weathermap tab I get nothing but a box with a red X. I then tried with the in built image files using the php editor but I still get the red box.
The Output folder has images showing everything correctly, just not on the weathermap tab. If anyone could give me some help I'd be hugely satisfied!
Thanks
Here is my config file (this is just a test one to see if the background image is working, I will fill code the nodes and links later)
Code: Select all
# Automatically generated by php-weathermap v0.97a
BACKGROUND images/background1_950x625_197.jpg
HTMLSTYLE overlib
TITLE Network Overview
HTMLOUTPUTFILE weathermap.html
IMAGEOUTPUTFILE weathermap.png
KEYPOS DEFAULT 10 400 Traffic Load
KEYTEXTCOLOR 0 0 0
KEYOUTLINECOLOR 0 0 0
KEYBGCOLOR 255 255 255
BGCOLOR 255 255 255
TITLECOLOR 0 0 0
TIMECOLOR 0 0 0
SCALE DEFAULT 0 0 192 192 192
SCALE DEFAULT 0 1 255 255 255
SCALE DEFAULT 1 10 140 0 255
SCALE DEFAULT 10 25 32 32 255
SCALE DEFAULT 25 40 0 192 255
SCALE DEFAULT 40 55 0 240 0
SCALE DEFAULT 55 70 240 240 0
SCALE DEFAULT 70 85 255 192 0
SCALE DEFAULT 85 100 255 0 0
SET key_hidezero_DEFAULT 1
# End of global section
# TEMPLATE-only NODEs:
# TEMPLATE-only LINKs:
# regular NODEs:
NODE node1
LABEL node1
POSITION 200 200
NODE node2
LABEL node2
POSITION 500 200
# regular LINKs:
LINK firstlink
NODES node1 node2
BANDWIDTH 30M
# That's All Folks!
Code: Select all
10/28/2011 03:55:51 PM - WEATHERMAP: Poller[0] STATS: Weathermap 0.97a run complete - Fri, 28 Oct 11 15:55:51 +0100: 1 maps were run in 2 seconds with 0 warnings.
10/28/2011 03:55:51 PM - WEATHERMAP: Poller[0] [Map 5] weathermap.conf: Wrote map to C:\Apache2\htdocs\cacti\plugins\weathermap\output\0b18f6247a508605b4f0.png and C:\Apache2\htdocs\cacti\plugins\weathermap\output\0b18f6247a508605b4f0.thumb.png
10/28/2011 03:55:50 PM - WEATHERMAP: Poller[0] [Map 5] weathermap.conf: About to write image file. If this is the last message in your log, increase memory_limit in php.ini [WMPOLL01]
10/28/2011 03:55:49 PM - WEATHERMAP: Poller[0] [Map 5] weathermap.conf: Map: C:\Apache2\htdocs\cacti\plugins\weathermap\configs\weathermap.conf -> C:\Apache2\htdocs\cacti\plugins\weathermap\output\0b18f6247a508605b4f0.html & C:\Apache2\htdocs\cacti\plugins\weathermap\output\0b18f6247a508605b4f0.png
10/28/2011 03:55:49 PM - WEATHERMAP: Poller[0] Weathermap 0.97a starting - Normal logging mode. Turn on DEBUG in Cacti for more information
10/28/2011 03:55:49 PM - SYSTEM STATS: Time:49.1203 Method:cmd.php Processes:1 Threads:N/A Hosts:12 HostsPerProcess:12 DataSources:920 RRDsProcessed:460
10/28/2011 03:55:06 PM - CMDPHP: Poller[0] Host[5] DS[9] WARNING: Result from SNMP not valid. Partial Result: U
10/28/2011 03:55:06 PM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'192.168.1.91', and OID:'.1.3.6.1.2.1.2.2.1.16.109'
10/28/2011 03:55:04 PM - CMDPHP: Poller[0] Host[5] DS[9] WARNING: Result from SNMP not valid. Partial Result: U
10/28/2011 03:55:04 PM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'192.168.1.91', and OID:'.1.3.6.1.2.1.2.2.1.10.109'
10/28/2011 03:50:39 PM - WEATHERMAP: Poller[0] STATS: Weathermap 0.97a run complete - Fri, 28 Oct 11 15:50:39 +0100: 1 maps were run in 1 seconds with 0 warnings.
10/28/2011 03:50:39 PM - WEATHERMAP: Poller[0] [Map 5] weathermap.conf: Wrote map to C:\Apache2\htdocs\cacti\plugins\weathermap\output\0b18f6247a508605b4f0.png and C:\Apache2\htdocs\cacti\plugins\weathermap\output\0b18f6247a508605b4f0.thumb.png
10/28/2011 03:50:38 PM - WEATHERMAP: Poller[0] [Map 5] weathermap.conf: About to write image file. If this is the last message in your log, increase memory_limit in php.ini [WMPOLL01]
10/28/2011 03:50:38 PM - WEATHERMAP: Poller[0] [Map 5] weathermap.conf: Map: C:\Apache2\htdocs\cacti\plugins\weathermap\configs\weathermap.conf -> C:\Apache2\htdocs\cacti\plugins\weathermap\output\0b18f6247a508605b4f0.html & C:\Apache2\htdocs\cacti\plugins\weathermap\output\0b18f6247a508605b4f0.png
10/28/2011 03:50:38 PM - WEATHERMAP: Poller[0] Weathermap 0.97a starting - Normal logging mode. Turn on DEBUG in Cacti for more information
10/28/2011 03:50:38 PM - SYSTEM STATS: Time:37.9028 Method:cmd.php Processes:1 Threads:N/A Hosts:12 HostsPerProcess:12 DataSources:920 RRDsProcessed:433
10/28/2011 03:50:06 PM - CMDPHP: Poller[0] Host[5] DS[9] WARNING: Result from SNMP not valid. Partial Result: U
10/28/2011 03:50:06 PM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'192.168.1.91', and OID:'.1.3.6.1.2.1.2.2.1.16.109'
10/28/2011 03:50:04 PM - CMDPHP: Poller[0] Host[5] DS[9] WARNING: Result from SNMP not valid. Partial Result: U
10/28/2011 03:50:03 PM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'192.168.1.91', and OID:'.1.3.6.1.2.1.2.2.1.10.109'
10/28/2011 03:45:43 PM - WEATHERMAP: Poller[0] STATS: Weathermap 0.97a run complete - Fri, 28 Oct 11 15:45:43 +0100: 1 maps were run in 0 seconds with 0 warnings.
10/28/2011 03:45:43 PM - WEATHERMAP: Poller[0] [Map 5] weathermap.conf: Wrote map to C:\Apache2\htdocs\cacti\plugins\weathermap\output\0b18f6247a508605b4f0.png and C:\Apache2\htdocs\cacti\plugins\weathermap\output\0b18f6247a508605b4f0.thumb.png