Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2059 Location: United Kingdom
|
Posted: Tue Nov 20, 2007 7:13 pm Post subject: |
|
|
The standard SNMP MIB-2 interface counters are actually *all* in bytes (aka octets), so regardless of what cacti shows on the graph, the data stored in the RRD file is in bytes/sec. If you look at the bits/sec templates, they have a CDEF that multiplies by 8.
So, you're right, weathermap is reading those byte values from the rrd and multiplying by 8 to get bits/sec. To stop it doing that, you should use the gauge: prefix:
| Code: |
TARGET gauge:mylink.rrd
|
It's intended for non-bandwidth values, but all it really does is get the raw data from the rrd. In your case, that's what you actually want (bytes).
The percentage used for the colours is just a division between that value and the BANDWIDTH value, so as long as you specify your BANDWIDTH values in bytes too, you should be set. |
|