Hi
I met one problem with weathermap install on SUSE 11 sp3 with cacti 1.2.16 , weathermap version is 0.98a only for cacti 1.x.x.
when I install weathermap ,it comes out thie error
2021/04/28 07:04:48 - CMDPHP SQL Backtrace: (/plugins.php[25]:include(), /include/auth.php[28]:require_once(), /include/global.php[504]:include_once(), /include/global_arrays.php[2730]:api_plugin_hook(), /lib/plugins.php[74]:api_plugin_run_plugin_hook(), /lib/plugins.php[177]:weathermap_config_arrays(), /plugins/weathermap/setup.php[469]:api_plugin_register_realm(), /lib/plugins.php[975]:db_execute_prepared())
2021/04/28 07:04:48 - CMDPHP ERROR: A DB Exec Failed!, Error: Column 'user_id' cannot be null
and when i enable weathermap , this error comes out
04/28/2021 15:30:03 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'weathermap'
04/28/2021 15:30:03 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
04/28/2021 15:30:03 - ERROR PHP ERROR in Plugin 'weathermap': Uncaught Error: Call to a member function prepare() on null in /srv/www/htdocs/cacti/plugins/weathermap/lib/poller-common.php:104 Stack trace: #0 /srv/www/htdocs/cacti/plugins/weathermap/setup.php(778): weathermap_run_maps('/srv/www/htdocs...') #1 /srv/www/htdocs/cacti/lib/plugins.php(177): weathermap_poller_bottom(Array) #2 /srv/www/htdocs/cacti/lib/plugins.php(74): api_plugin_run_plugin_hook('poller_bottom', 'weathermap', 'weathermap_poll...', Array) #3 /srv/www/htdocs/cacti/poller.php(823): api_plugin_hook('poller_bottom') #4 {main} thrown in file: /srv/www/htdocs/cacti/plugins/weathermap/lib/poller-common.php on line: 104
do someone know the reason ?
all cacti folders are user rights are 777
/srv/www/htdocs/cacti/plugins # dir
-rwxrwxrwx 1 cacti hpsmh 40 Dec 1 02:19 index.php
drwxrwxrwx 1 cacti users 754 Apr 20 10:19 weathermap
weathermap failed to setup
Moderators: Developers, Moderators
Re: weathermap failed to setup
Moving to weathermap forum. Also, since you are using cacti 1.2.16, are you using the version of weathermap that is compatible with 1.2.X?
Re: weathermap failed to setup
hi cigamit
the newest version for cacti is 0.98a , it is enable to use for 1.2.16 , but for my system there is some issue .
the newest version for cacti is 0.98a , it is enable to use for 1.2.16 , but for my system there is some issue .
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: weathermap failed to setup
Are you using the version from here: https://github.com/thurban/plugin_weathermap ?
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Re: weathermap failed to setup
Hi Phalekphalek wrote: ↑Wed Jun 02, 2021 2:38 pm Are you using the version from here: https://github.com/thurban/plugin_weathermap ?
Yes ,I do use this version and download from this link, it meets the problem , now i have to use weathermap-standalone get data from cacti to meet our request and it works.
Who is online
Users browsing this forum: No registered users and 3 guests