Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sun May 26, 2019 4:20 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Weather map with packets flow
PostPosted: Fri Mar 08, 2019 7:59 am 
Offline

Joined: Fri Mar 08, 2019 7:39 am
Posts: 1
Hi everybody!
Trying to make the map with packets per second
Code:
LINK DEFAULT
        WIDTH 3
        BWOUTLINECOLOR none
        BWLABEL unformatted
        BWSTYLE classic
        INBWFORMAT {link:this:bandwidth_in:%0.1d} pps
        OUTBWFORMAT {link:this:bandwidth_out:%0.1d} pps
        BANDWIDTH 10000000

and
Code:
LINK Sitel_copy-10.28.0.58
        INFOURL /graphs/type=port_upkts/id=4572/
        OVERLIBGRAPH /graph.php?height=100&width=512&id=4572&type=port_upkts
        COMMENTPOS 70 30
        TARGET ./10.28.0.58/port-id4572.rrd:INUCASTPKTS:OUTUCASTPKTS
        OUTCOMMENT Et27/1
        NODES Sitel_copy 10.28.0.58


But on map i see wrong values: (see attachment, if the link is broken)
Image

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

What am i doing wrong?


Attachments:
Выделение_035.png
Выделение_035.png [ 34.6 KiB | Viewed 190 times ]
Top
 Profile  
 
 Post subject: Re: Weather map with packets flow
PostPosted: Mon Apr 29, 2019 7:13 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Sep 16, 2004 5:53 am
Posts: 5311
Location: United Kingdom
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:
           TARGET gauge:./10.28.0.58/port-id4572.rrd:INUCASTPKTS:OUTUCASTPKTS


That will disable the multiplication.

_________________
Weathermap 0.98 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!)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group