mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
more os support
git-svn-id: http://www.observium.org/svn/observer/trunk@1388 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 1.2 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.7 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 375 B |
@@ -2,7 +2,7 @@
|
||||
|
||||
if(!$os) {
|
||||
|
||||
if(strpos($sysDescr, "ZyXEL IES-") !== FALSE) { $os = "ies"; }
|
||||
if(strpos($sysDescr, "IES-") !== FALSE) { $os = "ies"; }
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
if(!$os) {
|
||||
|
||||
if(strstr($sysDescr, "Novell NetWare")) { $os = "netware"; }
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
if (!$os) {
|
||||
|
||||
if (preg_match("/^ES-/", $sysDescr)) { $os = "zyxeles"; }
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -27,6 +27,9 @@ $config['os']['netbsd']['text'] = "NetBSD";
|
||||
$config['os']['dragonfly']['group'] = "unix";
|
||||
$config['os']['dragonfly']['text'] = "DragonflyBSD";
|
||||
|
||||
$config['os']['netware']['text'] = "Novell Netware";
|
||||
$config['os']['netware']['icon'] = "novell";
|
||||
|
||||
$config['os']['monowall']['group'] = "unix";
|
||||
$config['os']['monowall']['text'] = "m0n0wall";
|
||||
$config['os']['monowall']['type'] = "firewall";
|
||||
@@ -120,7 +123,7 @@ $config['os']['dlink']['icon'] = "dlink";
|
||||
|
||||
$config['os']['dlinkap']['text'] = "D-Link Access Point";
|
||||
$config['os']['dlinkap']['type'] = "network";
|
||||
$config['os']['dlink']['icon'] = "dlink";
|
||||
$config['os']['dlinkap']['icon'] = "dlink";
|
||||
|
||||
$config['os']['axiscam']['text'] = "AXIS Network Camera";
|
||||
|
||||
@@ -157,6 +160,10 @@ $config['os']['prestige']['text'] = "ZyXEL Prestige";
|
||||
$config['os']['prestige']['type'] = "network";
|
||||
$config['os']['prestige']['icon'] = "zyxel";
|
||||
|
||||
$config['os']['zyxeles']['text'] = "ZyXEL Ethernet Switch";
|
||||
$config['os']['zyxeles']['type'] = "network";
|
||||
$config['os']['zyxeles']['icon'] = "zyxel";
|
||||
|
||||
$config['os']['ies']['text'] = "ZyXEL IES DSLAM";
|
||||
$config['os']['ies']['type'] = "network";
|
||||
$config['os']['ies']['icon'] = "zyxel";
|
||||
|
||||
Reference in New Issue
Block a user