mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added PBN definition and pbn OS
This commit is contained in:
@@ -1114,6 +1114,15 @@ $config['os'][$os]['text'] = "Fiberhome";
|
||||
$config['os'][$os]['type'] = "network";
|
||||
$config['os'][$os]['icon'] = "fiberhome";
|
||||
|
||||
// PBN, Pacific Broadband Networks
|
||||
$os = "pbn";
|
||||
$config['os'][$os]['text'] = "PBN";
|
||||
$config['os'][$os]['type'] = "network";
|
||||
$config['os'][$os]['ifXmcbc'] = 1;
|
||||
$config['os'][$os]['over'][0]['graph'] = "device_bits";
|
||||
$config['os'][$os]['over'][0]['text'] = "Device Traffic";
|
||||
$config['os'][$os]['icon'] = "pbn";
|
||||
|
||||
foreach ($config['os'] as $this_os => $blah)
|
||||
{
|
||||
if (isset($config['os'][$this_os]['group']))
|
||||
|
||||
9
includes/discovery/os/pbn.inc.php
Normal file
9
includes/discovery/os/pbn.inc.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
if (!$os) {
|
||||
if (preg_match("/^Pacific Broadband Networks/", $sysDescr)) {
|
||||
$os = "pbn";
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user