scoutapp / scout_realtime

Realtime server metrics in your browser
http://scoutapp.github.io/scout_realtime/
MIT License
2.09k stars 109 forks source link

No Network Traffic #49

Open er0k opened 9 years ago

er0k commented 9 years ago

I'm having the same issue as here: https://github.com/scoutapp/scout_realtime/issues/10

I posted there but no response, maybe since it was already closed...

Running on a CentOS 6.5 machine. The main interface is eth1 and I get no activity in the network traffic graph.

I have server_metrics-1.2.7 and scout_realtime-1.0.5 gems

cat /proc/net/dev

Inter-|   Receive                                                |  Transmit
 face |bytes    packets errs drop fifo frame compressed multicast|bytes    packets errs drop fifo colls carrier compressed
    lo:8440299585 20368570    0    0    0     0          0         0 8440299585 20368570    0    0    0     0       0          0
  eth0:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
  eth1:60071239046 278737597    6    0    0     6          0   7983469 524416846528 401901559    0    0    0     0       0          0

ruby -e "puts RbConfig::CONFIG['target_os']"

linux

Any help?

itsderek23 commented 9 years ago

Hey @er0k - sorry. We haven't had a free cycle to look into this. This is on list, but I wouldn't express any progress for a bit.

ghost commented 9 years ago

@er0k I think interface issue. network.historical_metrics["eth0"][:bytes_in]

How set custom interface for network monitor? e.g eth1 or eth2

Debian 7 same issue no network traffic.

cc @itsderek23

root@server:~# cat /proc/net/dev Inter-| Receive | Transmit face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed lo: 3261888183 10051732 0 0 0 0 0 0 3261888183 10051732 0 0 0 0 0 0 eth2: 8061736580 89863657 0 0 0 0 0 0 22867810597 184512019 0 0 0 0 0 0 eth1: 14188720 257660 0 0 0 0 0 0 4470 99 0 0 0 0 0 0 eth0: 8100742 126004 0 0 0 0 0 0 4946 111 0 0 0 0 0 0

Caligone commented 9 years ago

Same issue here on Archlinux with kernel 3.14.33-1-lts with scout realtime v1.0.5

ronilaukkarinen commented 8 years ago

Same on Fedora 22. This is so cool. I so hope someone is still developing this forward.

Vustom commented 6 years ago

If you have Docker installed alongside Scout Realtime see this post.