Skip to content

Help understand nic percentage metrics #742

Answered by Hardikl
luddite516 asked this question in Q&A
Discussion options

You must be logged in to vote

So plugin would do this calculation:

  1. Fetch tx_bytes and rx_bytes (in bytes)
    tx_bytes: 334657
    rx_bytes: 21411

  1. Fetch link speed, which is in Mbps from ONTAP and we converted to MBps(bytes per sec) and update the speed label in nic_labels
    speed(in bytes): 125000000

  1. Calculate tx_perc and rx_perc:- both are in same unit
    tx_perc: (tx_bytes/speed) 0.002677
    rx_perc: (rx_bytes/speed) 0.000017

  2. set util percent from max of above
    util_perc: max(tx_perc, rx_perc) 0.002677

  1. UI would show as 0.26% in the grid

For your example above, As the rx_bytes and tx_bytes values are changing too frequent, can you please share value of both of them along with speed and UI screenshot at the same time?

A…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ruanruijuan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants