Usage Stats for venet0:0

ihostuk

Verified User
Joined
Apr 9, 2007
Messages
56
Location
Huddersfield, UK
Hi,

Having a problem with our new DA install.
Usage stats both read as 'none'

directadmin.conf is set too: ethernet_dev=venet0:0

and output from ifconfig is


Code:
[root@quantum /]# ifconfig

venet0    
Link encap:UNSPEC  
HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:127.0.0.1  P-t-P:127.0.0.1  Bcast:0.0.0.0  Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:79833 errors:0 dropped:0 overruns:0 frame:0
          TX packets:48809 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
        [B]  RX bytes:99080496 (94.4 MiB)  TX bytes:6282213 (5.9 MiB)[/B]

venet0:0  Link encap:UNSPEC  
HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:208.89.208.67  P-t-P:208.89.208.67  Bcast:208.89.208.67  
Mask:255.255.255.255
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
Any Ideas?
Thanks
iHost-UK
 
I don't see why we'd need the output of ifconfig.

And I don't think you've given us enough to go on.

Which usage stats?

For the entire server or for certain domains?

Have you given the server at least 24 hours? Stats aren't created until cron.daily is run, and then only if there's been some usage.

Jeff
 
Hi,

Sorry, I'm on about the Admin Level, 'Complete Usage Stats', of which a section is 'Usage stats for (Insert NIC Name)', in our case Usage stats for venet0:0.

where venet0:0 is the value set for ethernet_dev in directadmin.conf

Those are the sent/received stats for the network interface on the server. Hence why I showed an output of ifconfig as well.

They both read as none, when its obvious that at least some traffic has been sent on that interface.

Thanks for taking the time to look.
 
Hello,

For anyone else experiencing this issue, I've adjusted the code to remove the :* bit from any RX/TX lookups, so for the next release (1.33.7) it will be resolved. It will query venet0 even if you have venet0:0 in the ethernet_dev value.

John
 
Back
Top