mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix: Comware dBm Limits && Comware Sensor Descr (#7216)
This commit is contained in:
committed by
Tony Murray
parent
e0d3083791
commit
701813f3ad
@@ -166,22 +166,23 @@ function translate_ifAdminStatus($ifAdminStatus)
|
||||
function makeshortif($if)
|
||||
{
|
||||
$rewrite_shortif = array(
|
||||
'tengigabitethernet' => 'Te',
|
||||
'tengige' => 'Te',
|
||||
'gigabitethernet' => 'Gi',
|
||||
'fastethernet' => 'Fa',
|
||||
'ethernet' => 'Et',
|
||||
'serial' => 'Se',
|
||||
'pos' => 'Pos',
|
||||
'port-channel' => 'Po',
|
||||
'atm' => 'Atm',
|
||||
'null' => 'Null',
|
||||
'loopback' => 'Lo',
|
||||
'dialer' => 'Di',
|
||||
'vlan' => 'Vlan',
|
||||
'tunnel' => 'Tunnel',
|
||||
'serviceinstance' => 'SI',
|
||||
'dwdm' => 'DWDM',
|
||||
'tengigabitethernet' => 'Te',
|
||||
'ten-gigabitethernet' => 'Te',
|
||||
'tengige' => 'Te',
|
||||
'gigabitethernet' => 'Gi',
|
||||
'fastethernet' => 'Fa',
|
||||
'ethernet' => 'Et',
|
||||
'serial' => 'Se',
|
||||
'pos' => 'Pos',
|
||||
'port-channel' => 'Po',
|
||||
'atm' => 'Atm',
|
||||
'null' => 'Null',
|
||||
'loopback' => 'Lo',
|
||||
'dialer' => 'Di',
|
||||
'vlan' => 'Vlan',
|
||||
'tunnel' => 'Tunnel',
|
||||
'serviceinstance' => 'SI',
|
||||
'dwdm' => 'DWDM',
|
||||
);
|
||||
|
||||
$if = fixifName($if);
|
||||
|
Reference in New Issue
Block a user