Weathermap Error

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
golef
Posts: 6
Joined: Thu Mar 06, 2008 6:14 pm
Location: USA

Weathermap Error

Post by golef »

I seem to be getting an error when the poller runs it does generate the maps and works fine, I am just attempting to figure out the following error.

Warning: key(): Passed variable is not an array or object in C:\Inetpub\wwwroot\
cacti\plugins\weathermap\setup.php on line 457

I did look at the setup.php and I think the problem is the 'times' but I don't know for sure below is the offending line from setup.php.

if( isset( $rrd_update_array{$file}['times'][key($rrd_update_array[$file]['times'])]{$dsname} ) )
Last edited by golef on Wed Dec 31, 2008 3:27 pm, edited 1 time in total.
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

Which version of Weathermap is this? (and Cacti, PHP, and OS)

That's a new one to me...
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!)
golef
Posts: 6
Joined: Thu Mar 06, 2008 6:14 pm
Location: USA

Vesion Info

Post by golef »

I am running the Catci version of weather map with plug in version 2.1

I'm not sure the error has not been there all along I have been attempting to get the boost plug in working and when I enable it weather map will not generate maps that is when I noticed the error in the poller window.

My cacti installation is running on windows with plug in version 2.1.
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

But... WHICH version of weathermap? (0.94, 0.95, 0.95a,0.95b?)
and WHICH version of Cacti, PHP etc...
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!)
golef
Posts: 6
Joined: Thu Mar 06, 2008 6:14 pm
Location: USA

Version Info

Post by golef »

Weather Map 0.95B
Cacti 0.8.7b
PHP 5.2.5

Thanks,
Greg
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests