Error logs in Cacti and Weathermap Permission denied

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
aurelien93
Posts: 1
Joined: Sat Mar 09, 2024 5:37 pm

Error logs in Cacti and Weathermap Permission denied

Post by aurelien93 »

Hello,

i need your help :-)

Cacti works fine,
i installed Weathermap plugin but when i click on whethermap tab, i have a message : echec 401 permission dineid, please contact your cacti administrator.
when i check cacti log, i have messages below :


2024-03-11 11:42:34 - PLUGIN WARNING: Plugin 'weathermap' is attempting to call 'api_plugin_register_realm' improperly in function 'weathermap_config_arrays'
2024-03-11 11:42:34 - PLUGIN WARNING: Plugin 'weathermap' is attempting to call 'api_plugin_register_realm' improperly in function 'weathermap_config_arrays'
2024-03-11 11:42:34 - PLUGIN WARNING: Plugin 'weathermap' is attempting to call 'api_plugin_register_realm' improperly in function 'weathermap_config_arrays'
2024-03-11 11:42:34 - CMDPHP PHP ERROR Backtrace: (/clog.php[27]:include(), /include/auth.php[27]:require_once(), /include/global.php[547]:include_once(), /include/global_arrays.php[2926]:api_plugin_hook(), /lib/plugins.php[85]:include_once(), /lib/plugins.php[85]:CactiErrorHandler())
2024-03-11 11:42:34 - ERROR PHP DEPRECATED in Plugin 'weathermap': Array and string offset access syntax with curly braces is deprecated in file: /data/htdocs/cacti-1.2.26/plugins/weathermap/setup.php on line: 713
2024-03-11 11:42:34 - CMDPHP PHP ERROR Backtrace: (/clog.php[27]:include(), /include/auth.php[27]:require_once(), /include/global.php[547]:include_once(), /include/global_arrays.php[2926]:api_plugin_hook(), /lib/plugins.php[85]:include_once(), /lib/plugins.php[85]:CactiErrorHandler())
2024-03-11 11:42:34 - ERROR PHP DEPRECATED in Plugin 'weathermap': Array and string offset access syntax with curly braces is deprecated in file: /data/htdocs/cacti-1.2.26/plugins/weathermap/setup.php on line: 713
2024-03-11 11:42:34 - CMDPHP PHP ERROR Backtrace: (/clog.php[27]:include(), /include/auth.php[27]:require_once(), /include/global.php[547]:include_once(), /include/global_arrays.php[2926]:api_plugin_hook(), /lib/plugins.php[85]:include_once(), /lib/plugins.php[85]:CactiErrorHandler())
2024-03-11 11:42:34 - ERROR PHP DEPRECATED in Plugin 'weathermap': Array and string offset access syntax with curly braces is deprecated in file: /data/htdocs/cacti-1.2.26/plugins/weathermap/setup.php on line: 711
2024-03-11 11:42:34 - CMDPHP PHP ERROR Backtrace: (/clog.php[27]:include(), /include/auth.php[27]:require_once(), /include/global.php[547]:include_once(), /include/global_arrays.php[2926]:api_plugin_hook(), /lib/plugins.php[85]:include_once(), /lib/plugins.php[85]:CactiErrorHandler())
2024-03-11 11:42:34 - ERROR PHP DEPRECATED in Plugin 'weathermap': Array and string offset access syntax with curly braces is deprecated in file: /data/htdocs/cacti-1.2.26/plugins/weathermap/setup.php on line: 711


my OS is RedHat Enterprise Linux Server release 7.9 (Maipo)
my cacti is in 1.2.26 version
my weathermap is in 0.98a version.
my php is in PHP 7.4.33 version
Thanks for your time and your help.

Aurelien
cigamit
Developer
Posts: 3350
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Error logs in Cacti and Weathermap Permission denied

Post by cigamit »

Try this weathermap instead
https://github.com/Cacti/plugin_weathermap
User avatar
TheWitness
Developer
Posts: 16897
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Error logs in Cacti and Weathermap Permission denied

Post by TheWitness »

Version 1.3 I now released. Handles all the deprecation issues.
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 0 guests