ifstat trends and FreeBSD8

Alex Levin alevin at gmail.com
Wed Feb 16 19:51:24 CET 2011


Hi,

I've found an issue with ifstat trends when the client is on FreeBSD8

Current version of netstat on BSD introduced field Idrop , so result
of netstat command looks like:


# netstat -i -b -n | egrep -v "^lo|<Link"
Name    Mtu Network       Address              Ipkts Ierrs Idrop
Ibytes    Opkts Oerrs     Obytes  Coll
bge0   1500 192.168.X.X 192.168.X.X    29292829     -     - 1130285651
26543376     - 2832025203     -
bge0   1500 192.168.X.X 192.168.X.X           9     -     -        756
       0     -          0     -

and as result rrd/do_ifstat.c can't pares it properly

as a temporary workaround I've compiled previous version of netstat (
without Idrop  filed )  on FreeBSD boxes and using it in the  xymon
client.

Hope it can be handled by do_ifstat

Thanks

---
Alex



More information about the Xymon mailing list