mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02:00
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:
@@ -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"; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user