oetiker / mrtg

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

noHC=yes incorrectly inserted by cfgmaker #108

Closed durkovic closed 1 year ago

durkovic commented 1 year 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 1 year ago

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

durkovic commented 1 year ago

Sure, thanks!