Thanks for the feature.
I enabled as per instructions. I can now see the Weathermaps option in the drop-down menu. But nothing happens when I click on it. No map is generated. It stays empty. Do I need to do something more?

My version is as below:

Version Information

Observium CE
23.9.13005 (16th September 2023)
OS
Linux 3.10.0-1160.95.1.el7.x86_64 [amd64] (CentOS 7)
Apache
2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_fcgid/2.3.9 PHP/7.4.33 mod_perl/2.0.11 Perl/v5.16.3
PHP
7.4.33 (OPcache: ENABLED) (Memory: 128MB)
Python
2.7.5
MariaDB
10.3.36-MariaDB (extension: mysqli 7.4.33)
SNMP
NET-SNMP 5.7.2
RRDtool
1.7.1
Fping
3.10 (IPv4 only)
Fetch
cURL 7.29.0 (NSS/3.53.1, LibZ 1.2.7, LibIDN 1.28)


From: Adam Armstrong via observium <observium@lists.observium.org>
Sent: Friday, December 22, 2023 22:30
To: 'Observium' <observ...@observium.org>
Cc: Adam Armstrong <ad...@memetic.org>
Subject: [Observium] PHP Weathermap Integration
 
CAUTION: This email originated from outside of Cedar Gate. Do not click links or open attachments unless you recognize the sender and know the content is safe.

Hi Guys,

We added PHP Weathermap into Observium ~2 years ago, but the enabling option wasn't documented because there was an odd _javascript_ bug breaking the UI.

It turns out the bug was the same variable name being used in two completely separate bits of code, causing a clash. Typical _javascript_.

This is fixed now and it mostly functions, so I've unhidden the enabling option in the web-based config.

$config['weathermap']['enable'] = TRUE;

It works slightly differently to the original weathermap, it generates maps on the fly and is a little better integrated into the UI. It retains all of the old issues though, the weathermap code is very, very old and should not be enabled on installs untrusted people have access to.

Thanks,
adam.

--
Sent from Postbox
_______________________________________________
observium mailing list -- observium@lists.observium.org
To unsubscribe send an email to observium-le...@lists.observium.org

Reply via email to