Weathermap not updating
Moderators: Developers, Moderators
-
- Posts: 3
- Joined: Fri Jun 05, 2009 8:02 am
Weathermap not updating
Hi have a CactiEZ server on running on VMWARE ESX server. I have recently expanded the disk using VMKFSTOOLS -X and extended the primary partition using GParted to give it the extra space.
Since doing this weathermap will not update (created date does not change), However the main cacti graphs are still being updated fine.
any idea what is causing the weathermap to not update?
Since doing this weathermap will not update (created date does not change), However the main cacti graphs are still being updated fine.
any idea what is causing the weathermap to not update?
-
- Posts: 3
- Joined: Fri Jun 05, 2009 8:02 am
when pressing the "recalculate all maps now" button it gives the following errors...
Warning: imagepng() [function.imagepng]: Unable to open '/var/www/html/plugins/weathermap/output/41601a837f84e4805dc3.png' for writing in /var/www/html/plugins/weathermap/Weathermap.class.php on line 2472
Warning: imagepng() [function.imagepng]: Unable to open '/var/www/html/plugins/weathermap/output/41601a837f84e4805dc3.thumb.png' for writing in /var/www/html/plugins/weathermap/Weathermap.class.php on line 2517
Warning: imagepng() [function.imagepng]: Unable to open '/var/www/html/plugins/weathermap/output/c7edd1651d57c257f22f.png' for writing in /var/www/html/plugins/weathermap/Weathermap.class.php on line 2472
Warning: imagepng() [function.imagepng]: Unable to open '/var/www/html/plugins/weathermap/output/c7edd1651d57c257f22f.thumb.png' for writing in /var/www/html/plugins/weathermap/Weathermap.class.php on line 2517
Warning: imagepng() [function.imagepng]: Unable to open '/var/www/html/plugins/weathermap/output/41601a837f84e4805dc3.png' for writing in /var/www/html/plugins/weathermap/Weathermap.class.php on line 2472
Warning: imagepng() [function.imagepng]: Unable to open '/var/www/html/plugins/weathermap/output/41601a837f84e4805dc3.thumb.png' for writing in /var/www/html/plugins/weathermap/Weathermap.class.php on line 2517
Warning: imagepng() [function.imagepng]: Unable to open '/var/www/html/plugins/weathermap/output/c7edd1651d57c257f22f.png' for writing in /var/www/html/plugins/weathermap/Weathermap.class.php on line 2472
Warning: imagepng() [function.imagepng]: Unable to open '/var/www/html/plugins/weathermap/output/c7edd1651d57c257f22f.thumb.png' for writing in /var/www/html/plugins/weathermap/Weathermap.class.php on line 2517
-
- Posts: 3
- Joined: Fri Jun 05, 2009 8:02 am
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Read the GIGANTIC WARNING about using Recalculate Now.
You are breaking the permissions every time you press it.
Do I need to add something else to that warning? What does it need to say to make it clearer what the problem is?
You are breaking the permissions every time you press it.
Do I need to add something else to that warning? What does it need to say to make it clearer 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!)
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 the same issue. The maps will refresh if I press the forbidden update button, but do nothing on their own. I have verified the permissions, and have NO ERRORS in the log files.
If it works with the recalculate now, How do I get it to work on its own?
If it works with the recalculate now, How do I get it to work on its own?
"So Long, and thanks for all the fish!" DA
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
What are the permissions of the output directory and the files in it?pconrad wrote:I have the same issue. The maps will refresh if I press the forbidden update button, but do nothing on their own. I have verified the permissions, and have NO ERRORS in the log files.
If it works with the recalculate now, How do I get it to work on its own?
Who is the owner of the output directory and the files in it?
What user does the poller run as?
What *does* appear in the log?
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 are the permissions of the output directory and the files in it?
drwxrwxrwx 2 cactiuser apache 4096 2009-08-13 16:06 output
[root@qsccacti01 weathermap]# cd output
[root@qsccacti01 output]# ls -l
total 88
-rwxrwxrwx 1 cactiuser apache 18995 2009-08-13 16:06 35e9ad5482a740d778d0.html
-rwxrwxrwx 1 cactiuser apache 23743 2009-08-13 16:06 35e9ad5482a740d778d0.png
-rwxrwxrwx 1 cactiuser apache 21762 2009-08-13 16:06 35e9ad5482a740d778d0.thumb.png
-rwxrwxrwx 1 cactiuser apache 62 2008-03-19 17:37 index.php
Who is the owner of the output directory and the files in it?
What user does the poller run as?
cactiuser
What *does* appear in the log?
see attached
drwxrwxrwx 2 cactiuser apache 4096 2009-08-13 16:06 output
[root@qsccacti01 weathermap]# cd output
[root@qsccacti01 output]# ls -l
total 88
-rwxrwxrwx 1 cactiuser apache 18995 2009-08-13 16:06 35e9ad5482a740d778d0.html
-rwxrwxrwx 1 cactiuser apache 23743 2009-08-13 16:06 35e9ad5482a740d778d0.png
-rwxrwxrwx 1 cactiuser apache 21762 2009-08-13 16:06 35e9ad5482a740d778d0.thumb.png
-rwxrwxrwx 1 cactiuser apache 62 2008-03-19 17:37 index.php
Who is the owner of the output directory and the files in it?
What user does the poller run as?
cactiuser
What *does* appear in the log?
see attached
"So Long, and thanks for all the fish!" DA
Here's output from Cacti log
08/13/2009 04:57:34 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "SELECT id FROM plugin_realms WHERE plugin = 'weathermap' AND file = 'weathermap-cacti-plugin-mgmt.php'"
08/13/2009 04:57:34 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "SELECT id FROM plugin_realms WHERE plugin = 'weathermap' AND file = 'weathermap-cacti-plugin.php'"
08/13/2009 04:57:34 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "SELECT id FROM plugin_realms WHERE plugin = 'weathermap' AND file = 'weathermap-cacti-plugin-mgmt.php'"
08/13/2009 04:57:34 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "SELECT id FROM plugin_realms WHERE plugin = 'weathermap' AND file = 'weathermap-cacti-plugin.php'"
08/13/2009 04:57:34 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "SELECT id FROM plugin_realms WHERE plugin = 'weathermap' AND file = 'weathermap-cacti-plugin-mgmt.php'"
08/13/2009 04:57:34 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "SELECT id FROM plugin_realms WHERE plugin = 'weathermap' AND file = 'weathermap-cacti-plugin.php'"
08/13/2009 04:57:34 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "SELECT id FROM plugin_realms WHERE plugin = 'weathermap' AND file = 'weathermap-cacti-plugin-mgmt.php'"
08/13/2009 04:57:34 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "SELECT id FROM plugin_realms WHERE plugin = 'weathermap' AND file = 'weathermap-cacti-plugin.php'"
"So Long, and thanks for all the fish!" DA
- Howie
- Cacti Guru User
- Posts: 5508
- Joined: Thu Sep 16, 2004 5:53 am
- Location: United Kingdom
- Contact:
Do you have the Weathermap 'quiet logging' turned on? I would expect to see at least 2 lines in the log (WEATHERMAP STATS and WEATHERMAP START) even with no maps configured... With DEBUG logging on, you should see a few dozen lines of logs per poller cycle, even without maps configured.
I don't think it's a permission issue either.
Did anything special happen at 16:06? (e.g. cacti upgrade, install other plugin, etc)
Does Weathermap show up in the Plugin Management page? Does it say 'Old Architecture (Running)'?
I don't think it's a permission issue either.
Did anything special happen at 16:06? (e.g. cacti upgrade, install other plugin, etc)
Does Weathermap show up in the Plugin Management page? Does it say 'Old Architecture (Running)'?
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!)
Weathermap working now
Re-installed Cacti, plugin architecture, and several plugins.
Weathermap is working properly now.
Weathermap shows up in the Plugin Management page. It says 'Old Architecture (Running)'.
Weathermap is working properly now.
Weathermap shows up in the Plugin Management page. It says 'Old Architecture (Running)'.
"So Long, and thanks for all the fish!" DA
Who is online
Users browsing this forum: No registered users and 0 guests