Weather map with packets flow

Support questions about the Network Weather Map plugin

Moderators: Moderators, Developers

Post Reply
Posts: 1
Joined: Fri Mar 08, 2019 7:39 am

Weather map with packets flow

#1 Post by krakazyabra » Fri Mar 08, 2019 7:59 am

Hi everybody!
Trying to make the map with packets per second

Code: Select all

        WIDTH 3
        BWLABEL unformatted
        BWSTYLE classic
        INBWFORMAT {link:this:bandwidth_in:%0.1d} pps
        OUTBWFORMAT {link:this:bandwidth_out:%0.1d} pps
        BANDWIDTH 10000000

Code: Select all

LINK Sitel_copy-
        INFOURL /graphs/type=port_upkts/id=4572/
        OVERLIBGRAPH /graph.php?height=100&width=512&id=4572&type=port_upkts
        COMMENTPOS 70 30
        TARGET ./
        OUTCOMMENT Et27/1
        NODES Sitel_copy
But on map i see wrong values: (see attachment, if the link is broken)

I expect to see on line, where 1888893 pps value, correct one - 218.88k and

What am i doing wrong?
Выделение_035.png (34.6 KiB) Viewed 752 times

User avatar
Cacti Guru User
Posts: 5362
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom

Re: Weather map with packets flow

#2 Post by Howie » Mon Apr 29, 2019 7:13 am

By default, Weathermap assumes it is looking at byte-counters, because that is what SNMP traffic is recorded as. So it multiplies the result by 8, to give bits/sec in the output.

When you are using other counters, you don't want that, so you need to use the gauge: prefix like this:

Code: Select all

           TARGET gauge:./
That will disable the multiplication.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)

Post Reply