scale(scaleToSeconds(Derivative(<series>),60), 0.125) is required to convert per-minute SNMP Byte Counters to bps
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Graphite |
New
|
Undecided
|
Unassigned |
Bug Description
I'm using graphite version 0.9.10 to read ifHCInOctets and ifHCOutOctets, which I'm polling with the collectd snmp and graphite_write plugins; I'm using collectd version 5.1.0.
Data arrives into graphite with no problems; however, I want to graph as bits-per-second. To test whether my stats are correct, I started a CD iso download and watched the download rate... it varied between 1.0Mbps and 2.0Mbps.
Common-sense tells you that you need to multiply Octets counters by 8 to get bits; however, it seems that I need to divide by 8 to make graphite display correctly.
When I multiply by a 0.125 scale factor, "scale(
When I use a scale-factor of 8, it fails spectacularly; I get readings of 120Mbps, but I know that's impossible because my circuit is capped at 5Mpbs.
I posted the gory-details (including config files and graph snapshots) here:
http://
By all accounts, this seems to be a bug