plugin_weathermap icon indicating copy to clipboard operation
plugin_weathermap copied to clipboard

Incorrect data on the map in relative to the graph

Open dmitry-moiseenko opened this issue 1 year ago • 7 comments

photo_2024-09-13_09-21-58

The speed reading on the map differs from the value in the graph.

Even if you open the graphs separately from the map, there will always be different values there.

I can't understand, is this how it should be, or is it a bug?

1 Minute Collection

Cacti Version 1.2.27 Oracle Linux 9

dmitry-moiseenko avatar Sep 13 '24 06:09 dmitry-moiseenko

Are you using boost by chance?

TheWitness avatar Sep 13 '24 20:09 TheWitness

No, we don't

dmitry-moiseenko avatar Sep 13 '24 21:09 dmitry-moiseenko

Post your link properties

TheWitness avatar Sep 13 '24 21:09 TheWitness

photo_2024-09-14_11-11-30

dmitry-moiseenko avatar Sep 14 '24 08:09 dmitry-moiseenko

Okay, take a look at the latest lib/rrd.php changes. This is more than likely a difference between the measured value at the time of the weathermap rendering and the live map that shows the current data. So, there will always be a little difference depending on your poller cycle, and the time it takes to generate maps. With the latest lib/rrd.php, may the difference here will diminish.

TheWitness avatar Sep 15 '24 14:09 TheWitness

I'm going to label this one help for the moment.

TheWitness avatar Sep 15 '24 14:09 TheWitness

,I took the dev version, but the result is the same. I'm surprised why this is happening. In the logs, it's clear that data is polled once a minute, and the map updates a second after that (probably when it renders). What's strange is that the map takes data from the graph(I guess), but the data different for some reason. It feels like the map has its own polling, but I checked, and there's always just one poll.

dmitry-moiseenko avatar Sep 16 '24 06:09 dmitry-moiseenko