Issue After Cacti Upgrade

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
kelbyc
Cacti User
Posts: 52
Joined: Mon Nov 28, 2005 8:50 am

Issue After Cacti Upgrade

Post by kelbyc »

I've updated my windows install of Cacti to 1.2.26. All is well except weathermap. I'm currently running 1.1 version of weathermap. The maps are being created correctly but I'm seeing the following error in my Cacti Logs:
PLUGIN WARNING: Plugin 'weathermap' is attempting to call 'api_plugin_register_realm' improperly in function 'weathermap_config_arrays'

I've tried updating weathermap to the latest version from github but it completely crashes cacti with php errors. Here are a few of those errors:
ERROR PHP ERROR: Uncaught Error: Class 'index' not found in C:\inetpub\wwwroot\cacti\plugins\weathermap\lib\Weathermap.class.php:744 Stack trace: #0 C:\inetpub\wwwroot\cacti\plugins\weathermap\lib\Weathermap.class.php(434): WeatherMap->LoadPlugins('data', 'lib\\datasources') #1 C:\inetpub\wwwroot\cacti\plugins\weathermap\lib\Weathermap.class.php(325): WeatherMap->Reset() #2 C:\inetpub\wwwroot\cacti\plugins\weathermap\lib\poller-common.php(150): WeatherMap->__construct() #3 C:\inetpub\wwwroot\cacti\plugins\weathermap\setup.php(778): weathermap_run_maps('C:\\inetpub\\wwwr...') #4 C:\inetpub\wwwroot\cacti\lib\plugins.php(231): weathermap_poller_bottom(Array) #5 C:\inetpub\wwwroot\cacti\lib\plugins.php(89): api_plugin_run_plugin_hook('poller_bottom', 'weathermap', 'weathermap_poll...', Array) #6 C:\inetpub\wwwroot\cacti\poller.php(917): api_plugin_hook('poller_bottom') #7 {main} thrown in file: C:\inetpub\wwwroot\cacti\plugins\weathermap\lib\Weathermap.class.php on line: 744

If I copy my current 1.1 version back to my plugins folder all is well except for the multiple errors about api_plugin_register_realm

any suggestions?
User avatar
TheWitness
Developer
Posts: 16897
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Issue After Cacti Upgrade

Post by TheWitness »

Version 1.3 is out. There is only 1 outstanding bug I think.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests