#70 closed defect (fixed)
MRTG shows 100 Mbps peaks after "clear counters" on GE and 10GE ports
Reported by: | human | Owned by: | somebody |
---|---|---|---|
Version: | 2.x | Keywords: | |
Cc: | md@… |
Description
On several types of switches, "clear counters" resets all SNMP counters to zero.
However, MRTG does not handle this situation correctly when 64-bit counters are used.
The problem is in rateup.c:
if (outr < 0) /* wrapped 32-bit counter? */ outr += (long long) 1 << 32;
This code assumes couters are always 32-bit. But for GE and 10GE interfaces, where 64-bit counters are inevitable, the above code performs wrong computation and creates 100 Mbps peaks in graphs
Change History (2)
comment:1 Changed 12 years ago by oetiker
- Resolution set to fixed
- Status changed from new to closed
comment:2 Changed 10 years ago by human
External Links
- Grosir Baju Batik
- Baju Batik Wanita
- Baju Batik Pria
- Baju Batik Modern
- Baju Batik Sarimbit
- Baju Batik Pasangan
- Baju Batik Muslim
- Baju Batik Couple
- Baju Batik Tulis
- Baju Batik Terbaru
- Baju Batik Remaja
- Baju Batik Pekalongan
- Baju Batik Couple
- Dokar Balap
- Jasa SEO Murah
- Berita Terkini
- Berita Terbaru
- Berita Hari Ini
- Berita Terupdate
- Kumpulan Berita
thanks for the report. Fix is in r322.