Added support for Mikrotik LTE Modem (#10805)

* Added support for Mikrotik LTE Modem

* Deleted mistaken file

* Travis fix

* Another Travis fix
This commit is contained in:
Jozef Rebjak 2019-11-13 12:31:32 +01:00 committed by Neil Lathwood
parent a43f0ea757
commit c69efb3444
18 changed files with 1276 additions and 1 deletions

View File

@ -156,6 +156,15 @@ class WirelessSensor extends Sensor
'snr' => [
'icon' => 'signal',
],
'sinr' => [
'icon' => 'signal',
],
'rsrp' => [
'icon' => 'signal',
],
'rsrq' => [
'icon' => 'signal',
],
'ssr' => [
'icon' => 'signal',
],

View File

@ -0,0 +1,37 @@
<?php
/**
* WirelessRsrpDiscovery.php
*
* Discover wireless RSRP (Reference Signal Received Power) sensors in dBm
*
* 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 <http://www.gnu.org/licenses/>.
*
* @package LibreNMS
* @link http://librenms.org
* @copyright 2019 Jozef Rebjak
* @author Jozef Rebjak <jozefrebjak@icloud.com>
*/
namespace LibreNMS\Interfaces\Discovery\Sensors;
interface WirelessRsrpDiscovery
{
/**
* Discover wireless RSRP (Reference Signal Received Power). This is in dBm. Type is rsrp.
* Returns an array of LibreNMS\Device\Sensor objects that have been discovered
*
* @return array
*/
public function discoverWirelessRsrp();
}

View File

@ -0,0 +1,37 @@
<?php
/**
* WirelessRsrqDiscovery.php
*
* Discover wireless RSRQ (Quality of the received signal,) sensors in dB
*
* 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 <http://www.gnu.org/licenses/>.
*
* @package LibreNMS
* @link http://librenms.org
* @copyright 2019 Jozef Rebjak
* @author Jozef Rebjak <jozefrebjak@icloud.com>
*/
namespace LibreNMS\Interfaces\Discovery\Sensors;
interface WirelessRsrqDiscovery
{
/**
* Discover wireless RSRQ (Quality of the received signal,). This is in dB. Type is rsrq.
* Returns an array of LibreNMS\Device\Sensor objects that have been discovered
*
* @return array
*/
public function discoverWirelessRsrq();
}

View File

@ -0,0 +1,38 @@
<?php
/**
* WirelessSinrDiscovery.php
*
* Discover wireless Signal-to-Interference-plus-Noise Ratio sensors in dB
*
* 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 <http://www.gnu.org/licenses/>.
*
* @package LibreNMS
* @link http://librenms.org
* @copyright 2019 Jozef Rebjak
* @author Jozef Rebjak <jozefrebjak@icloud.com>
*/
namespace LibreNMS\Interfaces\Discovery\Sensors;
interface WirelessSinrDiscovery
{
/**
* Discover wireless SINR. This is in dB. Type is sinr.
* Signal-to-Interference-plus-Noise Ratio
* Returns an array of LibreNMS\Device\Sensor objects that have been discovered
*
* @return array Sensors
*/
public function discoverWirelessSinr();
}

View File

@ -0,0 +1,38 @@
<?php
/**
* WirelessRsrpPolling.php
*
* Custom polling interface for wireless RSRP (Reference Signal Received Power)
*
* 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 <http://www.gnu.org/licenses/>.
*
* @package LibreNMS
* @link http://librenms.org
* @copyright 2019 Jozef Rebjak
* @author Jozef Rebjak <jozefrebjak@icloud.com>
*/
namespace LibreNMS\Interfaces\Polling\Sensors;
interface WirelessRsrpPolling
{
/**
* Poll wireless RSRP (Reference Signal Received Power) in dBm
* The returned array should be sensor_id => value pairs
*
* @param array $sensors Array of sensors needed to be polled
* @return array of polled data
*/
public function pollWirelessRsrp(array $sensors);
}

View File

@ -0,0 +1,38 @@
<?php
/**
* WirelessRsrqPolling.php
*
* Custom polling interface for wireless RSRQ (Quality of the received signal)
*
* 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 <http://www.gnu.org/licenses/>.
*
* @package LibreNMS
* @link http://librenms.org
* @copyright 2019 Jozef Rebjak
* @author Jozef Rebjak <jozefrebjak@icloud.com>
*/
namespace LibreNMS\Interfaces\Polling\Sensors;
interface WirelessRsrqPolling
{
/**
* Poll wireless RSRQ (Quality of the received signal) in dB
* The returned array should be sensor_id => value pairs
*
* @param array $sensors Array of sensors needed to be polled
* @return array of polled data
*/
public function pollWirelessRsrq(array $sensors);
}

View File

@ -0,0 +1,38 @@
<?php
/**
* WirelessSinrPolling.php
*
* Custom polling interface for wireless Signal-to-Interference-plus-Noise Ratio
*
* 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 <http://www.gnu.org/licenses/>.
*
* @package LibreNMS
* @link http://librenms.org
* @copyright 2019 Jozef Rebjak
* @author Jozef Rebjak <jozefrebjak@icloud.com>
*/
namespace LibreNMS\Interfaces\Polling\Sensors;
interface WirelessSinrPolling
{
/**
* Poll wireless SINR in dB
* The returned array should be sensor_id => value pairs
*
* @param array $sensors Array of sensors needed to be polled
* @return array of polled data
*/
public function pollWirelessSinr(array $sensors);
}

View File

@ -33,6 +33,9 @@ use LibreNMS\Interfaces\Discovery\Sensors\WirelessNoiseFloorDiscovery;
use LibreNMS\Interfaces\Discovery\Sensors\WirelessRateDiscovery;
use LibreNMS\Interfaces\Discovery\Sensors\WirelessRssiDiscovery;
use LibreNMS\Interfaces\Discovery\Sensors\WirelessDistanceDiscovery;
use LibreNMS\Interfaces\Discovery\Sensors\WirelessRsrqDiscovery;
use LibreNMS\Interfaces\Discovery\Sensors\WirelessRsrpDiscovery;
use LibreNMS\Interfaces\Discovery\Sensors\WirelessSinrDiscovery;
use LibreNMS\OS;
class Routeros extends OS implements
@ -42,7 +45,10 @@ class Routeros extends OS implements
WirelessNoiseFloorDiscovery,
WirelessRateDiscovery,
WirelessRssiDiscovery,
WirelessDistanceDiscovery
WirelessDistanceDiscovery,
WirelessRsrqDiscovery,
WirelessRsrpDiscovery,
WirelessSinrDiscovery
{
private $data;
@ -241,4 +247,49 @@ class Routeros extends OS implements
}
return $sensors;
}
public function discoverWirelessRsrq()
{
$sinr = '.1.3.6.1.4.1.14988.1.1.16.1.1.3.1'; //MIKROTIK-MIB::mtxrLTEModemSignalRSRQ
return array(
new WirelessSensor(
'rsrq',
$this->getDeviceId(),
$sinr,
'routeros',
0,
'Signal RSRQ',
null
)
);
}
public function discoverWirelessRsrp()
{
$sinr = '.1.3.6.1.4.1.14988.1.1.16.1.1.4.1'; //MIKROTIK-MIB::mtxrLTEModemSignalRSRP
return array(
new WirelessSensor(
'rsrp',
$this->getDeviceId(),
$sinr,
'routeros',
0,
'Signal RSRP',
null
)
);
}
public function discoverWirelessSinr()
{
$sinr = '.1.3.6.1.4.1.14988.1.1.16.1.1.7.1'; //MIKROTIK-MIB::mtxrLTEModemSignalSINR
return array(
new WirelessSensor(
'sinr',
$this->getDeviceId(),
$sinr,
'routeros',
0,
'Signal SINR',
null
)
);
}
}

View File

@ -25,6 +25,9 @@ with the values we expect to see the data in:
| rate | bps | WirelessRateDiscovery | The negotiated rate of the connection (not data transfer) |
| rssi | dBm | WirelessRssiDiscovery | The Received Signal Strength Indicator |
| snr | dB | WirelessSnrDiscovery | The Signal to Noise ratio, which is signal - noise floor |
| sinr | dB | WirelessSinrDiscovery | The Signal-to-Interference-plus-Noise Ratio |
| rsrq | dB | WirelessRsrqDiscovery | The Reference Signal Received Quality |
| rsrp | dBm | WirelessRsrpDiscovery | The Reference Signals Received Power |
| xpi | dBm | WirelessXpiDiscovery | The Cross Polar Interference values |
| ssr | dB | WirelessSsrDiscovery | The Signal strength ratio, the ratio(or difference) of Vertical rx power to Horizontal rx power |
| utilization | % | WirelessUtilizationDiscovery | The % of utilization compared to the current rate |

View File

@ -0,0 +1,9 @@
<?php
$scale_min = '0';
$class = 'rsrp';
$unit = '';
$unit_long = 'dBm';
require 'includes/html/graphs/device/wireless-sensor.inc.php';

View File

@ -0,0 +1,9 @@
<?php
$scale_min = '0';
$class = 'rsrq';
$unit = '';
$unit_long = 'dB';
require 'includes/html/graphs/device/wireless-sensor.inc.php';

View File

@ -0,0 +1,9 @@
<?php
$scale_min = '0';
$class = 'sinr';
$unit = '';
$unit_long = 'dB';
require 'includes/html/graphs/device/wireless-sensor.inc.php';

View File

@ -0,0 +1,31 @@
<?php
/**
* rsrp.inc.php
*
* -Description-
*
* 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 <http://www.gnu.org/licenses/>.
*
* @package LibreNMS
* @link http://librenms.org
* @copyright 2019 Jozef Rebjak
* @author Jozef Rebjak <jozefrebjak@icloud.com>
*/
$scale_min = '0';
$unit_long = 'RSRP (dBm)';
$unit = 'dBm';
include 'wireless-sensor.inc.php';

View File

@ -0,0 +1,31 @@
<?php
/**
* rsrq.inc.php
*
* -Description-
*
* 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 <http://www.gnu.org/licenses/>.
*
* @package LibreNMS
* @link http://librenms.org
* @copyright 2019 Jozef Rebjak
* @author Jozef Rebjak <jozefrebjak@icloud.com>
*/
$scale_min = '0';
$unit_long = 'RSRQ(dB)';
$unit = 'dB';
include 'wireless-sensor.inc.php';

View File

@ -0,0 +1,31 @@
<?php
/**
* sinr.inc.php
*
* -Description-
*
* 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 <http://www.gnu.org/licenses/>.
*
* @package LibreNMS
* @link http://librenms.org
* @copyright 2019 Jozef Rebjak
* @author Jozef Rebjak <jozefrebjak@icloud.com>
*/
$scale_min = '0';
$unit_long = 'SINR (dB)';
$unit = 'dB';
include 'wireless-sensor.inc.php';

View File

@ -91,6 +91,21 @@ return [
'long' => 'Signal-to-Noise Ratio',
'unit' => 'dB',
],
'sinr' => [
'short' => 'SINR',
'long' => ' Signal-to-Interference-plus-Noise Ratio',
'unit' => 'dB',
],
'rsrq' => [
'short' => 'RSRQ',
'long' => 'Reference Signal Received Quality',
'unit' => 'dB',
],
'rsrp' => [
'short' => 'RSRP',
'long' => 'Reference Signals Received Power',
'unit' => 'dBm',
],
'ssr' => [
'short' => 'SSR',
'long' => 'Signal Strength Ratio',

View File

@ -0,0 +1,702 @@
{
"os": {
"discovery": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.14988.1",
"sysDescr": "RouterOS RBLHGR",
"sysContact": null,
"version": null,
"hardware": null,
"features": null,
"os": "routeros",
"type": "network",
"serial": null,
"icon": "mikrotik.svg",
"location": null
}
]
},
"poller": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.14988.1",
"sysDescr": "RouterOS RBLHGR",
"sysContact": "<private>",
"version": "6.45.7",
"hardware": "RBLHGR",
"features": "Level 3",
"os": "routeros",
"type": "network",
"serial": "A33309596248",
"icon": "mikrotik.svg",
"location": "<private>"
}
]
}
},
"ports": {
"discovery": {
"ports": [
{
"port_descr_type": null,
"port_descr_descr": null,
"port_descr_circuit": null,
"port_descr_speed": null,
"port_descr_notes": null,
"ifDescr": "lte1",
"ifName": "lte1",
"portName": null,
"ifIndex": 1,
"ifSpeed": null,
"ifConnectorPresent": null,
"ifPromiscuousMode": null,
"ifHighSpeed": null,
"ifOperStatus": null,
"ifOperStatus_prev": null,
"ifAdminStatus": null,
"ifAdminStatus_prev": null,
"ifDuplex": null,
"ifMtu": null,
"ifType": "other",
"ifAlias": "lte1",
"ifPhysAddress": null,
"ifHardType": null,
"ifLastChange": 0,
"ifVlan": "",
"ifTrunk": null,
"counter_in": null,
"counter_out": null,
"ignore": 0,
"disabled": 0,
"detailed": 0,
"deleted": 0,
"pagpOperationMode": null,
"pagpPortState": null,
"pagpPartnerDeviceId": null,
"pagpPartnerLearnMethod": null,
"pagpPartnerIfIndex": null,
"pagpPartnerGroupIfIndex": null,
"pagpPartnerDeviceName": null,
"pagpEthcOperationMode": null,
"pagpDeviceId": null,
"pagpGroupIfIndex": null,
"ifInUcastPkts": null,
"ifInUcastPkts_prev": null,
"ifInUcastPkts_delta": null,
"ifInUcastPkts_rate": null,
"ifOutUcastPkts": null,
"ifOutUcastPkts_prev": null,
"ifOutUcastPkts_delta": null,
"ifOutUcastPkts_rate": null,
"ifInErrors": null,
"ifInErrors_prev": null,
"ifInErrors_delta": null,
"ifInErrors_rate": null,
"ifOutErrors": null,
"ifOutErrors_prev": null,
"ifOutErrors_delta": null,
"ifOutErrors_rate": null,
"ifInOctets": null,
"ifInOctets_prev": null,
"ifInOctets_delta": null,
"ifInOctets_rate": null,
"ifOutOctets": null,
"ifOutOctets_prev": null,
"ifOutOctets_delta": null,
"ifOutOctets_rate": null,
"poll_prev": null,
"ifInNUcastPkts": null,
"ifInNUcastPkts_prev": null,
"ifInNUcastPkts_delta": null,
"ifInNUcastPkts_rate": null,
"ifOutNUcastPkts": null,
"ifOutNUcastPkts_prev": null,
"ifOutNUcastPkts_delta": null,
"ifOutNUcastPkts_rate": null,
"ifInDiscards": null,
"ifInDiscards_prev": null,
"ifInDiscards_delta": null,
"ifInDiscards_rate": null,
"ifOutDiscards": null,
"ifOutDiscards_prev": null,
"ifOutDiscards_delta": null,
"ifOutDiscards_rate": null,
"ifInUnknownProtos": null,
"ifInUnknownProtos_prev": null,
"ifInUnknownProtos_delta": null,
"ifInUnknownProtos_rate": null,
"ifInBroadcastPkts": null,
"ifInBroadcastPkts_prev": null,
"ifInBroadcastPkts_delta": null,
"ifInBroadcastPkts_rate": null,
"ifOutBroadcastPkts": null,
"ifOutBroadcastPkts_prev": null,
"ifOutBroadcastPkts_delta": null,
"ifOutBroadcastPkts_rate": null,
"ifInMulticastPkts": null,
"ifInMulticastPkts_prev": null,
"ifInMulticastPkts_delta": null,
"ifInMulticastPkts_rate": null,
"ifOutMulticastPkts": null,
"ifOutMulticastPkts_prev": null,
"ifOutMulticastPkts_delta": null,
"ifOutMulticastPkts_rate": null
},
{
"port_descr_type": null,
"port_descr_descr": null,
"port_descr_circuit": null,
"port_descr_speed": null,
"port_descr_notes": null,
"ifDescr": "ether1",
"ifName": "ether1",
"portName": null,
"ifIndex": 2,
"ifSpeed": null,
"ifConnectorPresent": null,
"ifPromiscuousMode": null,
"ifHighSpeed": null,
"ifOperStatus": null,
"ifOperStatus_prev": null,
"ifAdminStatus": null,
"ifAdminStatus_prev": null,
"ifDuplex": null,
"ifMtu": null,
"ifType": "ethernetCsmacd",
"ifAlias": "ether1",
"ifPhysAddress": null,
"ifHardType": null,
"ifLastChange": 0,
"ifVlan": "",
"ifTrunk": null,
"counter_in": null,
"counter_out": null,
"ignore": 0,
"disabled": 0,
"detailed": 0,
"deleted": 0,
"pagpOperationMode": null,
"pagpPortState": null,
"pagpPartnerDeviceId": null,
"pagpPartnerLearnMethod": null,
"pagpPartnerIfIndex": null,
"pagpPartnerGroupIfIndex": null,
"pagpPartnerDeviceName": null,
"pagpEthcOperationMode": null,
"pagpDeviceId": null,
"pagpGroupIfIndex": null,
"ifInUcastPkts": null,
"ifInUcastPkts_prev": null,
"ifInUcastPkts_delta": null,
"ifInUcastPkts_rate": null,
"ifOutUcastPkts": null,
"ifOutUcastPkts_prev": null,
"ifOutUcastPkts_delta": null,
"ifOutUcastPkts_rate": null,
"ifInErrors": null,
"ifInErrors_prev": null,
"ifInErrors_delta": null,
"ifInErrors_rate": null,
"ifOutErrors": null,
"ifOutErrors_prev": null,
"ifOutErrors_delta": null,
"ifOutErrors_rate": null,
"ifInOctets": null,
"ifInOctets_prev": null,
"ifInOctets_delta": null,
"ifInOctets_rate": null,
"ifOutOctets": null,
"ifOutOctets_prev": null,
"ifOutOctets_delta": null,
"ifOutOctets_rate": null,
"poll_prev": null,
"ifInNUcastPkts": null,
"ifInNUcastPkts_prev": null,
"ifInNUcastPkts_delta": null,
"ifInNUcastPkts_rate": null,
"ifOutNUcastPkts": null,
"ifOutNUcastPkts_prev": null,
"ifOutNUcastPkts_delta": null,
"ifOutNUcastPkts_rate": null,
"ifInDiscards": null,
"ifInDiscards_prev": null,
"ifInDiscards_delta": null,
"ifInDiscards_rate": null,
"ifOutDiscards": null,
"ifOutDiscards_prev": null,
"ifOutDiscards_delta": null,
"ifOutDiscards_rate": null,
"ifInUnknownProtos": null,
"ifInUnknownProtos_prev": null,
"ifInUnknownProtos_delta": null,
"ifInUnknownProtos_rate": null,
"ifInBroadcastPkts": null,
"ifInBroadcastPkts_prev": null,
"ifInBroadcastPkts_delta": null,
"ifInBroadcastPkts_rate": null,
"ifOutBroadcastPkts": null,
"ifOutBroadcastPkts_prev": null,
"ifOutBroadcastPkts_delta": null,
"ifOutBroadcastPkts_rate": null,
"ifInMulticastPkts": null,
"ifInMulticastPkts_prev": null,
"ifInMulticastPkts_delta": null,
"ifInMulticastPkts_rate": null,
"ifOutMulticastPkts": null,
"ifOutMulticastPkts_prev": null,
"ifOutMulticastPkts_delta": null,
"ifOutMulticastPkts_rate": null
}
]
},
"poller": {
"ports": [
{
"port_descr_type": null,
"port_descr_descr": null,
"port_descr_circuit": null,
"port_descr_speed": null,
"port_descr_notes": null,
"ifDescr": "lte1",
"ifName": "lte1",
"portName": null,
"ifIndex": 1,
"ifSpeed": 10000000,
"ifConnectorPresent": null,
"ifPromiscuousMode": null,
"ifHighSpeed": 10,
"ifOperStatus": "up",
"ifOperStatus_prev": null,
"ifAdminStatus": "up",
"ifAdminStatus_prev": null,
"ifDuplex": null,
"ifMtu": 1500,
"ifType": "other",
"ifAlias": "lte1",
"ifPhysAddress": "001122334456",
"ifHardType": null,
"ifLastChange": 0,
"ifVlan": "",
"ifTrunk": null,
"counter_in": null,
"counter_out": null,
"ignore": 0,
"disabled": 0,
"detailed": 0,
"deleted": 0,
"pagpOperationMode": null,
"pagpPortState": null,
"pagpPartnerDeviceId": null,
"pagpPartnerLearnMethod": null,
"pagpPartnerIfIndex": null,
"pagpPartnerGroupIfIndex": null,
"pagpPartnerDeviceName": null,
"pagpEthcOperationMode": null,
"pagpDeviceId": null,
"pagpGroupIfIndex": null,
"ifInUcastPkts": 71190,
"ifInUcastPkts_prev": 0,
"ifInUcastPkts_delta": null,
"ifInUcastPkts_rate": null,
"ifOutUcastPkts": 56657,
"ifOutUcastPkts_prev": 0,
"ifOutUcastPkts_delta": null,
"ifOutUcastPkts_rate": null,
"ifInErrors": 0,
"ifInErrors_prev": 0,
"ifInErrors_delta": null,
"ifInErrors_rate": null,
"ifOutErrors": 0,
"ifOutErrors_prev": 0,
"ifOutErrors_delta": null,
"ifOutErrors_rate": null,
"ifInOctets": 41180564,
"ifInOctets_prev": 0,
"ifInOctets_delta": null,
"ifInOctets_rate": null,
"ifOutOctets": 7741634,
"ifOutOctets_prev": 0,
"ifOutOctets_delta": null,
"ifOutOctets_rate": null,
"poll_prev": null,
"ifInNUcastPkts": 0,
"ifInNUcastPkts_prev": 0,
"ifInNUcastPkts_delta": null,
"ifInNUcastPkts_rate": null,
"ifOutNUcastPkts": 0,
"ifOutNUcastPkts_prev": 0,
"ifOutNUcastPkts_delta": null,
"ifOutNUcastPkts_rate": null,
"ifInDiscards": 0,
"ifInDiscards_prev": 0,
"ifInDiscards_delta": null,
"ifInDiscards_rate": null,
"ifOutDiscards": 0,
"ifOutDiscards_prev": 0,
"ifOutDiscards_delta": null,
"ifOutDiscards_rate": null,
"ifInUnknownProtos": 0,
"ifInUnknownProtos_prev": 0,
"ifInUnknownProtos_delta": null,
"ifInUnknownProtos_rate": null,
"ifInBroadcastPkts": 0,
"ifInBroadcastPkts_prev": 0,
"ifInBroadcastPkts_delta": null,
"ifInBroadcastPkts_rate": null,
"ifOutBroadcastPkts": 0,
"ifOutBroadcastPkts_prev": 0,
"ifOutBroadcastPkts_delta": null,
"ifOutBroadcastPkts_rate": null,
"ifInMulticastPkts": 0,
"ifInMulticastPkts_prev": 0,
"ifInMulticastPkts_delta": null,
"ifInMulticastPkts_rate": null,
"ifOutMulticastPkts": 0,
"ifOutMulticastPkts_prev": 0,
"ifOutMulticastPkts_delta": null,
"ifOutMulticastPkts_rate": null
},
{
"port_descr_type": null,
"port_descr_descr": null,
"port_descr_circuit": null,
"port_descr_speed": null,
"port_descr_notes": null,
"ifDescr": "ether1",
"ifName": "ether1",
"portName": null,
"ifIndex": 2,
"ifSpeed": 100000000,
"ifConnectorPresent": null,
"ifPromiscuousMode": null,
"ifHighSpeed": 100,
"ifOperStatus": "up",
"ifOperStatus_prev": null,
"ifAdminStatus": "up",
"ifAdminStatus_prev": null,
"ifDuplex": null,
"ifMtu": 1500,
"ifType": "ethernetCsmacd",
"ifAlias": "ether1",
"ifPhysAddress": "b869f4b7ce59",
"ifHardType": null,
"ifLastChange": 0,
"ifVlan": "",
"ifTrunk": null,
"counter_in": null,
"counter_out": null,
"ignore": 0,
"disabled": 0,
"detailed": 0,
"deleted": 0,
"pagpOperationMode": null,
"pagpPortState": null,
"pagpPartnerDeviceId": null,
"pagpPartnerLearnMethod": null,
"pagpPartnerIfIndex": null,
"pagpPartnerGroupIfIndex": null,
"pagpPartnerDeviceName": null,
"pagpEthcOperationMode": null,
"pagpDeviceId": null,
"pagpGroupIfIndex": null,
"ifInUcastPkts": 22084,
"ifInUcastPkts_prev": 0,
"ifInUcastPkts_delta": null,
"ifInUcastPkts_rate": null,
"ifOutUcastPkts": 37353,
"ifOutUcastPkts_prev": 0,
"ifOutUcastPkts_delta": null,
"ifOutUcastPkts_rate": null,
"ifInErrors": 0,
"ifInErrors_prev": 0,
"ifInErrors_delta": null,
"ifInErrors_rate": null,
"ifOutErrors": 0,
"ifOutErrors_prev": 0,
"ifOutErrors_delta": null,
"ifOutErrors_rate": null,
"ifInOctets": 3901189,
"ifInOctets_prev": 0,
"ifInOctets_delta": null,
"ifInOctets_rate": null,
"ifOutOctets": 38099673,
"ifOutOctets_prev": 0,
"ifOutOctets_delta": null,
"ifOutOctets_rate": null,
"poll_prev": null,
"ifInNUcastPkts": 0,
"ifInNUcastPkts_prev": 0,
"ifInNUcastPkts_delta": null,
"ifInNUcastPkts_rate": null,
"ifOutNUcastPkts": 0,
"ifOutNUcastPkts_prev": 0,
"ifOutNUcastPkts_delta": null,
"ifOutNUcastPkts_rate": null,
"ifInDiscards": 0,
"ifInDiscards_prev": 0,
"ifInDiscards_delta": null,
"ifInDiscards_rate": null,
"ifOutDiscards": 0,
"ifOutDiscards_prev": 0,
"ifOutDiscards_delta": null,
"ifOutDiscards_rate": null,
"ifInUnknownProtos": 0,
"ifInUnknownProtos_prev": 0,
"ifInUnknownProtos_delta": null,
"ifInUnknownProtos_rate": null,
"ifInBroadcastPkts": 95,
"ifInBroadcastPkts_prev": 0,
"ifInBroadcastPkts_delta": null,
"ifInBroadcastPkts_rate": null,
"ifOutBroadcastPkts": 459,
"ifOutBroadcastPkts_prev": 0,
"ifOutBroadcastPkts_delta": null,
"ifOutBroadcastPkts_rate": null,
"ifInMulticastPkts": 8,
"ifInMulticastPkts_prev": 0,
"ifInMulticastPkts_delta": null,
"ifInMulticastPkts_rate": null,
"ifOutMulticastPkts": 918,
"ifOutMulticastPkts_prev": 0,
"ifOutMulticastPkts_delta": null,
"ifOutMulticastPkts_rate": null
}
]
}
},
"processors": {
"discovery": {
"processors": [
{
"entPhysicalIndex": 0,
"hrDeviceIndex": 1,
"processor_oid": ".1.3.6.1.2.1.25.3.3.1.2.1",
"processor_index": "1",
"processor_type": "hr",
"processor_usage": 6,
"processor_descr": "Processor",
"processor_precision": 1,
"processor_perc_warn": 75
}
]
},
"poller": "matches discovery"
},
"mempools": {
"discovery": {
"mempools": [
{
"mempool_index": "65536",
"entPhysicalIndex": null,
"hrDeviceIndex": null,
"mempool_type": "hrstorage",
"mempool_precision": 1024,
"mempool_descr": "main memory",
"mempool_perc": 0,
"mempool_used": 0,
"mempool_free": 0,
"mempool_total": 0,
"mempool_largestfree": null,
"mempool_lowestfree": null,
"mempool_deleted": 0,
"mempool_perc_warn": 90
}
]
},
"poller": {
"mempools": [
{
"mempool_index": "65536",
"entPhysicalIndex": null,
"hrDeviceIndex": null,
"mempool_type": "hrstorage",
"mempool_precision": 1024,
"mempool_descr": "main memory",
"mempool_perc": 35,
"mempool_used": 23597056,
"mempool_free": 43511808,
"mempool_total": 67108864,
"mempool_largestfree": null,
"mempool_lowestfree": null,
"mempool_deleted": 0,
"mempool_perc_warn": 90
}
]
}
},
"storage": {
"discovery": {
"storage": [
{
"storage_mib": "hrstorage",
"storage_index": "131072",
"storage_type": "hrStorageFixedDisk",
"storage_descr": "system disk",
"storage_size": 16777216,
"storage_units": 1024,
"storage_used": 15380480,
"storage_free": 0,
"storage_perc": 0,
"storage_perc_warn": 60,
"storage_deleted": 0
}
]
},
"poller": {
"storage": [
{
"storage_mib": "hrstorage",
"storage_index": "131072",
"storage_type": "hrStorageFixedDisk",
"storage_descr": "system disk",
"storage_size": 16777216,
"storage_units": 1024,
"storage_used": 15380480,
"storage_free": 1396736,
"storage_perc": 92,
"storage_perc_warn": 60,
"storage_deleted": 0
}
]
}
},
"wireless": {
"discovery": {
"wireless_sensors": [
{
"sensor_deleted": 0,
"sensor_class": "sinr",
"sensor_index": "0",
"sensor_type": "routeros",
"sensor_descr": "Signal SINR",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 23,
"sensor_prev": null,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_oids": "[\".1.3.6.1.4.1.14988.1.1.16.1.1.7.1\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "rsrp",
"sensor_index": "0",
"sensor_type": "routeros",
"sensor_descr": "Signal RSRP",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": -97,
"sensor_prev": null,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_oids": "[\".1.3.6.1.4.1.14988.1.1.16.1.1.4.1\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "rsrq",
"sensor_index": "0",
"sensor_type": "routeros",
"sensor_descr": "Signal RSRQ",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": -8,
"sensor_prev": null,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_oids": "[\".1.3.6.1.4.1.14988.1.1.16.1.1.3.1\"]"
}
]
},
"poller": {
"wireless_sensors": [
{
"sensor_deleted": 0,
"sensor_class": "sinr",
"sensor_index": "0",
"sensor_type": "routeros",
"sensor_descr": "Signal SINR",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 23,
"sensor_prev": 23,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_oids": "[\".1.3.6.1.4.1.14988.1.1.16.1.1.7.1\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "rsrp",
"sensor_index": "0",
"sensor_type": "routeros",
"sensor_descr": "Signal RSRP",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": -97,
"sensor_prev": -97,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_oids": "[\".1.3.6.1.4.1.14988.1.1.16.1.1.4.1\"]"
},
{
"sensor_deleted": 0,
"sensor_class": "rsrq",
"sensor_index": "0",
"sensor_type": "routeros",
"sensor_descr": "Signal RSRQ",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": -8,
"sensor_prev": -8,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_oids": "[\".1.3.6.1.4.1.14988.1.1.16.1.1.3.1\"]"
}
]
}
}
}

View File

@ -0,0 +1,149 @@
1.3.6.1.2.1.1.1.0|4|RouterOS RBLHGR
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.14988.1
1.3.6.1.2.1.1.3.0|67|2753000
1.3.6.1.2.1.1.4.0|4|<private>
1.3.6.1.2.1.1.5.0|4|<private>
1.3.6.1.2.1.1.6.0|4|<private>
1.3.6.1.2.1.2.2.1.2.1|4|lte1
1.3.6.1.2.1.2.2.1.2.2|4|ether1
1.3.6.1.2.1.2.2.1.3.1|2|1
1.3.6.1.2.1.2.2.1.3.2|2|6
1.3.6.1.2.1.2.2.1.4.1|2|1500
1.3.6.1.2.1.2.2.1.4.2|2|1500
1.3.6.1.2.1.2.2.1.6.1|4x|001122334456
1.3.6.1.2.1.2.2.1.6.2|4x|B869F4B7CE59
1.3.6.1.2.1.2.2.1.7.1|2|1
1.3.6.1.2.1.2.2.1.7.2|2|1
1.3.6.1.2.1.2.2.1.8.1|2|1
1.3.6.1.2.1.2.2.1.8.2|2|1
1.3.6.1.2.1.2.2.1.9.1|67|0
1.3.6.1.2.1.2.2.1.9.2|67|0
1.3.6.1.2.1.2.2.1.13.1|65|0
1.3.6.1.2.1.2.2.1.13.2|65|0
1.3.6.1.2.1.2.2.1.14.1|65|0
1.3.6.1.2.1.2.2.1.14.2|65|0
1.3.6.1.2.1.2.2.1.19.1|65|0
1.3.6.1.2.1.2.2.1.19.2|65|0
1.3.6.1.2.1.2.2.1.20.1|65|0
1.3.6.1.2.1.2.2.1.20.2|65|0
1.3.6.1.2.1.4.20.1.1.10.20.4.245|64|10.20.4.245
1.3.6.1.2.1.4.20.1.2.10.20.4.245|2|1
1.3.6.1.2.1.4.20.1.2.192.168.88.1|2|2
1.3.6.1.2.1.4.20.1.3.10.20.4.245|64|255.255.255.255
1.3.6.1.2.1.4.20.1.3.192.168.88.1|64|255.255.255.0
1.3.6.1.2.1.4.22.1.2.2.192.168.88.250|4x|68FF7B07ECDC
1.3.6.1.2.1.4.24.3.0|66|3
1.3.6.1.2.1.17.2.1.0|2|3
1.3.6.1.2.1.25.1.1.0|67|2753000
1.3.6.1.2.1.25.2.2.0|2|65536
1.3.6.1.2.1.25.2.3.1.1.65536|2|65536
1.3.6.1.2.1.25.2.3.1.1.131072|2|131072
1.3.6.1.2.1.25.2.3.1.2.65536|6|1.3.6.1.2.1.25.2.1.2
1.3.6.1.2.1.25.2.3.1.2.131072|6|1.3.6.1.2.1.25.2.1.4
1.3.6.1.2.1.25.2.3.1.3.65536|4|main memory
1.3.6.1.2.1.25.2.3.1.3.131072|4|system disk
1.3.6.1.2.1.25.2.3.1.4.65536|2|1024
1.3.6.1.2.1.25.2.3.1.4.131072|2|1024
1.3.6.1.2.1.25.2.3.1.5.65536|2|65536
1.3.6.1.2.1.25.2.3.1.5.131072|2|16384
1.3.6.1.2.1.25.2.3.1.6.65536|2|23044
1.3.6.1.2.1.25.2.3.1.6.131072|2|15020
1.3.6.1.2.1.25.2.3.1.7.65536|65|0
1.3.6.1.2.1.25.2.3.1.7.131072|65|0
1.3.6.1.2.1.25.3.2.1.1.1|2|1
1.3.6.1.2.1.25.3.2.1.2.1|6|1.3.6.1.2.1.25.3.1.3
1.3.6.1.2.1.25.3.2.1.3.1|4|
1.3.6.1.2.1.25.3.2.1.4.1|6|0.0
1.3.6.1.2.1.25.3.2.1.5.1|2|2
1.3.6.1.2.1.25.3.2.1.6.1|65|0
1.3.6.1.2.1.25.3.3.1.1.1|6|0.0
1.3.6.1.2.1.25.3.3.1.2.1|2|6
1.3.6.1.2.1.31.1.1.1.1.1|4|lte1
1.3.6.1.2.1.31.1.1.1.1.2|4|ether1
1.3.6.1.2.1.31.1.1.1.2.1|65|0
1.3.6.1.2.1.31.1.1.1.2.2|65|0
1.3.6.1.2.1.31.1.1.1.3.1|65|0
1.3.6.1.2.1.31.1.1.1.3.2|65|0
1.3.6.1.2.1.31.1.1.1.4.1|65|0
1.3.6.1.2.1.31.1.1.1.4.2|65|0
1.3.6.1.2.1.31.1.1.1.5.1|65|0
1.3.6.1.2.1.31.1.1.1.5.2|65|0
1.3.6.1.2.1.31.1.1.1.6.1|70|41180564
1.3.6.1.2.1.31.1.1.1.6.2|70|3901189
1.3.6.1.2.1.31.1.1.1.7.1|70|71190
1.3.6.1.2.1.31.1.1.1.7.2|70|22084
1.3.6.1.2.1.31.1.1.1.8.1|70|0
1.3.6.1.2.1.31.1.1.1.8.2|70|8
1.3.6.1.2.1.31.1.1.1.9.1|70|0
1.3.6.1.2.1.31.1.1.1.9.2|70|95
1.3.6.1.2.1.31.1.1.1.10.1|70|7741634
1.3.6.1.2.1.31.1.1.1.10.2|70|38099673
1.3.6.1.2.1.31.1.1.1.11.1|70|56657
1.3.6.1.2.1.31.1.1.1.11.2|70|37353
1.3.6.1.2.1.31.1.1.1.12.1|70|0
1.3.6.1.2.1.31.1.1.1.12.2|70|918
1.3.6.1.2.1.31.1.1.1.13.1|70|0
1.3.6.1.2.1.31.1.1.1.13.2|70|459
1.3.6.1.2.1.31.1.1.1.15.1|66|10
1.3.6.1.2.1.31.1.1.1.15.2|66|100
1.3.6.1.2.1.31.1.1.1.18.1|4|
1.3.6.1.2.1.31.1.1.1.18.2|4|
1.3.6.1.2.1.47.1.1.1.1.1.65536|2|65536
1.3.6.1.2.1.47.1.1.1.1.1.262145|2|262145
1.3.6.1.2.1.47.1.1.1.1.1.262146|2|262146
1.3.6.1.2.1.47.1.1.1.1.2.65536|4|RouterOS 6.45.7 (stable) on RBLHGR
1.3.6.1.2.1.47.1.1.1.1.2.262145|4|Linux 3.3.5 ehci_hcd RB400 EHCI
1.3.6.1.2.1.47.1.1.1.1.2.262146|4|'MikroTik' 'R11e-4G'
1.3.6.1.2.1.47.1.1.1.1.3.65536|6|0.0
1.3.6.1.2.1.47.1.1.1.1.3.262145|6|0.0
1.3.6.1.2.1.47.1.1.1.1.3.262146|6|0.0
1.3.6.1.2.1.47.1.1.1.1.4.65536|2|0
1.3.6.1.2.1.47.1.1.1.1.4.262145|2|65536
1.3.6.1.2.1.47.1.1.1.1.4.262146|2|65536
1.3.6.1.2.1.47.1.1.1.1.5.65536|2|3
1.3.6.1.2.1.47.1.1.1.1.5.262145|2|2
1.3.6.1.2.1.47.1.1.1.1.5.262146|2|2
1.3.6.1.2.1.47.1.1.1.1.6.65536|2|-1
1.3.6.1.2.1.47.1.1.1.1.6.262145|2|-1
1.3.6.1.2.1.47.1.1.1.1.6.262146|2|-1
1.3.6.1.2.1.47.1.1.1.1.7.65536|4|MIPS 24Kc V7.4
1.3.6.1.2.1.47.1.1.1.1.7.262145|4|1-0
1.3.6.1.2.1.47.1.1.1.1.7.262146|4|1-1
1.3.6.1.2.1.47.1.1.1.1.8.65536|4|
1.3.6.1.2.1.47.1.1.1.1.8.262145|4|
1.3.6.1.2.1.47.1.1.1.1.8.262146|4|
1.3.6.1.2.1.47.1.1.1.1.9.65536|4|
1.3.6.1.2.1.47.1.1.1.1.9.262145|4|
1.3.6.1.2.1.47.1.1.1.1.9.262146|4|
1.3.6.1.2.1.47.1.1.1.1.10.65536|4|
1.3.6.1.2.1.47.1.1.1.1.10.262145|4|
1.3.6.1.2.1.47.1.1.1.1.10.262146|4|
1.3.6.1.2.1.47.1.1.1.1.11.65536|4|
1.3.6.1.2.1.47.1.1.1.1.11.262145|4|rb400_usb
1.3.6.1.2.1.47.1.1.1.1.11.262146|4|9CB903B1E0AB
1.3.6.1.2.1.47.1.1.1.1.12.65536|4|
1.3.6.1.2.1.47.1.1.1.1.12.262145|4|0x1d6b
1.3.6.1.2.1.47.1.1.1.1.12.262146|4|0x2cd2
1.3.6.1.2.1.47.1.1.1.1.13.65536|4|
1.3.6.1.2.1.47.1.1.1.1.13.262145|4|0x0002
1.3.6.1.2.1.47.1.1.1.1.13.262146|4|0x0003
1.3.6.1.2.1.47.1.1.1.1.14.65536|4|
1.3.6.1.2.1.47.1.1.1.1.14.262145|4|
1.3.6.1.2.1.47.1.1.1.1.14.262146|4|
1.3.6.1.2.1.47.1.1.1.1.15.65536|4|
1.3.6.1.2.1.47.1.1.1.1.15.262145|4|
1.3.6.1.2.1.47.1.1.1.1.15.262146|4|
1.3.6.1.2.1.47.1.1.1.1.16.65536|2|2
1.3.6.1.2.1.47.1.1.1.1.16.262145|2|2
1.3.6.1.2.1.47.1.1.1.1.16.262146|2|2
1.3.6.1.4.1.9.9.150.1.1.1.0|66|0
1.3.6.1.4.1.2021.11.10.0|2|6
1.3.6.1.4.1.14988.1.1.4.3.0|2|3
1.3.6.1.4.1.14988.1.1.4.4.0|4|6.45.7
1.3.6.1.4.1.14988.1.1.6.1.0|66|1
1.3.6.1.4.1.14988.1.1.7.3.0|4|A33309596248
1.3.6.1.4.1.14988.1.1.14.1.1.2.1|4|lte1
1.3.6.1.4.1.14988.1.1.14.1.1.2.2|4|ether1
1.3.6.1.4.1.14988.1.1.16.1.1.3.1|2|-8
1.3.6.1.4.1.14988.1.1.16.1.1.4.1|2|-97
1.3.6.1.4.1.14988.1.1.16.1.1.7.1|2|23