Xymon Mailing List Archive search

Network Traffic Graph - Fedora 15

list Sam L
Thu, 14 Jul 2011 14:51:31 -0400
Message-Id: <user-9321786a2f9c@xymon.invalid>

lo        Link encap:Local Loopback          inet addr:127.0.0.1  Mask:255.0.0.0          inet6 addr: ::1/128 Scope:Host          UP LOOPBACK RUNNING  MTU:16436  Metric:1          RX packets:26007 errors:0 dropped:0 overruns:0 frame:0          TX packets:26007 errors:0 dropped:0 overruns:0 carrier:0          collisions:0 txqueuelen:0          RX bytes:17070895 (16.2 MiB)  TX bytes:17070895 (16.2 MiB)
p33p1     Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx          inet addr:x.x.x.x  Bcast:x.x.x.x  Mask:255.255.255.0          inet6 addr: xxxx::xxx:xxxx:xxxx:xxxx/64 Scope:Link          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1          RX packets:9206 errors:0 dropped:16 overruns:0 frame:0          TX packets:14358 errors:0 dropped:0 overruns:0 carrier:0          collisions:0 txqueuelen:1000          RX bytes:1641677 (1.5 MiB)  TX bytes:9140070 (8.7 MiB)          Interrupt:42 Base address:0x2000
From: user-9b139aff4dec@xymon.invalid
To: xymon at xymon.com
Subject: Re: [Xymon] Network Traffic Graph - Fedora 15
Date: Thu, 14 Jul 2011 16:22:10 +0200
CC: user-4449a49ea16f@xymon.invalid

On Wednesday, 13 July 2011 04:36:36 Sam L wrote:
Hey, I was just wondering if anyone had any ideas about this?
Thanks!
From: user-4449a49ea16f@xymon.invalid
To: xymon at xymon.com
Subject: Network Traffic Graph - Fedora 15
Date: Sat, 2 Jul 2011 14:39:34 -0400
I've been running xymon 4.3.3 on Fedora 14 for a month or two without any
issues.  I recently upgraded to Fedora 15 and now my "Network Traffic"
graph in trends is no longer working.  They changed up something with
network card naming in Fedora 15, and my NIC is no longer called eth0 (or
eth<anything>).  The interface is now called p33p1.  Should xymon be able
to figure that out on it's own or do I need to tell it to look for more
than ethX?
Thanks.
s0a4m
Could you at least provide the *actual* output of 'ifconfig' ?

If only the names have changed, then most likely you just need to adjust the regex on line 22 of xymond/rrd/do_ifstat.c, which is currently:

"^([a-z]+[0123456789.:]+|lo)\\s"

Maybe it should just be:
"^([a-z0123456789.:]+)\\s"

Regards,
Buchan