make port settings page less ugly. also add soem alcatel crap

git-svn-id: http://www.observium.org/svn/observer/trunk@1947 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-03-21 12:18:26 +00:00
parent 608bf7e4eb
commit 0515b4e013
3 changed files with 42 additions and 20 deletions
+2 -2
View File
@@ -4,8 +4,8 @@
if (!$os)
{
if (strpos($sysObjectId, ".1.3.6.1.4.1.6527.1.800") != FALSE) { $os = "aos"; }
if (strpos($sysObjectId, ".1.3.6.1.4.1.6527.1.3") != FALSE) { $os = "timos"; }
if (strpos($sysObjectId, ".1.3.6.1.4.1.6486.800") !== FALSE) { $os = "aos"; }
if (strpos($sysObjectId, ".1.3.6.1.4.1.6527.1.3") !== FALSE) { $os = "timos"; }
}
+1
View File
@@ -86,6 +86,7 @@ $config['os'][$os]['group'] = "aos";
$config['os'][$os]['text'] = "Alcatel-Lucent OS";
$config['os'][$os]['type'] = "network";
$config['os'][$os]['ifXmcbc'] = 1;
$config['os'][$os]['ifname'] = 1;
$config['os'][$os]['over'][0]['graph'] = "device_bits";
$config['os'][$os]['over'][0]['text'] = "Device Traffic";