mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
device: Cambium cnPilot Support (#7898)
* Cambium cnPilot Support * Requested changes * Update MIB dir and snmp_get method * Fixed assigned var * Add SysObjectId in tests
This commit is contained in:
committed by
Neil Lathwood
parent
27368a2d98
commit
d9169c6842
98
LibreNMS/OS/Cnpilote.php
Normal file
98
LibreNMS/OS/Cnpilote.php
Normal file
@ -0,0 +1,98 @@
|
||||
<?php
|
||||
/**
|
||||
* Cnpilote.php
|
||||
*
|
||||
* Cambium
|
||||
*
|
||||
* 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 2017 Paul Heinrichs
|
||||
* @author Paul Heinrichs<pdheinrichs@gmail.com>
|
||||
*/
|
||||
|
||||
namespace LibreNMS\OS;
|
||||
|
||||
use LibreNMS\Device\WirelessSensor;
|
||||
use LibreNMS\Interfaces\Discovery\Sensors\WirelessClientsDiscovery;
|
||||
use LibreNMS\Interfaces\Discovery\Sensors\WirelessSnrDiscovery;
|
||||
use LibreNMS\Interfaces\Discovery\Sensors\WirelessPowerDiscovery;
|
||||
use LibreNMS\Interfaces\Discovery\Sensors\WirelessNoiseFloorDiscovery;
|
||||
use LibreNMS\OS;
|
||||
|
||||
class Cnpilote extends OS implements
|
||||
WirelessClientsDiscovery,
|
||||
WirelessSnrDiscovery,
|
||||
WirelessPowerDiscovery,
|
||||
WirelessNoiseFloorDiscovery
|
||||
{
|
||||
|
||||
/**
|
||||
* Discover wireless client counts. Type is clients.
|
||||
* Returns an array of LibreNMS\Device\Sensor objects that have been discovered
|
||||
*
|
||||
* @return array Sensors
|
||||
*/
|
||||
public function discoverWirelessClients()
|
||||
{
|
||||
$oid = '.1.3.6.1.4.1.17713.22.1.1.1.14.0'; //CAMBIUM-MIB::cambiumAPTotalClients.0
|
||||
return array(
|
||||
new WirelessSensor('clients', $this->getDeviceId(), $oid, 'cnpilot', 1, 'Clients')
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Discover wireless SNR. This is in dB. Type is snr.
|
||||
* Formula: SNR = Signal or Rx Power - Noise Floor
|
||||
* Returns an array of LibreNMS\Device\Sensor objects that have been discovered
|
||||
*
|
||||
* @return array Sensors
|
||||
*/
|
||||
public function discoverWirelessSnr()
|
||||
{
|
||||
$oid = '.1.3.6.1.4.1.17713.22.1.3.1.11.0'; //CAMBIUM-MIB::cambiumClientSNR.0
|
||||
return array(
|
||||
new WirelessSensor('snr', $this->getDeviceId(), $oid, 'cnpilot', 1, 'SNR')
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Discover wireless tx or rx power. This is in dBm. Type is power.
|
||||
* Returns an array of LibreNMS\Device\Sensor objects that have been discovered
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function discoverWirelessPower()
|
||||
{
|
||||
$oid = '.1.3.6.1.4.1.17713.22.1.2.1.8.0'; //CAMBIUM-MIB::cambiumRadioTransmitPower.0
|
||||
return array(
|
||||
new WirelessSensor('power', $this->getDeviceId(), $oid, 'cnpilot', 1, 'Transmit Power')
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Discover wireless noise floor. This is in dBm/Hz. Type is noise-floor.
|
||||
* Returns an array of LibreNMS\Device\Sensor objects that have been discovered
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function discoverWirelessNoiseFloor()
|
||||
{
|
||||
$oid = '.1.3.6.1.4.1.17713.22.1.2.1.16.0'; //CAMBIUM-MIB::cambiumRadioNoiseFloor.0
|
||||
return array(
|
||||
new WirelessSensor('noise-floor', $this->getDeviceId(), $oid, 'cnpilot', 1, 'Radio Noise Floor')
|
||||
);
|
||||
}
|
||||
}
|
12
includes/definitions/cnpilote.yaml
Normal file
12
includes/definitions/cnpilote.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
os: cnpilote
|
||||
text: Cambium cnPilot
|
||||
type: wireless
|
||||
icon: cambium
|
||||
mib_dir: cambium\cnpilote
|
||||
over:
|
||||
- { graph: device_bits, text: 'Device Traffic' }
|
||||
- { graph: device_wireless_clients, text: 'Number of Clients' }
|
||||
group: cambium
|
||||
discovery:
|
||||
- sysObjectId:
|
||||
- .1.3.6.1.4.1.17713.22
|
12
includes/definitions/cnpilotr.yaml
Normal file
12
includes/definitions/cnpilotr.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
os: cnpilotr
|
||||
text: Cambium cnPilot Router
|
||||
type: network
|
||||
icon: cambium
|
||||
mib_dir: cambium\cnpilotr
|
||||
over:
|
||||
- { graph: device_bits, text: 'Device Traffic' }
|
||||
group: cambium
|
||||
discovery:
|
||||
-
|
||||
sysDescr_regex:
|
||||
- '/(cnPilot R[0-9][0-9][0-9])/i'
|
17
includes/polling/os/cnpilote.inc.php
Normal file
17
includes/polling/os/cnpilote.inc.php
Normal file
@ -0,0 +1,17 @@
|
||||
<?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.
|
||||
*/
|
||||
|
||||
|
||||
$version = $poll_device['sysDescr'];
|
||||
$cnpilot_data = snmp_get_multi_oid($device, 'cambiumAPSerialNum.0 cambiumAPHWType.0', '-OUQs', 'CAMBIUM-MIB');
|
||||
|
||||
$hardware = $cnpilot_data['cambiumAPHWType.0'];
|
||||
$serial = $cnpilot_data['cambiumAPSerialNum.0'];
|
16
includes/polling/os/cnpilotr.inc.php
Normal file
16
includes/polling/os/cnpilotr.inc.php
Normal file
@ -0,0 +1,16 @@
|
||||
<?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.
|
||||
*/
|
||||
|
||||
$cnpilot_data = snmp_get_multi_oid($device, 'serialNumber.0 productName.0 hardwareVersion.0', '-OUQs', 'CAMBIUM-MIB');
|
||||
|
||||
$version = $cnpilot_data['hardwareVersion.0'];
|
||||
$hardware = $cnpilot_data['productName.0'];
|
||||
$serial = $cnpilot_data['serialNumber.0'];
|
839
mibs/cambium/cnpilote/CAMBIUM-MIB
Normal file
839
mibs/cambium/cnpilote/CAMBIUM-MIB
Normal file
@ -0,0 +1,839 @@
|
||||
-- Cambium MIB Release CAMBIUM_MIB_VERSION
|
||||
CAMBIUM-MIB DEFINITIONS ::= BEGIN
|
||||
|
||||
IMPORTS
|
||||
OBJECT-TYPE, MODULE-IDENTITY, NOTIFICATION-TYPE,
|
||||
enterprises, IpAddress, Integer32, Counter32, Counter64, TimeTicks, snmpModules
|
||||
FROM SNMPv2-SMI
|
||||
OBJECT-GROUP
|
||||
FROM SNMPv2-CONF
|
||||
MacAddress, DisplayString, TEXTUAL-CONVENTION
|
||||
FROM SNMPv2-TC;
|
||||
|
||||
cnPilotMIB MODULE-IDENTITY
|
||||
LAST-UPDATED "201509091238Z"
|
||||
ORGANIZATION "Cambium Networks Inc."
|
||||
CONTACT-INFO
|
||||
"Cambium Networks Support
|
||||
http://www.cambiumnetworks.com/support/
|
||||
E-mail: support@cambiumnetworks.com"
|
||||
DESCRIPTION
|
||||
"This module contains MIB definitions for APs"
|
||||
REVISION "201509091238Z"
|
||||
DESCRIPTION
|
||||
"The initial Version."
|
||||
::= { cambium 22 }
|
||||
|
||||
cambium OBJECT IDENTIFIER ::= { enterprises 17713 }
|
||||
|
||||
cambiumStateGroup OBJECT IDENTIFIER ::= { cnPilotMIB 1 }
|
||||
|
||||
|
||||
cambiumAccessPointTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF CambiumAccessPointEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This contains all details about AP"
|
||||
::= { cambiumStateGroup 1 }
|
||||
|
||||
cambiumAccessPointEntry OBJECT-TYPE
|
||||
SYNTAX CambiumAccessPointEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
" "
|
||||
INDEX { cambiumAPMACAddress }
|
||||
::= { cambiumAccessPointTable 1 }
|
||||
|
||||
CambiumAccessPointEntry ::=
|
||||
SEQUENCE {
|
||||
cambiumAPMACAddress MacAddress,
|
||||
cambiumAPName DisplayString,
|
||||
cambiumAPIPAddress DisplayString,
|
||||
cambiumAPSerialNum DisplayString,
|
||||
cambiumAPModel DisplayString,
|
||||
cambiumAPCPUUtilization Integer32,
|
||||
cambiumAPMemoryFree Integer32,
|
||||
cambiumAPSWVersion DisplayString,
|
||||
cambiumAPUptime TimeTicks,
|
||||
cambiumAPHWType DisplayString,
|
||||
cambiumAPRegulatory DisplayString,
|
||||
cambiumAPCnmConstaus DisplayString,
|
||||
cambiumAPCnmAccID DisplayString,
|
||||
cambiumAPTotalClients Integer32,
|
||||
cambiumAPCheckUpgradeStatus DisplayString
|
||||
}
|
||||
|
||||
cambiumAPMACAddress OBJECT-TYPE
|
||||
SYNTAX MacAddress
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Access Point MAC Address"
|
||||
::= { cambiumAccessPointEntry 1 }
|
||||
|
||||
cambiumAPName OBJECT-TYPE
|
||||
SYNTAX DisplayString (SIZE(0..64))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Access Point hostname"
|
||||
::= { cambiumAccessPointEntry 2 }
|
||||
|
||||
cambiumAPIPAddress OBJECT-TYPE
|
||||
SYNTAX DisplayString (SIZE(0..64))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Access Point IP Address"
|
||||
::= { cambiumAccessPointEntry 3 }
|
||||
|
||||
cambiumAPSerialNum OBJECT-TYPE
|
||||
SYNTAX DisplayString (SIZE(0..64))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Access Point Serial Number"
|
||||
::= { cambiumAccessPointEntry 4 }
|
||||
|
||||
cambiumAPModel OBJECT-TYPE
|
||||
SYNTAX DisplayString (SIZE(0..32))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Access Point Model Name"
|
||||
::= { cambiumAccessPointEntry 5 }
|
||||
|
||||
cambiumAPCPUUtilization OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Access Point CPU Utilization"
|
||||
::= { cambiumAccessPointEntry 6 }
|
||||
|
||||
cambiumAPMemoryFree OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Amount of memory free in the access point in bytes"
|
||||
::= { cambiumAccessPointEntry 7 }
|
||||
|
||||
cambiumAPSWVersion OBJECT-TYPE
|
||||
SYNTAX DisplayString (SIZE(0..64))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Access Point Software Version"
|
||||
::= { cambiumAccessPointEntry 8 }
|
||||
|
||||
cambiumAPUptime OBJECT-TYPE
|
||||
SYNTAX TimeTicks
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Access Point uptime"
|
||||
::= { cambiumAccessPointEntry 9 }
|
||||
|
||||
cambiumAPHWType OBJECT-TYPE
|
||||
SYNTAX DisplayString (SIZE(0..32))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Access Point Hardware Type"
|
||||
::= { cambiumAccessPointEntry 10 }
|
||||
|
||||
cambiumAPRegulatory OBJECT-TYPE
|
||||
SYNTAX DisplayString (SIZE(0..32))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Access Point Regulatory detail"
|
||||
::= { cambiumAccessPointEntry 11 }
|
||||
|
||||
cambiumAPCnmConstaus OBJECT-TYPE
|
||||
SYNTAX DisplayString (SIZE(0..32))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Access Point cnMaestro Connection Status"
|
||||
::= { cambiumAccessPointEntry 12 }
|
||||
|
||||
cambiumAPCnmAccID OBJECT-TYPE
|
||||
SYNTAX DisplayString (SIZE(0..32))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Access Point cnMaestro Account ID"
|
||||
::= { cambiumAccessPointEntry 13 }
|
||||
|
||||
cambiumAPTotalClients OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Total clients connected with this Access Point"
|
||||
::= { cambiumAccessPointEntry 14 }
|
||||
|
||||
cambiumAPCheckUpgradeStatus OBJECT-TYPE
|
||||
SYNTAX DisplayString (SIZE(0..64))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Access Point check upgrade status"
|
||||
::= { cambiumAccessPointEntry 15 }
|
||||
|
||||
|
||||
cambiumRadioTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF CambiumRadioEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This table contains all radios of access point"
|
||||
::= { cambiumStateGroup 2 }
|
||||
|
||||
cambiumRadioEntry OBJECT-TYPE
|
||||
SYNTAX CambiumRadioEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
" "
|
||||
INDEX { cambiumRadioIndex }
|
||||
::= { cambiumRadioTable 1 }
|
||||
|
||||
CambiumRadioEntry ::=
|
||||
SEQUENCE {
|
||||
cambiumRadioIndex Integer32,
|
||||
cambiumRadioMACAddress MacAddress,
|
||||
cambiumRadioBandType DisplayString,
|
||||
cambiumRadioWlan Integer32,
|
||||
cambiumRadioNumClients Integer32,
|
||||
cambiumRadioChannel DisplayString,
|
||||
cambiumRadioChannelWidth DisplayString,
|
||||
cambiumRadioTransmitPower Integer32,
|
||||
cambiumRadioTotalTxPackets Counter32,
|
||||
cambiumRadioTotalRxPackets Counter32,
|
||||
cambiumRadioTxDataBytes Counter32,
|
||||
cambiumRadioTxDataBytes Counter32,
|
||||
cambiumRadioRxDataBytes Counter32,
|
||||
cambiumRadioState DisplayString,
|
||||
cambiumRadioDfsStatus Integer32,
|
||||
cambiumRadioDfsDetect Integer32,
|
||||
cambiumRadioNoiseFloor DisplayString,
|
||||
cambiumRadioInterference DisplayString,
|
||||
cambiumRadioAirtime DisplayString
|
||||
}
|
||||
|
||||
cambiumRadioIndex OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Radio number"
|
||||
::= { cambiumRadioEntry 1 }
|
||||
|
||||
|
||||
cambiumRadioMACAddress OBJECT-TYPE
|
||||
SYNTAX MacAddress
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Radio MAC Address"
|
||||
::= { cambiumRadioEntry 2 }
|
||||
|
||||
cambiumRadioBandType OBJECT-TYPE
|
||||
SYNTAX DisplayString (SIZE(0..32))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Radio band type"
|
||||
::= { cambiumRadioEntry 3 }
|
||||
|
||||
cambiumRadioWlan OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Radio WLAN number"
|
||||
::= { cambiumRadioEntry 4 }
|
||||
|
||||
cambiumRadioNumClients OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of clients connected with a radio"
|
||||
::= { cambiumRadioEntry 5 }
|
||||
|
||||
cambiumRadioChannel OBJECT-TYPE
|
||||
SYNTAX DisplayString (SIZE(0..32))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Radio channel"
|
||||
::= { cambiumRadioEntry 6 }
|
||||
|
||||
cambiumRadioChannelWidth OBJECT-TYPE
|
||||
SYNTAX DisplayString (SIZE(0..32))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Radio channel width"
|
||||
::= { cambiumRadioEntry 7 }
|
||||
|
||||
cambiumRadioTransmitPower OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Radio Power"
|
||||
::= { cambiumRadioEntry 8 }
|
||||
|
||||
cambiumRadioTotalTxPackets OBJECT-TYPE
|
||||
SYNTAX Counter32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Total packets transmitted by a radio"
|
||||
::= { cambiumRadioEntry 9 }
|
||||
|
||||
cambiumRadioTotalRxPackets OBJECT-TYPE
|
||||
SYNTAX Counter32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Total packets received by a radio"
|
||||
::= { cambiumRadioEntry 10 }
|
||||
|
||||
cambiumRadioTxDataBytes OBJECT-TYPE
|
||||
SYNTAX Counter32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Transmitted data packets in bytes by a radio"
|
||||
::= { cambiumRadioEntry 11 }
|
||||
|
||||
cambiumRadioRxDataBytes OBJECT-TYPE
|
||||
SYNTAX Counter32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Received data packets in bytes by a radio"
|
||||
::= { cambiumRadioEntry 12 }
|
||||
|
||||
cambiumRadioState OBJECT-TYPE
|
||||
SYNTAX DisplayString (SIZE(0..32))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Radio state (ON/OFF)"
|
||||
::= { cambiumRadioEntry 13 }
|
||||
|
||||
cambiumRadioDfsStatus OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"DFS status"
|
||||
::= { cambiumRadioEntry 14 }
|
||||
|
||||
cambiumRadioDfsDetect OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"DFS detected by a radio"
|
||||
::= { cambiumRadioEntry 15 }
|
||||
|
||||
cambiumRadioNoiseFloor OBJECT-TYPE
|
||||
SYNTAX DisplayString (SIZE(0..32))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Radio noise floor"
|
||||
::= { cambiumRadioEntry 16 }
|
||||
|
||||
cambiumRadioInterference OBJECT-TYPE
|
||||
SYNTAX DisplayString (SIZE(0..32))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Radio channel interference"
|
||||
::= { cambiumRadioEntry 17 }
|
||||
|
||||
cambiumRadioAirtime OBJECT-TYPE
|
||||
SYNTAX DisplayString (SIZE(0..64))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Radio airtime (total/tx/rx/busy)"
|
||||
::= { cambiumRadioEntry 18 }
|
||||
|
||||
cambiumClientTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF CambiumClientEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This table contain information about all clients
|
||||
connected to the access point"
|
||||
::= { cambiumStateGroup 3 }
|
||||
|
||||
cambiumClientEntry OBJECT-TYPE
|
||||
SYNTAX CambiumClientEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
" "
|
||||
INDEX { cambiumClientMACAddressIndex }
|
||||
::= { cambiumClientTable 1 }
|
||||
|
||||
CambiumClientEntry ::=
|
||||
SEQUENCE {
|
||||
cambiumClientMACAddressIndex Integer32,
|
||||
cambiumClientMACAddress MacAddress,
|
||||
cambiumClientIPAddress DisplayString,
|
||||
cambiumClientName DisplayString,
|
||||
cambiumClientSsid DisplayString,
|
||||
cambiumClientVendorName DisplayString,
|
||||
cambiumClientHwmode DisplayString,
|
||||
cambiumClientRadioIndex Integer32,
|
||||
cambiumClientWlan Integer32,
|
||||
cambiumClientVlan Integer32,
|
||||
cambiumClientSNR Integer32,
|
||||
cambiumClientTxRate DisplayString,
|
||||
cambiumClientTotalTxPackets Counter32,
|
||||
cambiumClientTxDataBytes Counter32,
|
||||
cambiumClientTotalRxPackets Counter32,
|
||||
cambiumClientRxDataBytes Counter32
|
||||
}
|
||||
|
||||
cambiumClientMACAddressIndex OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The auxiliary variable used to identify instances
|
||||
of the columnar objects in the Client Table."
|
||||
::= { cambiumClientEntry 1 }
|
||||
|
||||
cambiumClientMACAddress OBJECT-TYPE
|
||||
SYNTAX MacAddress
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Client MAC address"
|
||||
::= { cambiumClientEntry 2 }
|
||||
|
||||
cambiumClientIPAddress OBJECT-TYPE
|
||||
SYNTAX DisplayString (SIZE(0..32))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Client IP Address"
|
||||
::= { cambiumClientEntry 3 }
|
||||
|
||||
cambiumClientName OBJECT-TYPE
|
||||
SYNTAX DisplayString (SIZE(0..32))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Name of user using the client"
|
||||
::= { cambiumClientEntry 4 }
|
||||
|
||||
|
||||
cambiumClientSsid OBJECT-TYPE
|
||||
SYNTAX DisplayString (SIZE(0..32))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Client is connected with SSID"
|
||||
::= { cambiumClientEntry 5 }
|
||||
|
||||
cambiumClientVendorName OBJECT-TYPE
|
||||
SYNTAX DisplayString (SIZE(0..32))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Client operating system"
|
||||
::= { cambiumClientEntry 6 }
|
||||
|
||||
cambiumClientHwmode OBJECT-TYPE
|
||||
SYNTAX DisplayString (SIZE(0..32))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Client hardware mode"
|
||||
::= { cambiumClientEntry 7 }
|
||||
|
||||
cambiumClientRadioIndex OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Client is connected with radio"
|
||||
::= { cambiumClientEntry 8 }
|
||||
|
||||
cambiumClientWlan OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Client wlan number"
|
||||
::= { cambiumClientEntry 9 }
|
||||
|
||||
cambiumClientVlan OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Client Vlan number"
|
||||
::= { cambiumClientEntry 10 }
|
||||
|
||||
cambiumClientSNR OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Signal to noise ratio of client connection to the access point"
|
||||
::= { cambiumClientEntry 11 }
|
||||
|
||||
cambiumClientTxRate OBJECT-TYPE
|
||||
SYNTAX DisplayString (SIZE(0..32))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Transmit rate of client in mbps"
|
||||
::= { cambiumClientEntry 12 }
|
||||
|
||||
cambiumClientTotalTxPackets OBJECT-TYPE
|
||||
SYNTAX Counter32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Total packets transmitted by the client"
|
||||
::= { cambiumClientEntry 13 }
|
||||
|
||||
cambiumClientTxDataBytes OBJECT-TYPE
|
||||
SYNTAX Counter32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Total bytes transmitted by the client"
|
||||
::= { cambiumClientEntry 14 }
|
||||
|
||||
cambiumClientTotalRxPackets OBJECT-TYPE
|
||||
SYNTAX Counter32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Total packets received by the client"
|
||||
::= { cambiumClientEntry 15 }
|
||||
|
||||
cambiumClientRxDataBytes OBJECT-TYPE
|
||||
SYNTAX Counter32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Total bytes received by the client"
|
||||
::= { cambiumClientEntry 16 }
|
||||
|
||||
cambiumWlanTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF CambiumWlanEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This table contain information about all WLAN
|
||||
configured on the access point"
|
||||
::= { cambiumStateGroup 4 }
|
||||
|
||||
cambiumWlanEntry OBJECT-TYPE
|
||||
SYNTAX CambiumWlanEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
" "
|
||||
INDEX { cambiumWlanIndex }
|
||||
::= { cambiumWlanTable 1 }
|
||||
|
||||
CambiumWlanEntry ::=
|
||||
SEQUENCE {
|
||||
cambiumWlanIndex Integer32,
|
||||
cambiumWlanSsid DisplayString,
|
||||
cambiumWlanBand DisplayString,
|
||||
cambiumWlanVlan Integer32,
|
||||
cambiumWlanSecurity DisplayString,
|
||||
cambiumWlanGuestAccess DisplayString,
|
||||
cambiumWlanNumClients Integer32,
|
||||
cambiumWlanTotalTxPackets Counter32,
|
||||
cambiumWlanTxDataBytes Counter32,
|
||||
cambiumWlanTotalRxPackets Counter32,
|
||||
cambiumWlanRxDataBytes Counter32
|
||||
}
|
||||
|
||||
cambiumWlanIndex OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The auxiliary variable used to identify instances
|
||||
of the columnar objects in the Wlan Table."
|
||||
::= { cambiumWlanEntry 1 }
|
||||
|
||||
cambiumWlanSsid OBJECT-TYPE
|
||||
SYNTAX DisplayString (SIZE(0..32))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Wlan SSID"
|
||||
::= { cambiumWlanEntry 2 }
|
||||
|
||||
cambiumWlanBand OBJECT-TYPE
|
||||
SYNTAX DisplayString (SIZE(0..32))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Radio band configuration on Wlan"
|
||||
::= { cambiumWlanEntry 3 }
|
||||
|
||||
cambiumWlanVlan OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Wlan vlan number"
|
||||
::= { cambiumWlanEntry 4 }
|
||||
|
||||
cambiumWlanSecurity OBJECT-TYPE
|
||||
SYNTAX DisplayString (SIZE(0..32))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Security configuration on Wlan"
|
||||
::= { cambiumWlanEntry 5 }
|
||||
|
||||
cambiumWlanGuestAccess OBJECT-TYPE
|
||||
SYNTAX DisplayString (SIZE(0..32))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Guest Access configuration on Wlan"
|
||||
::= { cambiumWlanEntry 6 }
|
||||
|
||||
cambiumWlanNumClients OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of clients connected to Wlan"
|
||||
::= { cambiumWlanEntry 7 }
|
||||
|
||||
cambiumWlanTotalTxPackets OBJECT-TYPE
|
||||
SYNTAX Counter32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Total packets transmitted"
|
||||
::= { cambiumWlanEntry 8 }
|
||||
|
||||
cambiumWlanTxDataBytes OBJECT-TYPE
|
||||
SYNTAX Counter32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Total bytes transmitted"
|
||||
::= { cambiumWlanEntry 9 }
|
||||
|
||||
cambiumWlanTotalRxPackets OBJECT-TYPE
|
||||
SYNTAX Counter32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Total packets received"
|
||||
::= { cambiumWlanEntry 10 }
|
||||
|
||||
cambiumWlanRxDataBytes OBJECT-TYPE
|
||||
SYNTAX Counter32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Total bytes received"
|
||||
::= { cambiumWlanEntry 11 }
|
||||
|
||||
cambiumMeshClientTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF CambiumMeshClientEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"This table contain information about all Mesh
|
||||
clients connected to the access point"
|
||||
::= { cambiumStateGroup 5 }
|
||||
|
||||
cambiumMeshClientEntry OBJECT-TYPE
|
||||
SYNTAX CambiumMeshClientEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
" "
|
||||
INDEX { cambiumMeshClientMACAddressIndex }
|
||||
::= { cambiumMeshClientTable 1 }
|
||||
|
||||
CambiumMeshClientEntry ::=
|
||||
SEQUENCE {
|
||||
cambiumMeshClientMACAddressIndex Integer32,
|
||||
cambiumMeshClientMACAddress MacAddress,
|
||||
cambiumMeshClientBaseMACAddress MacAddress,
|
||||
cambiumMeshClientIPAddress DisplayString,
|
||||
cambiumMeshClientName DisplayString,
|
||||
cambiumMeshClientSsid DisplayString,
|
||||
cambiumMeshClientRadioBand DisplayString,
|
||||
cambiumMeshClientSNR Integer32,
|
||||
cambiumMeshClientRSSI Integer32,
|
||||
cambiumMeshClientStatus DisplayString,
|
||||
cambiumMeshClientDataRate DisplayString,
|
||||
cambiumMeshClientTotalTxPackets Counter32,
|
||||
cambiumMeshClientTxDataBytes Counter32,
|
||||
cambiumMeshClientTotalRxPackets Counter32,
|
||||
cambiumMeshClientRxDataBytes Counter32
|
||||
}
|
||||
|
||||
cambiumMeshClientMACAddressIndex OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The auxiliary variable used to identify instances
|
||||
of the columnar objects in the mesh client Table."
|
||||
::= { cambiumMeshClientEntry 1 }
|
||||
|
||||
cambiumMeshClientMACAddress OBJECT-TYPE
|
||||
SYNTAX MacAddress
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Mesh client MAC address"
|
||||
::= { cambiumMeshClientEntry 2 }
|
||||
|
||||
cambiumMeshClientBaseMACAddress OBJECT-TYPE
|
||||
SYNTAX MacAddress
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Mesh client AP MAC address"
|
||||
::= { cambiumMeshClientEntry 3 }
|
||||
|
||||
cambiumMeshClientIPAddress OBJECT-TYPE
|
||||
SYNTAX DisplayString (SIZE(0..32))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Mesh client IP Address"
|
||||
::= { cambiumMeshClientEntry 4 }
|
||||
|
||||
cambiumMeshClientName OBJECT-TYPE
|
||||
SYNTAX DisplayString (SIZE(0..32))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Hostname of the mesh client"
|
||||
::= { cambiumMeshClientEntry 5 }
|
||||
|
||||
|
||||
cambiumMeshClientSsid OBJECT-TYPE
|
||||
SYNTAX DisplayString (SIZE(0..32))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Mesh client is connected with SSID"
|
||||
::= { cambiumMeshClientEntry 6 }
|
||||
|
||||
cambiumMeshClientRadioBand OBJECT-TYPE
|
||||
SYNTAX DisplayString (SIZE(0..32))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Mesh client is connected with Radio"
|
||||
::= { cambiumMeshClientEntry 7 }
|
||||
|
||||
cambiumMeshClientSNR OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Signal to noise ratio of mesh client connection to the access point"
|
||||
::= { cambiumMeshClientEntry 8 }
|
||||
|
||||
cambiumMeshClientRSSI OBJECT-TYPE
|
||||
SYNTAX Integer32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Signal strength of mesh client connection to the access point"
|
||||
::= { cambiumMeshClientEntry 9 }
|
||||
|
||||
cambiumMeshClientStatus OBJECT-TYPE
|
||||
SYNTAX DisplayString (SIZE(0..32))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Mesh client connection status"
|
||||
::= { cambiumMeshClientEntry 10 }
|
||||
|
||||
cambiumMeshClientDataRate OBJECT-TYPE
|
||||
SYNTAX DisplayString (SIZE(0..32))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Data rate of mesh client in mbps"
|
||||
::= { cambiumMeshClientEntry 11 }
|
||||
|
||||
cambiumMeshClientTotalTxPackets OBJECT-TYPE
|
||||
SYNTAX Counter32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Total packets transmitted by the mesh client"
|
||||
::= { cambiumMeshClientEntry 12 }
|
||||
|
||||
cambiumMeshClientTxDataBytes OBJECT-TYPE
|
||||
SYNTAX Counter32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Total bytes transmitted by the mesh client"
|
||||
::= { cambiumMeshClientEntry 13 }
|
||||
|
||||
cambiumMeshClientTotalRxPackets OBJECT-TYPE
|
||||
SYNTAX Counter32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Total packets received by the mesh client"
|
||||
::= { cambiumMeshClientEntry 14 }
|
||||
|
||||
cambiumMeshClientRxDataBytes OBJECT-TYPE
|
||||
SYNTAX Counter32
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Total bytes received by the mesh client"
|
||||
::= { cambiumMeshClientEntry 15 }
|
||||
|
||||
cambiumAPSetIPAddress OBJECT-TYPE
|
||||
SYNTAX DisplayString (SIZE(0..64))
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Set Access Point IP Address"
|
||||
::= { cambiumStateGroup 6 }
|
||||
|
||||
cambiumAPReboot OBJECT-TYPE
|
||||
SYNTAX Integer32 (1)
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"OID for Device Reboot, send reboot command to device"
|
||||
::= { cambiumStateGroup 7 }
|
||||
|
||||
END
|
1894
mibs/cambium/cnpilotr/CAMBIUM-MIB
Normal file
1894
mibs/cambium/cnpilotr/CAMBIUM-MIB
Normal file
File diff suppressed because it is too large
Load Diff
2
tests/snmpsim/cnpilote.snmprec
Normal file
2
tests/snmpsim/cnpilote.snmprec
Normal file
@ -0,0 +1,2 @@
|
||||
1.3.6.1.2.1.1.1.0|4|Cambium cnPilot E500 Access Point
|
||||
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.17713.22
|
2
tests/snmpsim/cnpilotr_1.snmprec
Normal file
2
tests/snmpsim/cnpilotr_1.snmprec
Normal file
@ -0,0 +1,2 @@
|
||||
1.3.6.1.2.1.1.1.0|4|cnPilot R201 4.3.3-R4
|
||||
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1
|
2
tests/snmpsim/cnpilotr_2.snmprec
Normal file
2
tests/snmpsim/cnpilotr_2.snmprec
Normal file
@ -0,0 +1,2 @@
|
||||
1.3.6.1.2.1.1.1.0|4|cnPilot R190 4.3.3-R4
|
||||
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1
|
2
tests/snmpsim/cnpilotr_3.snmprec
Normal file
2
tests/snmpsim/cnpilotr_3.snmprec
Normal file
@ -0,0 +1,2 @@
|
||||
1.3.6.1.2.1.1.1.0|4|cnPilot R200 4.3.3-R4
|
||||
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1
|
Reference in New Issue
Block a user