mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Teleste Luminato ports & qam/asi output sensors & yaml (#13616)
* Luminato: bitrate sensor * bitrate sensor Eloquent * luminato ports * luminato ports styleci * luminato QAM/ASI sensor * luminato QAM/ASI sensor styleci * YAML & test * drop debug $ver from sensor type * mess with Teleste ifExtPhysInterface/ifExtLogiInterface * styleci * test data * mistake in port discovery * left out Graphs->Health->Overview->Bitrate label * fixed Bitrate graph, copy/paste errors
This commit is contained in:
@@ -39,6 +39,7 @@ class Sensor extends DeviceRelatedModel
|
||||
'state' => 'bullseye',
|
||||
'temperature' => 'thermometer-three-quarters',
|
||||
'tv_signal' => 'signal',
|
||||
'bitrate' => 'bar-chart',
|
||||
'voltage' => 'bolt',
|
||||
'waterflow' => 'tint',
|
||||
'percent' => 'percent',
|
||||
|
@@ -37,6 +37,7 @@ the values we expect to see the data in:
|
||||
| state | # |
|
||||
| temperature | C |
|
||||
| tv_signal | dBmV |
|
||||
| bitrate | bps |
|
||||
| voltage | V |
|
||||
| waterflow | l/m |
|
||||
| percent | % |
|
||||
@@ -468,6 +469,8 @@ Signal:
|
||||
State:
|
||||
Count:
|
||||
Temperature: ..
|
||||
Tv_signal:
|
||||
Bitrate:
|
||||
Voltage: .
|
||||
Snr:
|
||||
Pressure:
|
||||
|
@@ -14,7 +14,7 @@ modules:
|
||||
oid: laLoadInt
|
||||
num_oid: '.1.3.6.1.4.1.2021.10.1.5.{{ $index }}'
|
||||
descr: Chassis CPU
|
||||
index: 2
|
||||
index: 0
|
||||
sensors:
|
||||
pre-cache:
|
||||
data:
|
||||
@@ -30,7 +30,7 @@ modules:
|
||||
descr: "{{ $entPhysicalName }} ({{ $entPhysicalDescr }}) "
|
||||
index: '{{ $index }}'
|
||||
divisor: 10
|
||||
skip_value_lt: -50
|
||||
skip_value_lt: 1
|
||||
state:
|
||||
data:
|
||||
-
|
||||
|
@@ -8,7 +8,22 @@ bad_snmpEngineTime: true
|
||||
bad_hrSystemUptime: true
|
||||
over:
|
||||
- { graph: device_bits, text: 'Device Traffic' }
|
||||
- { graph: device_processor, text: 'CPU Usage' }
|
||||
|
||||
discovery:
|
||||
-
|
||||
sysObjectID:
|
||||
- .1.3.6.1.4.1.3715
|
||||
discovery_modules:
|
||||
arp-table: false
|
||||
bgp-peers: false
|
||||
cisco-vrf-lite: false
|
||||
ports-stack: false
|
||||
mempools: false
|
||||
discovery-protocols: false
|
||||
wireless: false
|
||||
poller_modules:
|
||||
bgp-peers: false
|
||||
services: false
|
||||
mempools: false
|
||||
wireless: false
|
||||
|
@@ -26,6 +26,11 @@ if ($device['os'] == 'airos-af-ltu') {
|
||||
require 'ports/airos-af-ltu.inc.php';
|
||||
}
|
||||
|
||||
//Teleste Luminato ifOperStatus
|
||||
if ($device['os'] == 'luminato') {
|
||||
require base_path('includes/discovery/ports/luminato.inc.php');
|
||||
}
|
||||
|
||||
// End Building SNMP Cache Array
|
||||
d_echo($port_stats);
|
||||
|
||||
|
34
includes/discovery/ports/luminato.inc.php
Normal file
34
includes/discovery/ports/luminato.inc.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* luminato.inc.php
|
||||
*
|
||||
* LibreNMS discovery module for Teleste Luminato. Modify ifOperStatus
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @link https://www.librenms.org
|
||||
*
|
||||
* @copyrigh 2021 Peca Nesovanovic
|
||||
*
|
||||
* @author Peca Nesovanovic <peca.nesovanovic@sattrakt.com>
|
||||
*/
|
||||
$ver = intval($device['version']);
|
||||
d_echo('PORTS: Luminato v' . $ver);
|
||||
|
||||
if ($ver >= 20) {
|
||||
$ifmib = SnmpQuery::walk('IF-MIB::ifConnectorPresent')->table(2);
|
||||
foreach ($port_stats as $key => $data) {
|
||||
$port_stats[$key]['ifOperStatus'] = $ifmib[$key]['IF-MIB::ifConnectorPresent'] ? 'up' : 'down';
|
||||
}
|
||||
}
|
@@ -68,6 +68,7 @@ $run_sensors = [
|
||||
'count',
|
||||
'temperature',
|
||||
'tv_signal',
|
||||
'bitrate',
|
||||
'voltage',
|
||||
'snr',
|
||||
'pressure',
|
||||
|
66
includes/discovery/sensors/bitrate/luminato.inc.php
Normal file
66
includes/discovery/sensors/bitrate/luminato.inc.php
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
/*
|
||||
* LibreNMS discovery module for Teleste Luminato ASI/QAM bitrate
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @package LibreNMS
|
||||
* @link https://www.librenms.org
|
||||
*
|
||||
* @copyright 2021 Peca Nesovanovic
|
||||
*
|
||||
* @author Peca Nesovanovic <peca.nesovanovic@sattrakt.com>
|
||||
*/
|
||||
$divisor = 1;
|
||||
$ver = intval($device['version']);
|
||||
$boid = '.1.3.6.1.4.1.3715.17.3.3.1.';
|
||||
|
||||
if (is_array($pre_cache['transfer'])) {
|
||||
d_echo('Luminato transfer' . $ver);
|
||||
foreach ($pre_cache['transfer'] as $key => $data) {
|
||||
if ($data['ifExtDirection'] == 'output') {
|
||||
if ($ver < 10) { //v10 and up auto reset transBitrateMax, older version could not use this sensor
|
||||
$value = $data['transBitrate'] / $divisor;
|
||||
$oid = $boid . '2.' . $key;
|
||||
} else {
|
||||
$value = $data['transBitrateMax'] / $divisor;
|
||||
$oid = $boid . '4.' . $key;
|
||||
}
|
||||
|
||||
unset($defrate);
|
||||
$mnr = $pre_cache['transfer'][$key]['ifExtModule']; //module nr
|
||||
$mname = $pre_cache['entPhysicalDescr'][$mnr]['entPhysicalDescr']; //module name
|
||||
if ($mname == 'LQM-C' || $mname == 'LDM-C') { //QAM module
|
||||
$defrate = 50; //default bitrate for QAM module
|
||||
}
|
||||
if ($mname == 'LAS-D') { //AsiOut module
|
||||
$defrate = 60; //default bitrate for AsiOut module
|
||||
}
|
||||
if (isset($defrate)) {
|
||||
$type = 'Transfer_' . $mname;
|
||||
$defrate = $defrate * 1000 * 1000;
|
||||
$descr = $mname . ' output ';
|
||||
$descr .= sprintf('%02d', $pre_cache['transfer'][$key]['ifExtModule']) . '.'; //include module nr
|
||||
$descr .= sprintf('%02d', $pre_cache['transfer'][$key]['ifExtPhysInterface']) . '.';
|
||||
$descr .= sprintf('%02d', $pre_cache['transfer'][$key]['ifExtLogiInterface']);
|
||||
$group = 'Slot ' . $mnr;
|
||||
$limit = $defrate * 1; //100%
|
||||
$limitwarn = $defrate * 0.8; //80%
|
||||
$lowlimit = 0;
|
||||
$lowwarnlimit = $defrate * 0.1; //10%
|
||||
discover_sensor($valid['sensor'], 'bitrate', $device, $oid, $key, $type, $descr, $divisor, 1, $lowlimit, $lowwarnlimit, $limitwarn, $limit, $value, 'snmp', null, null, null, $group);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
43
includes/discovery/sensors/pre-cache/luminato.inc.php
Normal file
43
includes/discovery/sensors/pre-cache/luminato.inc.php
Normal file
@@ -0,0 +1,43 @@
|
||||
<?php
|
||||
/*
|
||||
* LibreNMS pre-cache module for Teleste Luminato
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @package LibreNMS
|
||||
* @link https://www.librenms.org
|
||||
*
|
||||
* @copyright 2021 Peca Nesovanovic
|
||||
*
|
||||
* @author Peca Nesovanovic <peca.nesovanovic@sattrakt.com>
|
||||
*/
|
||||
echo 'Luminato ';
|
||||
|
||||
$oidt = snmp_walk($device, 'TransferEntry', '-OsQ', 'TELESTE-LUMINATO-MIB');
|
||||
$oidt = trim($oidt);
|
||||
$oidi = snmp_walk($device, 'IfExtEntry', '-OsQ', 'TELESTE-LUMINATO-MIB');
|
||||
$oidi = trim($oidi);
|
||||
$oids = $oidt . "\n" . $oidi;
|
||||
|
||||
if ($oids) {
|
||||
foreach (explode("\n", $oids) as $data) {
|
||||
if ($data) {
|
||||
$split = explode('=', $data);
|
||||
$value = trim($split[1]);
|
||||
$index = trim(explode('.', $split[0])[1]);
|
||||
$name = trim(explode('.', $split[0])[0]);
|
||||
$pre_cache['transfer'][$index][$name] = $value;
|
||||
}
|
||||
}
|
||||
}
|
27
includes/html/graphs/device/bitrate.inc.php
Normal file
27
includes/html/graphs/device/bitrate.inc.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
/*
|
||||
* 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.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @package LibreNMS
|
||||
* @link https://www.librenms.org
|
||||
*
|
||||
* @copyright 2021 Peca Nesovanovic
|
||||
* @author Peca Nesovanovic <peca.nesovanovic@sattrakt.com>
|
||||
*
|
||||
*/
|
||||
$class = 'bitrate';
|
||||
$unit = 'bps';
|
||||
$unit_long = 'bps';
|
||||
|
||||
require 'includes/html/graphs/device/sensor.inc.php';
|
23
includes/html/graphs/sensor/bitrate.inc.php
Normal file
23
includes/html/graphs/sensor/bitrate.inc.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
$scale_min = '-50';
|
||||
$scale_max = '80';
|
||||
require 'includes/html/graphs/common.inc.php';
|
||||
|
||||
$rrd_options .= " COMMENT:' Min Last Max\\n'";
|
||||
|
||||
$sensor['sensor_descr_fixed'] = \LibreNMS\Data\Store\Rrd::fixedSafeDescr($sensor['sensor_descr'], 18);
|
||||
|
||||
$rrd_options .= " DEF:sensor=$rrd_filename:sensor:AVERAGE";
|
||||
$rrd_options .= " LINE1.5:sensor#cc0000:'" . $sensor['sensor_descr_fixed'] . "'";
|
||||
$rrd_options .= " GPRINT:sensor$current_id:MIN:%5.2lfbps";
|
||||
$rrd_options .= ' GPRINT:sensor:LAST:%5.2lfbps';
|
||||
$rrd_options .= ' GPRINT:sensor:MAX:%5.2lfbps\l';
|
||||
|
||||
if (is_numeric($sensor['sensor_limit'])) {
|
||||
$rrd_options .= ' HRULE:' . $sensor['sensor_limit'] . '#999999::dashes';
|
||||
}
|
||||
|
||||
if (is_numeric($sensor['sensor_limit_low'])) {
|
||||
$rrd_options .= ' HRULE:' . $sensor['sensor_limit_low'] . '#999999::dashes';
|
||||
}
|
@@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
use App\Models\Sensor;
|
||||
|
||||
$storage = dbFetchCell('select count(*) from storage WHERE device_id = ?', [$device['device_id']]);
|
||||
$diskio = dbFetchRows('SELECT * FROM `ucd_diskio` WHERE device_id = ? ORDER BY diskio_descr', [$device['device_id']]);
|
||||
$mempools = dbFetchCell('select count(*) from mempools WHERE device_id = ?', [$device['device_id']]);
|
||||
@@ -45,6 +47,7 @@ $eer = dbFetchCell("select count(*) from sensors WHERE sensor_class='eer' AND de
|
||||
$waterflow = dbFetchCell("select count(*) from sensors WHERE sensor_class='waterflow' AND device_id = ?", [$device['device_id']]);
|
||||
$percent = dbFetchCell("select count(*) from sensors WHERE sensor_class='percent' AND device_id = ?", [$device['device_id']]);
|
||||
$tv_signal = dbFetchCell("select count(*) from sensors WHERE sensor_class='tv_signal' AND device_id = ?", [$device['device_id']]);
|
||||
$bitrate = Sensor::where('sensor_class', 'bitrate')->where('device_id', $device['device_id'])->count();
|
||||
|
||||
unset($datas);
|
||||
$datas[] = 'overview';
|
||||
@@ -136,6 +139,10 @@ if ($tv_signal) {
|
||||
$datas[] = 'tv_signal';
|
||||
}
|
||||
|
||||
if ($bitrate) {
|
||||
$datas[] = 'bitrate';
|
||||
}
|
||||
|
||||
if ($airflow) {
|
||||
$datas[] = 'airflow';
|
||||
}
|
||||
@@ -206,6 +213,7 @@ $type_text['count'] = 'Count';
|
||||
$type_text['load'] = 'Load';
|
||||
$type_text['signal'] = 'Signal';
|
||||
$type_text['tv_signal'] = 'TV signal';
|
||||
$type_text['bitrate'] = 'Bitrate';
|
||||
$type_text['airflow'] = 'Airflow';
|
||||
$type_text['snr'] = 'SNR';
|
||||
$type_text['pressure'] = 'Pressure';
|
||||
|
29
includes/html/pages/device/health/bitrate.inc.php
Normal file
29
includes/html/pages/device/health/bitrate.inc.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
/**
|
||||
* bitrate.inc.php
|
||||
*
|
||||
* LibreNMS bitrate health page for WebUI
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @link https://www.librenms.org
|
||||
*
|
||||
* @copyright 2021 Peca Nesovanovic
|
||||
* @author Peca Nesovanovic <peca.nesovanovic@sattrakt.com>
|
||||
*/
|
||||
$class = 'bitrate';
|
||||
$unit = 'bps';
|
||||
$graph_type = 'sensor_bitrate';
|
||||
|
||||
require 'sensors.inc.php';
|
@@ -65,6 +65,7 @@ require 'overview/sensors/count.inc.php';
|
||||
require 'overview/sensors/percent.inc.php';
|
||||
require 'overview/sensors/signal.inc.php';
|
||||
require 'overview/sensors/tv_signal.inc.php';
|
||||
require 'overview/sensors/bitrate.inc.php';
|
||||
require 'overview/sensors/airflow.inc.php';
|
||||
require 'overview/sensors/snr.inc.php';
|
||||
require 'overview/sensors/pressure.inc.php';
|
||||
|
30
includes/html/pages/device/overview/sensors/bitrate.inc.php
Normal file
30
includes/html/pages/device/overview/sensors/bitrate.inc.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/**
|
||||
* bitrate.inc.php
|
||||
*
|
||||
* LibreNMS bitrate overview for WebUI
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @link https://www.librenms.org
|
||||
*
|
||||
* @copyright 2021 Peca Nesovanovic
|
||||
* @author Peca Nesovanovic <peca.nesovanovic@sattrakt.com>
|
||||
*/
|
||||
$graph_type = 'sensor_bitrate';
|
||||
$sensor_class = 'bitrate';
|
||||
$sensor_unit = 'bps';
|
||||
$sensor_type = 'Bitrate';
|
||||
|
||||
require 'includes/html/pages/device/overview/generic/sensor.inc.php';
|
@@ -50,6 +50,7 @@ $type_text = [
|
||||
'count' => 'Count',
|
||||
'signal' => 'Signal',
|
||||
'tv_signal' => 'TV signal',
|
||||
'bitrate' => 'Bitrate',
|
||||
'snr' => 'SNR',
|
||||
'pressure' => 'Pressure',
|
||||
'cooling' => 'Cooling',
|
||||
|
22
includes/html/pages/health/bitrate.inc.php
Normal file
22
includes/html/pages/health/bitrate.inc.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
/*
|
||||
* LibreNMS
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* @package LibreNMS
|
||||
* @subpackage webui
|
||||
* @link https://www.librenms.org
|
||||
*
|
||||
* @copyright 2021 Peca Nesovanovic
|
||||
* @author Peca Nesovanovic <peca.nesovanovic@sattrakt.com>
|
||||
*/
|
||||
$graph_type = 'sensor_signal';
|
||||
$class = 'bitrate';
|
||||
$unit = 'bps';
|
||||
|
||||
require 'includes/html/pages/health/sensors.inc.php';
|
42
includes/polling/ports/os/luminato.inc.php
Normal file
42
includes/polling/ports/os/luminato.inc.php
Normal file
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
/**
|
||||
* luminato.inc.php
|
||||
*
|
||||
* LibreNMS poller module for Teleste Luminato. Modify: ifSpeed ifHighSpeed ifOperStatus
|
||||
*
|
||||
* 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.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*
|
||||
* @link https://www.librenms.org
|
||||
*
|
||||
* @copyrigh 2021 Peca Nesovanovic
|
||||
*
|
||||
* @author peca.nesovanovic@sattrakt.com
|
||||
*/
|
||||
$ver = intval($device['version']);
|
||||
d_echo('PORTS: Luminato v' . $ver);
|
||||
|
||||
$rfcmib = SnmpQuery::walk('RFC1213-MIB::ifSpeed')->table(2);
|
||||
|
||||
foreach ($port_stats as $key => $data) {
|
||||
$speed = $rfcmib[$key]['RFC1213-MIB::ifSpeed'];
|
||||
|
||||
if ($ver >= 20) {
|
||||
$port_stats[$key]['ifOperStatus'] = $data['ifConnectorPresent'] ? 'up' : 'down';
|
||||
} else {
|
||||
$speed = $speed / 1000000;
|
||||
}
|
||||
|
||||
$port_stats[$key]['ifHighSpeed'] = $speed;
|
||||
$port_stats[$key]['ifSpeed'] = 0;
|
||||
}
|
@@ -150,6 +150,12 @@ return [
|
||||
'unit' => 'dBmV',
|
||||
'unit_long' => 'Decibel-Millivolts',
|
||||
],
|
||||
'bitrate' => [
|
||||
'short' => 'Bitrate',
|
||||
'long' => 'Bitrate',
|
||||
'unit' => 'bps',
|
||||
'unit_long' => 'bits per second',
|
||||
],
|
||||
'snr' => [
|
||||
'short' => 'SNR',
|
||||
'long' => 'Signal to Noise Ratio',
|
||||
|
@@ -457,7 +457,7 @@
|
||||
"ifName": "MGMT 1",
|
||||
"portName": null,
|
||||
"ifIndex": 1,
|
||||
"ifSpeed": 0,
|
||||
"ifSpeed": 100000000,
|
||||
"ifSpeed_prev": null,
|
||||
"ifConnectorPresent": "true",
|
||||
"ifPromiscuousMode": "false",
|
||||
@@ -562,7 +562,7 @@
|
||||
"ifName": "MGMT 2",
|
||||
"portName": null,
|
||||
"ifIndex": 2,
|
||||
"ifSpeed": 0,
|
||||
"ifSpeed": 100000000,
|
||||
"ifSpeed_prev": null,
|
||||
"ifConnectorPresent": "true",
|
||||
"ifPromiscuousMode": "false",
|
||||
@@ -667,7 +667,7 @@
|
||||
"ifName": "GE 1",
|
||||
"portName": null,
|
||||
"ifIndex": 3,
|
||||
"ifSpeed": 0,
|
||||
"ifSpeed": 1000000000,
|
||||
"ifSpeed_prev": null,
|
||||
"ifConnectorPresent": "true",
|
||||
"ifPromiscuousMode": "false",
|
||||
@@ -772,7 +772,7 @@
|
||||
"ifName": "GE 2",
|
||||
"portName": null,
|
||||
"ifIndex": 4,
|
||||
"ifSpeed": 0,
|
||||
"ifSpeed": 1000000000,
|
||||
"ifSpeed_prev": null,
|
||||
"ifConnectorPresent": "true",
|
||||
"ifPromiscuousMode": "false",
|
||||
@@ -877,7 +877,7 @@
|
||||
"entPhysicalIndex": 0,
|
||||
"hrDeviceIndex": 0,
|
||||
"processor_oid": ".1.3.6.1.4.1.2021.10.1.5.3",
|
||||
"processor_index": "2",
|
||||
"processor_index": "0",
|
||||
"processor_type": "luminato",
|
||||
"processor_usage": 29,
|
||||
"processor_descr": "Chassis CPU",
|
||||
@@ -892,7 +892,7 @@
|
||||
"entPhysicalIndex": 0,
|
||||
"hrDeviceIndex": 0,
|
||||
"processor_oid": ".1.3.6.1.4.1.2021.10.1.5.3",
|
||||
"processor_index": "2",
|
||||
"processor_index": "0",
|
||||
"processor_type": "luminato",
|
||||
"processor_usage": 10,
|
||||
"processor_descr": "Chassis CPU",
|
||||
@@ -905,6 +905,294 @@
|
||||
"sensors": {
|
||||
"discovery": {
|
||||
"sensors": [
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "bitrate",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.3715.17.3.3.1.2.12010001",
|
||||
"sensor_index": "12010001",
|
||||
"sensor_type": "Transfer_LQM-C",
|
||||
"sensor_descr": "LQM-C output 01.01.01",
|
||||
"group": "Slot 1",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 47538432,
|
||||
"sensor_limit": 50000000,
|
||||
"sensor_limit_warn": 40000000,
|
||||
"sensor_limit_low": 0,
|
||||
"sensor_limit_low_warn": 5000000,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "bitrate",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.3715.17.3.3.1.2.12020001",
|
||||
"sensor_index": "12020001",
|
||||
"sensor_type": "Transfer_LQM-C",
|
||||
"sensor_descr": "LQM-C output 01.02.01",
|
||||
"group": "Slot 1",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 49513184,
|
||||
"sensor_limit": 50000000,
|
||||
"sensor_limit_warn": 40000000,
|
||||
"sensor_limit_low": 0,
|
||||
"sensor_limit_low_warn": 5000000,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "bitrate",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.3715.17.3.3.1.2.12030001",
|
||||
"sensor_index": "12030001",
|
||||
"sensor_type": "Transfer_LQM-C",
|
||||
"sensor_descr": "LQM-C output 01.03.01",
|
||||
"group": "Slot 1",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 35399648,
|
||||
"sensor_limit": 50000000,
|
||||
"sensor_limit_warn": 40000000,
|
||||
"sensor_limit_low": 0,
|
||||
"sensor_limit_low_warn": 5000000,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "bitrate",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.3715.17.3.3.1.2.12040001",
|
||||
"sensor_index": "12040001",
|
||||
"sensor_type": "Transfer_LQM-C",
|
||||
"sensor_descr": "LQM-C output 01.04.01",
|
||||
"group": "Slot 1",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 42594784,
|
||||
"sensor_limit": 50000000,
|
||||
"sensor_limit_warn": 40000000,
|
||||
"sensor_limit_low": 0,
|
||||
"sensor_limit_low_warn": 5000000,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "bitrate",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.3715.17.3.3.1.2.22010001",
|
||||
"sensor_index": "22010001",
|
||||
"sensor_type": "Transfer_LQM-C",
|
||||
"sensor_descr": "LQM-C output 02.01.01",
|
||||
"group": "Slot 2",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 31211008,
|
||||
"sensor_limit": 50000000,
|
||||
"sensor_limit_warn": 40000000,
|
||||
"sensor_limit_low": 0,
|
||||
"sensor_limit_low_warn": 5000000,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "bitrate",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.3715.17.3.3.1.2.22020001",
|
||||
"sensor_index": "22020001",
|
||||
"sensor_type": "Transfer_LQM-C",
|
||||
"sensor_descr": "LQM-C output 02.02.01",
|
||||
"group": "Slot 2",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 42865504,
|
||||
"sensor_limit": 50000000,
|
||||
"sensor_limit_warn": 40000000,
|
||||
"sensor_limit_low": 0,
|
||||
"sensor_limit_low_warn": 5000000,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "bitrate",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.3715.17.3.3.1.2.22030001",
|
||||
"sensor_index": "22030001",
|
||||
"sensor_type": "Transfer_LQM-C",
|
||||
"sensor_descr": "LQM-C output 02.03.01",
|
||||
"group": "Slot 2",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 22421632,
|
||||
"sensor_limit": 50000000,
|
||||
"sensor_limit_warn": 40000000,
|
||||
"sensor_limit_low": 0,
|
||||
"sensor_limit_low_warn": 5000000,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "bitrate",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.3715.17.3.3.1.2.22040001",
|
||||
"sensor_index": "22040001",
|
||||
"sensor_type": "Transfer_LQM-C",
|
||||
"sensor_descr": "LQM-C output 02.04.01",
|
||||
"group": "Slot 2",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 21983968,
|
||||
"sensor_limit": 50000000,
|
||||
"sensor_limit_warn": 40000000,
|
||||
"sensor_limit_low": 0,
|
||||
"sensor_limit_low_warn": 5000000,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "bitrate",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.3715.17.3.3.1.2.32010001",
|
||||
"sensor_index": "32010001",
|
||||
"sensor_type": "Transfer_LQM-C",
|
||||
"sensor_descr": "LQM-C output 03.01.01",
|
||||
"group": "Slot 3",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"sensor_limit": 50000000,
|
||||
"sensor_limit_warn": 40000000,
|
||||
"sensor_limit_low": 0,
|
||||
"sensor_limit_low_warn": 5000000,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "bitrate",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.3715.17.3.3.1.2.32020001",
|
||||
"sensor_index": "32020001",
|
||||
"sensor_type": "Transfer_LQM-C",
|
||||
"sensor_descr": "LQM-C output 03.02.01",
|
||||
"group": "Slot 3",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"sensor_limit": 50000000,
|
||||
"sensor_limit_warn": 40000000,
|
||||
"sensor_limit_low": 0,
|
||||
"sensor_limit_low_warn": 5000000,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "bitrate",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.3715.17.3.3.1.2.32030001",
|
||||
"sensor_index": "32030001",
|
||||
"sensor_type": "Transfer_LQM-C",
|
||||
"sensor_descr": "LQM-C output 03.03.01",
|
||||
"group": "Slot 3",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 20314528,
|
||||
"sensor_limit": 50000000,
|
||||
"sensor_limit_warn": 40000000,
|
||||
"sensor_limit_low": 0,
|
||||
"sensor_limit_low_warn": 5000000,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "bitrate",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.3715.17.3.3.1.2.32040001",
|
||||
"sensor_index": "32040001",
|
||||
"sensor_type": "Transfer_LQM-C",
|
||||
"sensor_descr": "LQM-C output 03.04.01",
|
||||
"group": "Slot 3",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 23232288,
|
||||
"sensor_limit": 50000000,
|
||||
"sensor_limit_warn": 40000000,
|
||||
"sensor_limit_low": 0,
|
||||
"sensor_limit_low_warn": 5000000,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
|
Reference in New Issue
Block a user