Hello, I attempted to use the gui to edit weathermap but it doesn't appear to be working, this is the error in my logs:
2023/12/05 15:35:42 - CMDPHP PHP ERROR WARNING Backtrace: (/usr/local/share/cacti/plugins/weathermap/weathermap-cacti-plugin-editor.php[178]:setLinkProperties(), /usr/local/share/cacti/plugins/weathermap/lib/editor.actions.php[382]:WeatherMap->WriteConfig(), /usr/localroot@gobi:/root@malroroot@gobi:/#
I'm currently using PHP 7.3.31-1~deb10u5, I have no idea what the problem is.
Any help would be appreciated, thanks for reading!
Weathermap Editor Problem
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Weathermap Editor Problem
What WeatherMap version from where?
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?
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?
Re: Weathermap Editor Problem
Apologies for not replying.
I'm using weathermap 1.0 from https://github.com/Cacti/plugin_weathermap
Thanks.
I'm using weathermap 1.0 from https://github.com/Cacti/plugin_weathermap
Thanks.
Re: Weathermap Editor Problem
Try the develop. There is also a 1.1 release and soon to be a 1.2 from the looks of it.
Before history, there was a paradise, now dust.
Re: Weathermap Editor Problem
2024/01/08 10:42:56 - ERROR PHP NOTICE in Plugin 'weathermap': Undefined variable: objfile in file: /usr/local/share/cacti/plugins/weathermap/lib/poller-common.php on line: 176
2024/01/08 10:42:56 - CMDPHP PHP ERROR NOTICE Backtrace: (/index.php[25]:include(), /include/auth.php[27]:require_once(), /include/global.php[547]:include_once(), /include/global_arrays.php[2944]:api_plugin_hook(), /lib/plugins.php[89]:api_plugin_run_plugin_hook(), /lib/plugins.php[231]:weathermap_config_arrays(), /usr/local/share/cacti/plugins/weathermap/setup.php[571]:plugin_weathermap_upgrade(), /usr/local/share/cacti/plugins/weathermap/setup.php[152]:weathermap_repair_maps(), /usr/local/share/cacti/plugins/weathermap/lib/poller-common.php[176]:CactiErrorHandler())
2024/01/08 10:42:56 - WEATHERMAP WARNING: BACKGROUND file not found on disk: /usr/share/cacti/site/plugins/weathermap/ skipping! [WMPOLL10]
2024/01/08 10:43:01 - ERROR PHP NOTICE in Plugin 'weathermap': Undefined variable: objfile in file: /usr/local/share/cacti/plugins/weathermap/lib/poller-common.php on line: 176
2024/01/08 10:43:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/usr/local/share/cacti/plugins/weathermap/weathermap-cacti-plugin-mgmt.php[44]:include_once(), /include/auth.php[27]:require_once(), /include/global.php[547]:include_once(), /include/global_arrays.php[2944]:api_plugin_hook(), /lib/plugins.php[89]:api_plugin_run_plugin_hook(), /lib/plugins.php[231]:weathermap_config_arrays(), /usr/local/share/cacti/plugins/weathermap/setup.php[571]:plugin_weathermap_upgrade(), /usr/local/share/cacti/plugins/weathermap/setup.php[152]:weathermap_repair_maps(), /usr/local/share/cacti/plugins/weathermap/lib/poller-common.php[176]:CactiErrorHandler())
2024/01/08 10:43:01 - WEATHERMAP WARNING: BACKGROUND file not found on disk: /usr/share/cacti/site/plugins/weathermap/ skipping! [WMPOLL10]
2024/01/08 10:43:04 - SPINE: Poller[1] Device[56] ERROR: Problems parsing Multi SNMP OID! (oid: ), Set MAX_OIDS to 1 for this host to isolate bad OID
I updated to 1.1, and I'm getting this output in the logs. I'm assuming my version of php is wrong?
I'm using 7.3.31-1~deb10u5
2024/01/08 10:42:56 - CMDPHP PHP ERROR NOTICE Backtrace: (/index.php[25]:include(), /include/auth.php[27]:require_once(), /include/global.php[547]:include_once(), /include/global_arrays.php[2944]:api_plugin_hook(), /lib/plugins.php[89]:api_plugin_run_plugin_hook(), /lib/plugins.php[231]:weathermap_config_arrays(), /usr/local/share/cacti/plugins/weathermap/setup.php[571]:plugin_weathermap_upgrade(), /usr/local/share/cacti/plugins/weathermap/setup.php[152]:weathermap_repair_maps(), /usr/local/share/cacti/plugins/weathermap/lib/poller-common.php[176]:CactiErrorHandler())
2024/01/08 10:42:56 - WEATHERMAP WARNING: BACKGROUND file not found on disk: /usr/share/cacti/site/plugins/weathermap/ skipping! [WMPOLL10]
2024/01/08 10:43:01 - ERROR PHP NOTICE in Plugin 'weathermap': Undefined variable: objfile in file: /usr/local/share/cacti/plugins/weathermap/lib/poller-common.php on line: 176
2024/01/08 10:43:01 - CMDPHP PHP ERROR NOTICE Backtrace: (/usr/local/share/cacti/plugins/weathermap/weathermap-cacti-plugin-mgmt.php[44]:include_once(), /include/auth.php[27]:require_once(), /include/global.php[547]:include_once(), /include/global_arrays.php[2944]:api_plugin_hook(), /lib/plugins.php[89]:api_plugin_run_plugin_hook(), /lib/plugins.php[231]:weathermap_config_arrays(), /usr/local/share/cacti/plugins/weathermap/setup.php[571]:plugin_weathermap_upgrade(), /usr/local/share/cacti/plugins/weathermap/setup.php[152]:weathermap_repair_maps(), /usr/local/share/cacti/plugins/weathermap/lib/poller-common.php[176]:CactiErrorHandler())
2024/01/08 10:43:01 - WEATHERMAP WARNING: BACKGROUND file not found on disk: /usr/share/cacti/site/plugins/weathermap/ skipping! [WMPOLL10]
2024/01/08 10:43:04 - SPINE: Poller[1] Device[56] ERROR: Problems parsing Multi SNMP OID! (oid: ), Set MAX_OIDS to 1 for this host to isolate bad OID
I updated to 1.1, and I'm getting this output in the logs. I'm assuming my version of php is wrong?
I'm using 7.3.31-1~deb10u5
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Weathermap Editor Problem
This should be fixed in the 1.3 release.
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?
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?
Who is online
Users browsing this forum: No registered users and 1 guest