[Xymon] PATCH - do_ifstat.c

Henrik Størner henrik at hswn.dk
Tue Jul 31 22:43:24 CEST 2012


On 31-07-2012 12:49, John Horne wrote:
> I noticed that one of our clients was not showing a trends 'Network
> Traffic' graph produced from the client 'ifconfig' data. The client is
> running Fedora 17, and it seems that the xymond/rrd/do_ifstat.c code
> detects the interface but not the receive/transmit data.
[snip]
> Attached is a patch which detects the RX and TX 'bytes' values. It also
> strips the trailing colon character from the interface name if it is
> present. This then allows the 'lo:' interface to be detected as the
> loopback interface (and so ignored).

Looks sane, applied for 4.3.10 which will be out in a few days.


Regards,
Henrik




More information about the Xymon mailing list