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:
Adam Amstrong
2010-02-13 21:45:39 +00:00
parent 54e8ac3cbd
commit 05735f4d55
294 changed files with 305727 additions and 141 deletions

View File

@@ -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)
{