Closes: #1247
This commit is contained in:
parent
60600d6b63
commit
a68ed9a1de
|
@ -862,6 +862,11 @@ sub do_values_xfer_by_uplink {
|
||||||
# Provide transfer for unifi uplink - CONFIG
|
# Provide transfer for unifi uplink - CONFIG
|
||||||
if ( !$PluginConfig{'enable_xfer_device'} ) { return 0; }
|
if ( !$PluginConfig{'enable_xfer_device'} ) { return 0; }
|
||||||
|
|
||||||
|
$Data{'uplink'}{"rx_speed"} = "U" unless $Data{'uplink'}{"rx_speed"};
|
||||||
|
$Data{'uplink'}{"tx_speed"} = "U" unless $Data{'uplink'}{"tx_speed"};
|
||||||
|
$Data{'uplink'}{"rx_bytes"} = "U" unless $Data{'uplink'}{"rx_bytes"};
|
||||||
|
$Data{'uplink'}{"tx_bytes"} = "U" unless $Data{'uplink'}{"tx_bytes"};
|
||||||
|
|
||||||
print "multigraph unifi_xfer_by_uplink\n";
|
print "multigraph unifi_xfer_by_uplink\n";
|
||||||
print "rx_speed.value " . $Data{'uplink'}{"rx_speed"} . "\n";
|
print "rx_speed.value " . $Data{'uplink'}{"rx_speed"} . "\n";
|
||||||
print "tx_speed.value " . $Data{'uplink'}{"tx_speed"} . "\n";
|
print "tx_speed.value " . $Data{'uplink'}{"tx_speed"} . "\n";
|
||||||
|
|
Loading…
Reference in New Issue