Re: [ovirt-users] Info on network interface threshold alert

2017-03-13 Thread Alona Kaplan
Hi,

The calculation of the tx rate in percentage is -

txDiff = currentCumulativeTx - previousCumulativeTx
timeSlot = currentTime - previousTime

txRate = txDiff / timeSlot

ratePercentage = 100 *  txRate / speed

The message is displayed in case 'ratePercentage' is bigger than 95%.

If you have 'dwh' installed you can see the history.

Alona.
tx

On Wed, Mar 8, 2017 at 11:30 AM, Gianluca Cecchi 
wrote:

> Hello,
> this morning I get these two messages regarding bond1 and its active
> interface on one host (ovmsrv07):
>
> Host ovmsrv07 has network interface which exceeded the defined threshold
> [95%] (bond1: transmit rate[96%], receive rate [0%])
>
> Host ovmsrv07 has network interface which exceeded the defined threshold
> [95%] (enp7s4f0: transmit rate[96%], receive rate [0%])
>
> Actually there is no particular network activity during this latest
> night...
> There have been some different resore jobs during past days...
> How is determined this message? Is it perhaps cumulative?
>
> On the host there are 3 VMs and only one of them actively using the
> network.
> In its "Network Interfaces subtab I see
> Total RX (bytes)
> 542,696,952,529
>
> Inside VM OS:
> $ uptime
>  10:26:50 up 14 days,  1:35,  3 users,  load average: 0.00, 0.04, 0.05
>
> $ ifconfig eth0
> eth0  Link encap:Ethernet  HWaddr 00:1A:4A:17:01:5B
>   inet addr:10.4.4.66  Bcast:10.4.4.255  Mask:255.255.255.0
>   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>   RX packets:40280066 errors:0 dropped:612718 overruns:0 frame:0
>   TX packets:21110417 errors:0 dropped:0 overruns:0 carrier:0
>   collisions:0 txqueuelen:1000
>   RX bytes:193066319488 (179.8 GiB)  TX bytes:20983189756 (19.5
> GiB)
>
> Almost confirmaed on host where I have these counter indeed, but I think
> they are cumulative for the VM, and not an alert in se
>
> ON ovmsrv07:
> $ ifconfig bond1
> bond1: flags=5187  mtu 9000
> ether 00:1c:c4:ab:3a:dd  txqueuelen 1000  (Ethernet)
> RX packets 140610596  bytes 200368822262 (186.6 GiB)
> RX errors 0  dropped 126874  overruns 0  frame 0
> TX packets 33886066  bytes 21972025081 (20.4 GiB)
> TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>
> $ cat /proc/net/bonding/bond1
> Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
>
> Bonding Mode: fault-tolerance (active-backup)
> Primary Slave: None
> Currently Active Slave: enp7s4f0
> MII Status: up
> MII Polling Interval (ms): 100
> Up Delay (ms): 0
> Down Delay (ms): 0
>
> Slave Interface: enp7s4f0
> MII Status: up
> Speed: 1000 Mbps
> Duplex: full
> Link Failure Count: 0
> Permanent HW addr: 00:1c:c4:ab:3a:dd
> Slave queue ID: 0
>
> Slave Interface: enp7s4f1
> MII Status: up
> Speed: 1000 Mbps
> Duplex: full
> Link Failure Count: 0
> Permanent HW addr: 00:1c:c4:ab:3a:de
> Slave queue ID: 0
>
> Could anyone clarify?
>
> Thanks,
> Gianluca
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Info on network interface threshold alert

2017-03-08 Thread Gianluca Cecchi
Hello,
this morning I get these two messages regarding bond1 and its active
interface on one host (ovmsrv07):

Host ovmsrv07 has network interface which exceeded the defined threshold
[95%] (bond1: transmit rate[96%], receive rate [0%])

Host ovmsrv07 has network interface which exceeded the defined threshold
[95%] (enp7s4f0: transmit rate[96%], receive rate [0%])

Actually there is no particular network activity during this latest night...
There have been some different resore jobs during past days...
How is determined this message? Is it perhaps cumulative?

On the host there are 3 VMs and only one of them actively using the network.
In its "Network Interfaces subtab I see
Total RX (bytes)
542,696,952,529

Inside VM OS:
$ uptime
 10:26:50 up 14 days,  1:35,  3 users,  load average: 0.00, 0.04, 0.05

$ ifconfig eth0
eth0  Link encap:Ethernet  HWaddr 00:1A:4A:17:01:5B
  inet addr:10.4.4.66  Bcast:10.4.4.255  Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:40280066 errors:0 dropped:612718 overruns:0 frame:0
  TX packets:21110417 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:193066319488 (179.8 GiB)  TX bytes:20983189756 (19.5 GiB)

Almost confirmaed on host where I have these counter indeed, but I think
they are cumulative for the VM, and not an alert in se

ON ovmsrv07:
$ ifconfig bond1
bond1: flags=5187  mtu 9000
ether 00:1c:c4:ab:3a:dd  txqueuelen 1000  (Ethernet)
RX packets 140610596  bytes 200368822262 (186.6 GiB)
RX errors 0  dropped 126874  overruns 0  frame 0
TX packets 33886066  bytes 21972025081 (20.4 GiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

$ cat /proc/net/bonding/bond1
Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)

Bonding Mode: fault-tolerance (active-backup)
Primary Slave: None
Currently Active Slave: enp7s4f0
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 0
Down Delay (ms): 0

Slave Interface: enp7s4f0
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 00:1c:c4:ab:3a:dd
Slave queue ID: 0

Slave Interface: enp7s4f1
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 00:1c:c4:ab:3a:de
Slave queue ID: 0

Could anyone clarify?

Thanks,
Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users