Hi Mati,

The weathermap stuff was done a very long time ago by a third party and there are a few versions of it floating around, only one of which works properly on current versions of Observium.

I’ve never used the external integration, but as far as I know the version on Wolfgang’s GitHub still works.

We are working on integrating it properly with more changes, though. That’s probably a better solution, though it’s not ready yet. :)

Adam.

Sent from my iPhone

On 11 Jul 2021, at 15:01, Mati via observium <observium@observium.org> wrote:


Dear All,

I have been struggling getting PHP Weathermap working properly on Observium and would really appreciate your help.. I've noticed that the percentage values on the links is not working and the traffic load is continuously at 0.00%.

We are currently using the following software versions..

Observium21.5.11304 (6th May 2021)
OSLinux 3.16.0-4-amd64 [amd64] (Debian 8)
Apache2.4.10 (Debian)
PHP5.6.38-0+deb8u1 (OPcache: ENABLED) (Memory: 128MB)
Python2.7.9
MySQL5.5.60-0+deb8u1 (extension: mysqli 5.5.60)
SNMPNET-SNMP 5.7.2.1
RRDtool1.4.8

The results from map-poller.php are as follows:

WARNING: configs//example.conf: OVERLIBGRAPH is used, but HTMLSTYLE is static. This is probably wrong. [WMWARN41]

PHP Notice:  Undefined index: uptime in /var/opt/observium/html/weathermap/lib/datasources/WeatherMapDataSource_observium.php on line 53

PHP Notice:  Undefined index: uptime in /var/opt/observium/html/weathermap/lib/datasources/WeatherMapDataSource_observium.php on line 53

WARNING: configs//Core_062021.conf: ProcessTargets: LINK hex.asr9k-pe1, target: /opt/observium/rrd/hex.asr9k-pe1/port-415.rrd:INOCTETS:OUTOCTETS on config line 69 of configs//Core_062021.conf 

was not recognised as a valid TARGET [WMWARN08]


Kind Regards


MP






_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium