[Xymon] Network Traffic (bps / Mbps)

oliver ohemming at gmail.com
Fri Jul 15 19:39:56 CEST 2016


Hello All

I'm running 4.3.21.

For our Network Traffic graphs, the in/out readings are in bps and the
total is in Mbps

Here's the section from graphs.cfg (which has not been modified)

[ifstat]
        FNPATTERN ^ifstat.(.+).rrd
        TITLE Network Traffic
        YAXIS Bits/second
        DEF:inbytes at RRDIDX@=@RRDFN@:bytesReceived:AVERAGE
        CDEF:in at RRDIDX@=inbytes at RRDIDX@,8,*
        DEF:outbytes at RRDIDX@=@RRDFN@:bytesSent:AVERAGE
        CDEF:out at RRDIDX@=outbytes at RRDIDX@,8,*
        CDEF:tot at RRDIDX@=in at RRDIDX@,out at RRDIDX@,+
        LINE2:in at RRDIDX@#@COLOR@:@RRDPARAM@  inbound
        GPRINT:in at RRDIDX@:LAST: \: %10.1lf (cur)
        GPRINT:in at RRDIDX@:MAX: \: %10.1lf (max)
        GPRINT:in at RRDIDX@:MIN: \: %10.1lf (min)
        GPRINT:in at RRDIDX@:AVERAGE: \: %10.1lf (avg)\n
        LINE2:out at RRDIDX@#@COLOR@:@RRDPARAM@ outbound
        GPRINT:out at RRDIDX@:LAST: \: %10.1lf (cur)
        GPRINT:out at RRDIDX@:MAX: \: %10.1lf (max)
        GPRINT:out at RRDIDX@:MIN: \: %10.1lf (min)
        GPRINT:out at RRDIDX@:AVERAGE: \: %10.1lf (avg)\n
        LINE2:tot at RRDIDX@#@COLOR@:@RRDPARAM@ I/O total
        GPRINT:tot at RRDIDX@:LAST: \: %5.1lf%s (cur)
        GPRINT:tot at RRDIDX@:MAX: \: %5.1lf%s (max)
        GPRINT:tot at RRDIDX@:MIN: \: %5.1lf%s (min)
        GPRINT:tot at RRDIDX@:AVERAGE: \: %5.1lf%s (avg)\n

How can I have the In/Out readings also show in Mbps?

Thanks



More information about the Xymon mailing list