mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
adding more junose and foundry/brocade. adding new mibs. unifying processor polling
git-svn-id: http://www.observium.org/svn/observer/trunk@831 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -97,6 +97,19 @@ function translate_ifAdminStatus ($ifAdminStatus) {
|
||||
return $ifAdminStatus;
|
||||
}
|
||||
|
||||
$rewrite_junose_hardware = array(
|
||||
'juniErx1400' => 'ERX-1400',
|
||||
'juniErx700' => 'ERX-700',
|
||||
'juniErx1440' => 'ERX-1440',
|
||||
'juniErx705' => 'ERX-705',
|
||||
'juniErx310' => 'ERX-310',
|
||||
'juniE320' => 'E320',
|
||||
'juniE120' => 'E120',
|
||||
'juniSsx1400' => 'SSX-1400',
|
||||
'juniSsx700' => 'SSX-700',
|
||||
'juniSsx1440' => 'SSX-1440',
|
||||
);
|
||||
|
||||
$rewrite_ironware_hardware = array(
|
||||
'snFIWGSwitch' => 'Stackable FastIron workgroup',
|
||||
'snFIBBSwitch' => 'Stackable FastIron backbone',
|
||||
@@ -656,6 +669,14 @@ function rewrite_ironware_hardware ($hardware)
|
||||
return ($hardware);
|
||||
}
|
||||
|
||||
function rewrite_junose_hardware ($hardware)
|
||||
{
|
||||
global $rewrite_junose_hardware;
|
||||
$hardware = array_str_replace($rewrite_junose_hardware, $hardware);
|
||||
return ($hardware);
|
||||
}
|
||||
|
||||
|
||||
|
||||
function fixiftype ($type)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user