mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 08:02:41 +02:00
Datacom basic support added
This commit is contained in:
@@ -1045,6 +1045,11 @@ $config['os'][$os]['text'] = "Cambium";
|
||||
$config['os'][$os]['type'] = "wireless";
|
||||
$config['os'][$os]['icon'] = "cambium";
|
||||
|
||||
$os = "datacom";
|
||||
$config['os'][$os]['text'] = "Datacom";
|
||||
$config['os'][$os]['type'] = "network";
|
||||
$config['os'][$os]['icon'] = "datacom";
|
||||
|
||||
foreach ($config['os'] as $this_os => $blah)
|
||||
{
|
||||
if (isset($config['os'][$this_os]['group']))
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
if (!$os)
|
||||
{
|
||||
if (strstr($sysObjectId, ".1.3.6.1.4.1.3709")) { $os = "datacom"; }
|
||||
}
|
||||
?>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
if (!$os)
|
||||
{
|
||||
if (strstr($sysObjectId, ".1.3.6.1.4.1.3709")) { $os = "datacom"; }
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user