initial sonus support (#4176)

* initial sonus support, tidy definitions.inc.php

* proper copyright in files

* limiting the noise

* used too old definitions.inc.php
This commit is contained in:
crcro
2016-08-24 16:33:00 +03:00
committed by Neil Lathwood
parent 383c50b4f4
commit f30c3907a8
4 changed files with 47 additions and 0 deletions

BIN
html/images/os/sonus.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

@@ -1999,6 +1999,19 @@ $config['os'][$os]['text'] = 'Hytera Repeater';
$config['os'][$os]['type'] = 'wireless';
$config['os'][$os]['icon'] = 'hytera';
// Sonus GSX
$os = 'sonus-gsx';
$config['os'][$os]['text'] = 'Sonus GSX';
$config['os'][$os]['type'] = 'appliance';
$config['os'][$os]['icon'] = 'sonus';
// Sonus SBC
$os = 'sonus-sbc';
$config['os'][$os]['text'] = 'Sonus SBC';
$config['os'][$os]['type'] = 'appliance';
$config['os'][$os]['icon'] = 'sonus';
// Graph Types
require_once $config['install_dir'].'/includes/load_db_graph_types.inc.php';

View File

@@ -0,0 +1,17 @@
<?php
/*
* LibreNMS
*
* Copyright (c) 2016 Cercel Valentin <crc@nuamchefazi.ro>
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version. Please see LICENSE.txt at the top level of
* the source code distribution for details.
*/
if (!$os) {
if (strstr($sysObjectId, '.1.3.6.1.4.1.2879.1.1.2')) {
$os = 'sonus-gsx';
}
}

View File

@@ -0,0 +1,17 @@
<?php
/*
* LibreNMS
*
* Copyright (c) 2016 Cercel Valentin <crc@nuamchefazi.ro>
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version. Please see LICENSE.txt at the top level of
* the source code distribution for details.
*/
if (!$os) {
if (strstr($sysObjectId, '.1.3.6.1.4.1.2879.1.9.2')) {
$os = 'sonus-sbc';
}
}