Added PBN definition and pbn OS

This commit is contained in:
vitalisator
2015-05-28 12:55:59 +02:00
parent 86c49a308d
commit 20165f0382
2 changed files with 18 additions and 0 deletions

View File

@@ -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']))

View File

@@ -0,0 +1,9 @@
<?php
if (!$os) {
if (preg_match("/^Pacific Broadband Networks/", $sysDescr)) {
$os = "pbn";
}
}
?>