I've just re install cacti and I weathermap doesn't work anymore. I have many problem in my logs :
Code: Select all
024-04-16 08:52:39 - CMDPHP ERRORS DETECTED - DISABLING PLUGIN 'weathermap'
2024-04-16 08:52:39 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler())
2024-04-16 08:52:39 - ERROR PHP ERROR in Plugin 'weathermap': Uncaught Error: Class "Locale" not found in /usr/share/cacti/cacti-1.2.26/plugins/weathermap/lib/WeatherMap.class.php:1878 Stack trace: #0 /usr/share/cacti/cacti-1.2.26/plugins/weathermap/lib/WeatherMap.class.php(2034): WeatherMap->strftime() #1 /usr/share/cacti/cacti-1.2.26/plugins/weathermap/lib/WeatherMap.class.php(3625): WeatherMap->DrawTimestamp() #2 /usr/share/cacti/cacti-1.2.26/plugins/weathermap/lib/poller-common.php(442): WeatherMap->DrawMap() #3 /usr/share/cacti/cacti-1.2.26/plugins/weathermap/setup.php(1169): weathermap_run_maps() #4 /usr/share/cacti/cacti-1.2.26/lib/plugins.php(231): weathermap_poller_bottom() #5 /usr/share/cacti/cacti-1.2.26/lib/plugins.php(89): api_plugin_run_plugin_hook() #6 /usr/share/cacti/cacti-1.2.26/poller.php(917): api_plugin_hook() #7 {main} thrown in file: /usr/share/cacti/cacti-1.2.26/plugins/weathermap/lib/WeatherMap.class.php on line: 1878
Does anyone know what it can be ?