oetiker / mrtg

MRTG - Multi Router Traffic Grapher
http://www.mrtg.org
243 stars 60 forks source link

noHC=yes incorrectly inserted by cfgmaker #108

Closed durkovic closed 11 months ago

durkovic commented 11 months ago

noHC=yes is inserted by cfgmaker not only when HC counters are unavailable, but also when interface has not yet seen any incoming traffic (ifHCInOctets=0).

Thus every unused interface initially gets noHC=yes, causing it to show bogus graphs when traffic starts to flow. After next cfgmaker run, it switches to HC counters, making huge spike in the graph.

oetiker commented 11 months ago

https://github.com/oetiker/mrtg/pull/109 does this help ?

durkovic commented 11 months ago

Sure, thanks!