mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Scale up rate by a factor of 8 to go from bytes to bits (#4469)
This commit is contained in:
@@ -139,8 +139,8 @@ foreach (dbFetchRows($sql, $param) as $port) {
|
||||
'device' => generate_device_link($device),
|
||||
'port' => generate_port_link($port),
|
||||
'ifSpeed' => $port['ifSpeed'],
|
||||
'ifInOctets_rate' => $port['ifInOctets_rate'],
|
||||
'ifOutOctets_rate' => $port['ifOutOctets_rate'],
|
||||
'ifInOctets_rate' => $port['ifInOctets_rate'] * 8,
|
||||
'ifOutOctets_rate' => $port['ifOutOctets_rate'] * 8,
|
||||
'ifInUcastPkts_rate' => $port['ifInUcastPkts_rate'],
|
||||
'ifOutUcastPkts_rate' => $port['ifOutUcastPkts_rate'],
|
||||
'ifInErrors' => $port['ifInErrors'],
|
||||
|
||||
Reference in New Issue
Block a user