weathermap to show int status instead of traffic utilization

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

User avatar
Pucho
Cacti User
Posts: 185
Joined: Wed Jul 20, 2016 8:00 pm

Re: weathermap to show int status instead of traffic utiliza

Post by Pucho »

Let me know if you want me to run it in debug mode or whatever.

The issue looks related to Weathermap.Class.php, I replaced with the previous version and worked but of course there is this infourl issue.

Cheers,
Cacti - 1.2.15
Poller Type - Spine
Weathermap 0.98a
Server Info - Linux 3.10.0 - Centos 7
Web Server - Apache/2.4.6 PHP 5.4.16
MySQL - 5.5 ;RRDTool - 1.4.8 ;SNMP - 5.7.2
Religion - Anti forum pets
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: weathermap to show int status instead of traffic utiliza

Post by Howie »

I got a chance to look at this - it's a bit strange. The output folder contains valid png files, but when the web interface shows them, they are 'broken', and apparently have a few extra blank characters at the beginning...

D'oh - another silly one. At the beginning of Weathermap.class.php, there are 4 spaces before the <?php tag. Just delete them.
Attachments
What the browser gets (extra data)
What the browser gets (extra data)
from-server.PNG (43.62 KiB) Viewed 1311 times
On the server (displays fine)
On the server (displays fine)
on-server.PNG (4.61 KiB) Viewed 1311 times
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!)
User avatar
Pucho
Cacti User
Posts: 185
Joined: Wed Jul 20, 2016 8:00 pm

Re: weathermap to show int status instead of traffic utiliza

Post by Pucho »

All good now! Thanks Howie.
Cacti - 1.2.15
Poller Type - Spine
Weathermap 0.98a
Server Info - Linux 3.10.0 - Centos 7
Web Server - Apache/2.4.6 PHP 5.4.16
MySQL - 5.5 ;RRDTool - 1.4.8 ;SNMP - 5.7.2
Religion - Anti forum pets
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests