-
Notifications
You must be signed in to change notification settings - Fork 30
Description
Hello. I'm currently using the cacti version 1.2.30 with weathermap version 1.3.1. My server is a Debian 6.1.135-1.
The weathermap plugins gets disabled when trying to copy the WeatherMapDataSource_snmp2c.php file to the /var/www/html/cacti/plugins/weathermap/lib/datasources directory.
The errors generated are the following:
2025-05-23 20:40:37 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'weathermap'
2025-05-23 20:40:37 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2025-05-23 20:40:37 - ERROR PHP ERROR in Plugin 'weathermap': Uncaught Error: Call to undefined function plugin_weathermap_numeric_version() in /var/www/html/cacti/plugins/weathermap/weathermap-cacti-plugin-editor.php:309 Stack trace: #0 {main} thrown in file: /var/www/html/cacti/plugins/weathermap/weathermap-cacti-plugin-editor.php on line: 309
2025-05-23 20:40:37 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/weathermap/weathermap-cacti-plugin-editor.php[281]:WeatherMap->__construct(), /plugins/weathermap/lib/WeatherMap.class.php[372]:WeatherMap->Reset(), /plugins/weathermap/lib/WeatherMap.class.php[531]:WeatherMap->LoadPlugins(), /plugins/weathermap/lib/WeatherMap.class.php[826]:opendir(), CactiErrorHandler())
2025-05-23 20:40:37 - ERROR PHP WARNING in Plugin 'weathermap': opendir(/var/www/html/cacti/plugins/weathermap/lib/lib/post): Failed to open directory: No such file or directory in file: /var/www/html/cacti/plugins/weathermap/lib/WeatherMap.class.php on line: 826
2025-05-23 20:40:37 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/weathermap/weathermap-cacti-plugin-editor.php[281]:WeatherMap->__construct(), /plugins/weathermap/lib/WeatherMap.class.php[372]:WeatherMap->Reset(), /plugins/weathermap/lib/WeatherMap.class.php[530]:WeatherMap->LoadPlugins(), /plugins/weathermap/lib/WeatherMap.class.php[826]:opendir(), CactiErrorHandler())
2025-05-23 20:40:37 - ERROR PHP WARNING in Plugin 'weathermap': opendir(/var/www/html/cacti/plugins/weathermap/lib/lib/pre): Failed to open directory: No such file or directory in file: /var/www/html/cacti/plugins/weathermap/lib/WeatherMap.class.php on line: 826
2025-05-23 20:40:37 - CMDPHP PHP ERROR WARNING Backtrace: (/plugins/weathermap/weathermap-cacti-plugin-editor.php[281]:WeatherMap->__construct(), /plugins/weathermap/lib/WeatherMap.class.php[372]:WeatherMap->Reset(), /plugins/weathermap/lib/WeatherMap.class.php[529]:WeatherMap->LoadPlugins(), /plugins/weathermap/lib/WeatherMap.class.php[826]:opendir(), CactiErrorHandler())
2025-05-23 20:40:37 - ERROR PHP WARNING in Plugin 'weathermap': opendir(/var/www/html/cacti/plugins/weathermap/lib/lib/datasources): Failed to open directory: No such file or directory in file: /var/www/html/cacti/plugins/weathermap/lib/WeatherMap.class.php on line: 826
2025-05-23 20:40:31 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'weathermap'
2025-05-23 20:40:31 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2025-05-23 20:40:31 - ERROR PHP ERROR in Plugin 'weathermap': Uncaught Error: Call to undefined function weathermap_check_set_boost() in /var/www/html/cacti/plugins/weathermap/lib/poller-common.php:276 Stack trace: #0 /var/www/html/cacti/plugins/weathermap/weathermap-cacti-plugin-mgmt.php(447): weathermap_run_maps() #1 /var/www/html/cacti/plugins/weathermap/weathermap-cacti-plugin-mgmt.php(70): weathermap_form_actions() #2 {main} thrown in file: /var/www/html/cacti/plugins/weathermap/lib/poller-common.php on line: 276
Any thoughts on what may be causing this error?
Thank you.
-Moises