mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Add Device - Cisco Sat Receivers (#9899)
* Cisco Sat Receiver * Formatting Fixes * Code Climate Fixes * Add $entry field in the last array. * Formatting Fixes * Updated to correct S/N was grabbing wrong OID. * Update test data for missing serial # * Updated Serial # test data
This commit is contained in:
78
LibreNMS/OS/Ciscosat.php
Normal file
78
LibreNMS/OS/Ciscosat.php
Normal file
@@ -0,0 +1,78 @@
|
|||||||
|
<?php
|
||||||
|
namespace LibreNMS\OS;
|
||||||
|
|
||||||
|
use LibreNMS\Device\WirelessSensor;
|
||||||
|
use LibreNMS\Interfaces\Discovery\Sensors\WirelessErrorsDiscovery;
|
||||||
|
use LibreNMS\Interfaces\Discovery\Sensors\WirelessRssiDiscovery;
|
||||||
|
use LibreNMS\Interfaces\Discovery\Sensors\WirelessSnrDiscovery;
|
||||||
|
use LibreNMS\OS;
|
||||||
|
|
||||||
|
class Ciscosat extends OS implements WirelessErrorsDiscovery, WirelessRssiDiscovery, WirelessSnrDiscovery
|
||||||
|
{
|
||||||
|
public function discoverWirelessErrors()
|
||||||
|
{
|
||||||
|
$oids = snmpwalk_cache_oid($this->getDevice(), 'satSignalUncorErrCnt', array(), 'CISCO-DMN-DSG-TUNING-MIB', null, '-Ob');
|
||||||
|
$sensors = array();
|
||||||
|
foreach ($oids as $index => $entry) {
|
||||||
|
$sensors[] = new WirelessSensor(
|
||||||
|
'errors',
|
||||||
|
$this->getDeviceId(),
|
||||||
|
'.1.3.6.1.4.1.1429.2.2.5.5.3.1.1.12.' . $index,
|
||||||
|
'ciscosat',
|
||||||
|
$index,
|
||||||
|
'Uncorrected Errors ' . $index
|
||||||
|
);
|
||||||
|
}
|
||||||
|
return $sensors;
|
||||||
|
}
|
||||||
|
|
||||||
|
public function discoverWirelessRssi()
|
||||||
|
{
|
||||||
|
$oids = snmpwalk_cache_oid($this->getDevice(), 'satSignalLevel', array(), 'CISCO-DMN-DSG-TUNING-MIB', null, '-Ob');
|
||||||
|
$sensors = array();
|
||||||
|
foreach ($oids as $index => $entry) {
|
||||||
|
$sensors[] = new WirelessSensor(
|
||||||
|
'rssi',
|
||||||
|
$this->getDeviceId(),
|
||||||
|
'.1.3.6.1.4.1.1429.2.2.5.5.3.1.1.7.' . $index,
|
||||||
|
'ciscosat',
|
||||||
|
$index,
|
||||||
|
'Receive Signal Level ' .$index
|
||||||
|
);
|
||||||
|
}
|
||||||
|
return $sensors;
|
||||||
|
}
|
||||||
|
// snr - Discover C/N Link Margin
|
||||||
|
|
||||||
|
public function discoverWirelessSnr()
|
||||||
|
{
|
||||||
|
$cnmargin = snmpwalk_cache_oid($this->getDevice(), 'satSignalCnMargin', array(), 'CISCO-DMN-DSG-TUNING-MIB', null, '-OQUsb');
|
||||||
|
$dbindex = 0;
|
||||||
|
foreach ($cnmargin as $index => $entry) {
|
||||||
|
$snrstatus[] = new WirelessSensor(
|
||||||
|
'snr',
|
||||||
|
$this->getDeviceId(),
|
||||||
|
'.1.3.6.1.4.1.1429.2.2.5.5.3.1.1.6.' . $index,
|
||||||
|
'ciscosat',
|
||||||
|
++$dbindex,
|
||||||
|
'C/N Link Margin ' .$index,
|
||||||
|
$entry
|
||||||
|
);
|
||||||
|
}
|
||||||
|
// snr - Discover C/N Ratio
|
||||||
|
$cnratio = snmpwalk_cache_oid($this->getDevice(), 'satSignalCndisp', array(), 'CISCO-DMN-DSG-TUNING-MIB', null, '-OQUsb');
|
||||||
|
foreach ($cnratio as $index => $entry) {
|
||||||
|
array_push($snrstatus, new WirelessSensor(
|
||||||
|
'snr',
|
||||||
|
$this->getDeviceId(),
|
||||||
|
'.1.3.6.1.4.1.1429.2.2.5.5.3.1.1.5.' . $index,
|
||||||
|
'ciscosat',
|
||||||
|
++$dbindex,
|
||||||
|
'C/N Ratio ' .$index,
|
||||||
|
$entry
|
||||||
|
)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
return $snrstatus;
|
||||||
|
}
|
||||||
|
}
|
12
includes/definitions/ciscosat.yaml
Normal file
12
includes/definitions/ciscosat.yaml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
os: ciscosat
|
||||||
|
text: 'Cisco Satellite Receiver'
|
||||||
|
type: network
|
||||||
|
icon: cisco
|
||||||
|
mib_dir:
|
||||||
|
- cisco
|
||||||
|
over:
|
||||||
|
- { graph: device_bits, text: Traffic }
|
||||||
|
- { graph: device_wireless_rssi, text: Sat Signal Level }
|
||||||
|
discovery:
|
||||||
|
-
|
||||||
|
sysObjectID: .1.3.6.1.4.1.1429.2.2.6.5
|
30
includes/definitions/discovery/ciscosat.yaml
Normal file
30
includes/definitions/discovery/ciscosat.yaml
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
mib: CISCO-DMN-DSG-TUNING-MIB:CISCO-DMN-DSG-DIAG-MIB
|
||||||
|
modules:
|
||||||
|
sensors:
|
||||||
|
state:
|
||||||
|
data:
|
||||||
|
-
|
||||||
|
oid: inputStatusTable
|
||||||
|
value: inputStatusSatLock
|
||||||
|
num_oid: '.1.3.6.1.4.1.1429.2.2.5.5.3.2.1.3.{{ $index }}'
|
||||||
|
descr: 'Sat Lock {{ $index }}'
|
||||||
|
index: 'inputStatusSatLock.{{ $index }}'
|
||||||
|
snmp_flags: '-OQUsbe'
|
||||||
|
state_name: inputStatusSatLock
|
||||||
|
states:
|
||||||
|
- { value: -1, generic: 3, graph: 0, descr: 'null' }
|
||||||
|
- { value: 1, generic: 2, graph: 1, descr: 'No Lock' }
|
||||||
|
- { value: 2, generic: 1, graph: 1, descr: 'Lock - Signal' }
|
||||||
|
- { value: 3, generic: 0, graph: 1, descr: 'Lock + Signal' }
|
||||||
|
fanspeed:
|
||||||
|
options:
|
||||||
|
# Some Models such as D9854 do not report fanspeed, but respond to OID with 0.
|
||||||
|
skip_values: 0
|
||||||
|
data:
|
||||||
|
-
|
||||||
|
oid: diagFanRPMTable
|
||||||
|
value: diagFanRPMValue
|
||||||
|
num_oid: '.1.3.6.1.4.1.1429.2.2.5.18.2.2.1.3.{{ $index }}'
|
||||||
|
descr: 'Fan Speed {{ $index }}'
|
||||||
|
index: 'diagFanRPMValue.{{ $index }}'
|
||||||
|
snmp_flags: '-OQUsbe'
|
5
includes/polling/os/ciscosat.inc.php
Normal file
5
includes/polling/os/ciscosat.inc.php
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<?php
|
||||||
|
$ciscosat_data = snmp_get_multi_oid($device, ['.1.3.6.1.4.1.1429.2.2.5.1.1.1.0', '.1.3.6.1.4.1.1429.2.2.5.42.2.1.1.6.1', '.1.3.6.1.4.1.1429.2.2.5.1.1.4.0']);
|
||||||
|
$version = $ciscosat_data['.1.3.6.1.4.1.1429.2.2.5.1.1.1.0'];
|
||||||
|
$serial = $ciscosat_data['.1.3.6.1.4.1.1429.2.2.5.42.2.1.1.6.1'];
|
||||||
|
$hardware = $ciscosat_data['.1.3.6.1.4.1.1429.2.2.5.1.1.4.0'];
|
401
mibs/cisco/CISCO-DMN-DSG-DIAG-MIB
Normal file
401
mibs/cisco/CISCO-DMN-DSG-DIAG-MIB
Normal file
@@ -0,0 +1,401 @@
|
|||||||
|
--****************************************************************
|
||||||
|
-- CISCO_DMN_DSG_DIAG.mib : Mib file for Detailed Diagnostics.
|
||||||
|
--
|
||||||
|
-- October 2010, Tel MIB Team
|
||||||
|
--
|
||||||
|
-- Copyright (c) 1999-2012 Cisco Systems, Inc. All rights reserved.
|
||||||
|
--****************************************************************
|
||||||
|
|
||||||
|
CISCO-DMN-DSG-DIAG-MIB
|
||||||
|
|
||||||
|
DEFINITIONS ::= BEGIN
|
||||||
|
|
||||||
|
IMPORTS
|
||||||
|
MODULE-IDENTITY,
|
||||||
|
OBJECT-TYPE, Integer32, Counter32
|
||||||
|
FROM SNMPv2-SMI
|
||||||
|
DisplayString
|
||||||
|
FROM SNMPv2-TC
|
||||||
|
OBJECT-GROUP, MODULE-COMPLIANCE
|
||||||
|
FROM SNMPv2-CONF
|
||||||
|
ciscoDSGUtilities
|
||||||
|
FROM CISCO-DMN-DSG-ROOT-MIB;
|
||||||
|
|
||||||
|
|
||||||
|
ciscoDSGDiag MODULE-IDENTITY
|
||||||
|
LAST-UPDATED "201203200800Z" -- March 20 2012 08:00:00 GMT
|
||||||
|
ORGANIZATION "Cisco Systems, Inc."
|
||||||
|
CONTACT-INFO
|
||||||
|
"Cisco Systems, Inc.
|
||||||
|
Customer Service
|
||||||
|
Postal: 170 W Tasman Drive
|
||||||
|
San Jose, CA 95134
|
||||||
|
USA
|
||||||
|
Tel: +1 800 553 NETS
|
||||||
|
|
||||||
|
E-mail: cs-ipsla@cisco.com"
|
||||||
|
DESCRIPTION "Cisco Detailed Diagnostics MIB."
|
||||||
|
|
||||||
|
REVISION "201203200800Z"
|
||||||
|
DESCRIPTION "V01.00.05 2012-03-20
|
||||||
|
Updated for D9854 R4 Release."
|
||||||
|
|
||||||
|
REVISION "201010130800Z"
|
||||||
|
DESCRIPTION "V01.00.04 2010-10-13
|
||||||
|
Type of diagFanRPMValue is changed to DisplayString."
|
||||||
|
|
||||||
|
REVISION "201008031000Z"
|
||||||
|
DESCRIPTION "V01.00.03 2010-08-03
|
||||||
|
Health Monitor Table and Fan RPM Table are added."
|
||||||
|
|
||||||
|
REVISION "201004120900Z"
|
||||||
|
DESCRIPTION "V01.00.02 2010-04-12
|
||||||
|
powerOnFactoryResetCount and powerOnCurrentDateTime
|
||||||
|
MIB objects are added."
|
||||||
|
|
||||||
|
REVISION "201002121200Z"
|
||||||
|
DESCRIPTION "V01.00.01 2010-02-12
|
||||||
|
The Syntax of read-only objects is updated to
|
||||||
|
DisplayString."
|
||||||
|
|
||||||
|
REVISION "200912071200Z"
|
||||||
|
DESCRIPTION "V01.00.00 2009-12-07
|
||||||
|
Initial Version."
|
||||||
|
|
||||||
|
::= { ciscoDSGUtilities 18 }
|
||||||
|
|
||||||
|
|
||||||
|
powerOn OBJECT IDENTIFIER ::= { ciscoDSGDiag 1 }
|
||||||
|
diagTable OBJECT IDENTIFIER ::= { ciscoDSGDiag 2 }
|
||||||
|
|
||||||
|
-- *************************************
|
||||||
|
-- powerOn Branch
|
||||||
|
-- *************************************
|
||||||
|
|
||||||
|
powerOnCreationDate OBJECT-TYPE
|
||||||
|
SYNTAX DisplayString (SIZE(0..30))
|
||||||
|
MAX-ACCESS read-only
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"Build Date of Product."
|
||||||
|
::= { powerOn 1 }
|
||||||
|
|
||||||
|
powerOnDate OBJECT-TYPE
|
||||||
|
SYNTAX DisplayString (SIZE(0..30))
|
||||||
|
MAX-ACCESS read-only
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"Last Power-On Date."
|
||||||
|
::= { powerOn 2 }
|
||||||
|
|
||||||
|
powerOnTotalHours OBJECT-TYPE
|
||||||
|
SYNTAX DisplayString (SIZE(1..32))
|
||||||
|
MAX-ACCESS read-only
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"Total Hours Running.The range is from 0 to
|
||||||
|
4294967295 hrs in steps of 1 hr."
|
||||||
|
::= { powerOn 3 }
|
||||||
|
|
||||||
|
powerOnHrsSinceLastPowerOff OBJECT-TYPE
|
||||||
|
SYNTAX DisplayString (SIZE(1..32))
|
||||||
|
MAX-ACCESS read-only
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"Hours Since Last Power Reset.The range is from 0 to
|
||||||
|
4294967295 hrs in steps of 1 hr."
|
||||||
|
::= { powerOn 4 }
|
||||||
|
|
||||||
|
powerOnTotResetCount OBJECT-TYPE
|
||||||
|
SYNTAX DisplayString (SIZE(1..32))
|
||||||
|
MAX-ACCESS read-only
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"Total Reset Counter.The range is from 0 to 4294967295."
|
||||||
|
::= { powerOn 5 }
|
||||||
|
|
||||||
|
powerOnClrableResetCount OBJECT-TYPE
|
||||||
|
SYNTAX DisplayString (SIZE(1..32))
|
||||||
|
MAX-ACCESS read-only
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"User Clearable Reset Counter.The range is from 0 to
|
||||||
|
4294967295."
|
||||||
|
::= { powerOn 6 }
|
||||||
|
|
||||||
|
powerOnReasonLastReset OBJECT-TYPE
|
||||||
|
SYNTAX DisplayString (SIZE(0..127))
|
||||||
|
MAX-ACCESS read-only
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"Reason for the Last Reset."
|
||||||
|
::= { powerOn 7 }
|
||||||
|
|
||||||
|
powerOnClearResetCounter OBJECT-TYPE
|
||||||
|
SYNTAX INTEGER {
|
||||||
|
writeOnly(1),
|
||||||
|
yes(2)
|
||||||
|
}
|
||||||
|
MAX-ACCESS read-write
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"Set this object to yes(2) to clear Power On Reset counter."
|
||||||
|
::= { powerOn 8 }
|
||||||
|
|
||||||
|
powerOnFactoryResetCount OBJECT-TYPE
|
||||||
|
SYNTAX DisplayString (SIZE(1..32 ))
|
||||||
|
MAX-ACCESS read-only
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"Total Factory Resets."
|
||||||
|
::= { powerOn 9 }
|
||||||
|
|
||||||
|
powerOnCurrentDateTime OBJECT-TYPE
|
||||||
|
SYNTAX DisplayString (SIZE(1..32 ))
|
||||||
|
MAX-ACCESS read-only
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"Displays the Current date and time."
|
||||||
|
::= { powerOn 10 }
|
||||||
|
|
||||||
|
--************************************
|
||||||
|
-- Diagnostics Table Group
|
||||||
|
--************************************
|
||||||
|
|
||||||
|
--************************************
|
||||||
|
-- Health Monitor Table Group
|
||||||
|
--************************************
|
||||||
|
diagHealthMonitorTable OBJECT-TYPE
|
||||||
|
SYNTAX SEQUENCE OF DIAGHealthMonitorEntry
|
||||||
|
MAX-ACCESS not-accessible
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"Health Monitor Table."
|
||||||
|
::= { diagTable 1 }
|
||||||
|
|
||||||
|
diagHealthMonitorEntry OBJECT-TYPE
|
||||||
|
SYNTAX DIAGHealthMonitorEntry
|
||||||
|
MAX-ACCESS not-accessible
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"Entry for Health Monitor table."
|
||||||
|
INDEX { diagHealthMonitorIndex }
|
||||||
|
::= { diagHealthMonitorTable 1 }
|
||||||
|
|
||||||
|
DIAGHealthMonitorEntry ::= SEQUENCE
|
||||||
|
{
|
||||||
|
diagHealthMonitorIndex Integer32,
|
||||||
|
diagHealthMonitorName DisplayString,
|
||||||
|
diagHealthMonitorValue DisplayString
|
||||||
|
}
|
||||||
|
|
||||||
|
diagHealthMonitorIndex OBJECT-TYPE
|
||||||
|
SYNTAX Integer32 (0..1000)
|
||||||
|
MAX-ACCESS not-accessible
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
" Health Monitor index."
|
||||||
|
::= { diagHealthMonitorEntry 1 }
|
||||||
|
|
||||||
|
diagHealthMonitorName OBJECT-TYPE
|
||||||
|
SYNTAX DisplayString( SIZE(0..8) )
|
||||||
|
MAX-ACCESS read-only
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"Health Monitor Item Name -
|
||||||
|
Gives Board Current temperature if monitor index is CURTEMP
|
||||||
|
Gives Board Maximum tempearture if monitor index is MAXTEMP
|
||||||
|
Gives Board Average temperature if monitor index is AVGTEMP
|
||||||
|
Gives Board Temperature at intake 1/intake 2 if monitor
|
||||||
|
index is IN1VAL/INVAL2
|
||||||
|
Gives Board FPGA Vicinity if monitor index is FPGAVIC
|
||||||
|
Gives Board FPGA Value if monitor index is FPGAVAL."
|
||||||
|
::= { diagHealthMonitorEntry 2 }
|
||||||
|
|
||||||
|
diagHealthMonitorValue OBJECT-TYPE
|
||||||
|
SYNTAX DisplayString ( SIZE(0..8) )
|
||||||
|
MAX-ACCESS read-only
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"Health monitor Item Value."
|
||||||
|
::= { diagHealthMonitorEntry 3 }
|
||||||
|
|
||||||
|
--************************************
|
||||||
|
-- Fan RPM Table Group
|
||||||
|
--************************************
|
||||||
|
diagFanRPMTable OBJECT-TYPE
|
||||||
|
SYNTAX SEQUENCE OF DIAGFanRPMEntry
|
||||||
|
MAX-ACCESS not-accessible
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"Fan RPM Table."
|
||||||
|
::= { diagTable 2 }
|
||||||
|
|
||||||
|
diagFanRPMEntry OBJECT-TYPE
|
||||||
|
SYNTAX DIAGFanRPMEntry
|
||||||
|
MAX-ACCESS not-accessible
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"Entry for Fan RPM table."
|
||||||
|
INDEX { diagFanRPMIndex }
|
||||||
|
::= { diagFanRPMTable 1 }
|
||||||
|
|
||||||
|
DIAGFanRPMEntry ::= SEQUENCE
|
||||||
|
{
|
||||||
|
diagFanRPMIndex Integer32,
|
||||||
|
diagFanRPMName DisplayString,
|
||||||
|
diagFanRPMValue DisplayString
|
||||||
|
}
|
||||||
|
|
||||||
|
diagFanRPMIndex OBJECT-TYPE
|
||||||
|
SYNTAX Integer32 (0..2147483647)
|
||||||
|
MAX-ACCESS not-accessible
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
" Fan RPM index."
|
||||||
|
::= { diagFanRPMEntry 1 }
|
||||||
|
|
||||||
|
diagFanRPMName OBJECT-TYPE
|
||||||
|
SYNTAX DisplayString( SIZE(0..8))
|
||||||
|
MAX-ACCESS read-only
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"Fan RPM Item Name :
|
||||||
|
Gives Fan 1 speed in rpm if Fan RPM index is FAN1
|
||||||
|
Gives Fan 2 speed in rpm if Fan RPM index is FAN2
|
||||||
|
Gives Fan 3 speed in rpm if Fan RPM index is FAN3
|
||||||
|
Gives Fan 4 speed in rpm if Fan RPM index is FAN4
|
||||||
|
Gives Fan 5 speed in rpm if Fan RPM index is FAN5
|
||||||
|
Gives Fan 6 speed in rpm if Fan RPM index is FAN6
|
||||||
|
Gives Fan 7 speed in rpm if Fan RPM index is FAN7."
|
||||||
|
::= { diagFanRPMEntry 2 }
|
||||||
|
|
||||||
|
diagFanRPMValue OBJECT-TYPE
|
||||||
|
SYNTAX DisplayString( SIZE(0..8))
|
||||||
|
MAX-ACCESS read-only
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
" Health monitor Item Value."
|
||||||
|
::= { diagFanRPMEntry 3 }
|
||||||
|
|
||||||
|
--************************************
|
||||||
|
-- ECC Readings Table Group
|
||||||
|
--************************************
|
||||||
|
diagECCReadingsTable OBJECT-TYPE
|
||||||
|
SYNTAX SEQUENCE OF DIAGECCReadingsEntry
|
||||||
|
MAX-ACCESS not-accessible
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"ECC Readings Table."
|
||||||
|
::= { diagTable 3 }
|
||||||
|
|
||||||
|
diagECCReadingsEntry OBJECT-TYPE
|
||||||
|
SYNTAX DIAGECCReadingsEntry
|
||||||
|
MAX-ACCESS not-accessible
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"Entry for ECC Readings table."
|
||||||
|
INDEX { diagECCReadingsIndex }
|
||||||
|
::= { diagECCReadingsTable 1 }
|
||||||
|
|
||||||
|
DIAGECCReadingsEntry ::= SEQUENCE
|
||||||
|
{
|
||||||
|
diagECCReadingsIndex INTEGER,
|
||||||
|
diagECCReadingsLocat DisplayString,
|
||||||
|
diagECCReadingsType DisplayString,
|
||||||
|
diagECCReadingsVal DisplayString,
|
||||||
|
diagECCReadingsApplicability DisplayString
|
||||||
|
}
|
||||||
|
|
||||||
|
diagECCReadingsIndex OBJECT-TYPE
|
||||||
|
SYNTAX INTEGER (1..15)
|
||||||
|
MAX-ACCESS read-only
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"ECC Readings index."
|
||||||
|
::= { diagECCReadingsEntry 1 }
|
||||||
|
|
||||||
|
diagECCReadingsLocat OBJECT-TYPE
|
||||||
|
SYNTAX DisplayString( SIZE(0..64))
|
||||||
|
MAX-ACCESS read-only
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"ECC Reading Location."
|
||||||
|
::= { diagECCReadingsEntry 2 }
|
||||||
|
|
||||||
|
diagECCReadingsType OBJECT-TYPE
|
||||||
|
SYNTAX DisplayString( SIZE(0..64))
|
||||||
|
MAX-ACCESS read-only
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"ECC Reading Type."
|
||||||
|
::= { diagECCReadingsEntry 3 }
|
||||||
|
|
||||||
|
diagECCReadingsVal OBJECT-TYPE
|
||||||
|
SYNTAX DisplayString( SIZE(0..64))
|
||||||
|
MAX-ACCESS read-only
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"ECC Reading Value."
|
||||||
|
::= { diagECCReadingsEntry 4 }
|
||||||
|
|
||||||
|
diagECCReadingsApplicability OBJECT-TYPE
|
||||||
|
SYNTAX DisplayString( SIZE(0..64))
|
||||||
|
MAX-ACCESS read-only
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"ECC Reading Applicibility for this device."
|
||||||
|
::= { diagECCReadingsEntry 5 }
|
||||||
|
|
||||||
|
--************************************
|
||||||
|
-- Control History Table Group
|
||||||
|
--************************************
|
||||||
|
diagCtrlHistoryTable OBJECT-TYPE
|
||||||
|
SYNTAX SEQUENCE OF DIAGCtrlHistoryEntry
|
||||||
|
MAX-ACCESS not-accessible
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"Control History Table."
|
||||||
|
::= { diagTable 4 }
|
||||||
|
|
||||||
|
diagCtrlHistoryEntry OBJECT-TYPE
|
||||||
|
SYNTAX DIAGCtrlHistoryEntry
|
||||||
|
MAX-ACCESS not-accessible
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"Entry for Control History table."
|
||||||
|
INDEX { diagCtrlHistoryIndex }
|
||||||
|
::= { diagCtrlHistoryTable 1 }
|
||||||
|
|
||||||
|
DIAGCtrlHistoryEntry ::= SEQUENCE
|
||||||
|
{
|
||||||
|
diagCtrlHistoryIndex Counter32,
|
||||||
|
diagCtrlHistoryHistory DisplayString,
|
||||||
|
diagCtrlHistoryDateTime DisplayString
|
||||||
|
}
|
||||||
|
|
||||||
|
diagCtrlHistoryIndex OBJECT-TYPE
|
||||||
|
SYNTAX Counter32
|
||||||
|
MAX-ACCESS read-only
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"Control History Table Index."
|
||||||
|
::= { diagCtrlHistoryEntry 1 }
|
||||||
|
|
||||||
|
diagCtrlHistoryHistory OBJECT-TYPE
|
||||||
|
SYNTAX DisplayString( SIZE(0..64))
|
||||||
|
MAX-ACCESS read-only
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"Control History Text."
|
||||||
|
::= { diagCtrlHistoryEntry 2 }
|
||||||
|
|
||||||
|
diagCtrlHistoryDateTime OBJECT-TYPE
|
||||||
|
SYNTAX DisplayString( SIZE(0..30))
|
||||||
|
MAX-ACCESS read-only
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION
|
||||||
|
"Control History Date and Time."
|
||||||
|
::= { diagCtrlHistoryEntry 3 }
|
||||||
|
|
||||||
|
END
|
58
mibs/cisco/CISCO-DMN-DSG-ROOT-MIB
Normal file
58
mibs/cisco/CISCO-DMN-DSG-ROOT-MIB
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
--*****************************************************************
|
||||||
|
-- CISCO-DMN-DSG-ROOT.mib : Root Mib file for D9865 IRD.
|
||||||
|
--
|
||||||
|
-- August 2010, TEL MIB Team
|
||||||
|
--
|
||||||
|
--
|
||||||
|
-- Copyright (c) 1999-2010 by Cisco Systems, Inc.
|
||||||
|
-- All rights reserved.
|
||||||
|
--*****************************************************************
|
||||||
|
|
||||||
|
-- ********************* start log section ************************
|
||||||
|
-- $Log::
|
||||||
|
-- ********************* end log section **************************
|
||||||
|
|
||||||
|
CISCO-DMN-DSG-ROOT-MIB
|
||||||
|
|
||||||
|
DEFINITIONS ::= BEGIN
|
||||||
|
|
||||||
|
IMPORTS
|
||||||
|
MODULE-IDENTITY, enterprises
|
||||||
|
FROM SNMPv2-SMI;
|
||||||
|
|
||||||
|
ciscoSPVTG MODULE-IDENTITY
|
||||||
|
LAST-UPDATED "201008301100Z" -- August 30 2010 11:00:00 GMT
|
||||||
|
ORGANIZATION "Cisco Systems, Inc."
|
||||||
|
CONTACT-INFO
|
||||||
|
"Cisco Systems, Inc.
|
||||||
|
Customer Service
|
||||||
|
Postal: 170 W Tasman Drive
|
||||||
|
San Jose, CA 95134
|
||||||
|
USA
|
||||||
|
Tel: +1 800 553 NETS
|
||||||
|
|
||||||
|
E-mail: cs-ipsla@cisco.com"
|
||||||
|
DESCRIPTION "Cisco top level MIB."
|
||||||
|
|
||||||
|
REVISION "201008301100Z"
|
||||||
|
DESCRIPTION "V01.00.01 2010-08-30
|
||||||
|
Updated for adherence to SNMPv2 format."
|
||||||
|
|
||||||
|
REVISION "200911261500Z"
|
||||||
|
DESCRIPTION "V01.00.00 2009-11-26
|
||||||
|
Initial Version."
|
||||||
|
|
||||||
|
::= { enterprises 1429 }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
ciscoSat OBJECT IDENTIFIER ::= { ciscoSPVTG 2 }
|
||||||
|
|
||||||
|
ciscoDMN OBJECT IDENTIFIER ::= { ciscoSat 2 }
|
||||||
|
|
||||||
|
ciscoDSGUtilities OBJECT IDENTIFIER ::= { ciscoDMN 5 }
|
||||||
|
|
||||||
|
ciscoDSGProducts OBJECT IDENTIFIER ::= { ciscoDMN 6 }
|
||||||
|
|
||||||
|
END
|
||||||
|
|
2034
mibs/cisco/CISCO-DMN-DSG-TUNING-MIB
Normal file
2034
mibs/cisco/CISCO-DMN-DSG-TUNING-MIB
Normal file
File diff suppressed because it is too large
Load Diff
447
tests/data/ciscosat.json
Normal file
447
tests/data/ciscosat.json
Normal file
@@ -0,0 +1,447 @@
|
|||||||
|
{
|
||||||
|
"os": {
|
||||||
|
"discovery": {
|
||||||
|
"devices": [
|
||||||
|
{
|
||||||
|
"sysName": "<private>",
|
||||||
|
"sysObjectID": ".1.3.6.1.4.1.1429.2.2.6.5",
|
||||||
|
"sysDescr": "D9854 APR",
|
||||||
|
"sysContact": null,
|
||||||
|
"version": null,
|
||||||
|
"hardware": null,
|
||||||
|
"features": null,
|
||||||
|
"os": "ciscosat",
|
||||||
|
"type": "network",
|
||||||
|
"serial": null,
|
||||||
|
"icon": "cisco.svg",
|
||||||
|
"location": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"poller": {
|
||||||
|
"devices": [
|
||||||
|
{
|
||||||
|
"sysName": "<private>",
|
||||||
|
"sysObjectID": ".1.3.6.1.4.1.1429.2.2.6.5",
|
||||||
|
"sysDescr": "D9854 APR",
|
||||||
|
"sysContact": "<private>",
|
||||||
|
"version": "1.50(1.11)",
|
||||||
|
"hardware": "D9859",
|
||||||
|
"features": null,
|
||||||
|
"os": "ciscosat",
|
||||||
|
"type": "network",
|
||||||
|
"serial": "<private>",
|
||||||
|
"icon": "cisco.svg",
|
||||||
|
"location": "<private>"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"sensors": {
|
||||||
|
"discovery": {
|
||||||
|
"sensors": [
|
||||||
|
{
|
||||||
|
"sensor_deleted": 0,
|
||||||
|
"sensor_class": "fanspeed",
|
||||||
|
"poller_type": "snmp",
|
||||||
|
"sensor_oid": ".1.3.6.1.4.1.1429.2.2.5.18.2.2.1.3.1",
|
||||||
|
"sensor_index": "diagFanRPMValue.1",
|
||||||
|
"sensor_type": "ciscosat",
|
||||||
|
"sensor_descr": "Fan Speed 1",
|
||||||
|
"group": "",
|
||||||
|
"sensor_divisor": 1,
|
||||||
|
"sensor_multiplier": 1,
|
||||||
|
"sensor_current": 4920,
|
||||||
|
"sensor_limit": 8856,
|
||||||
|
"sensor_limit_warn": null,
|
||||||
|
"sensor_limit_low": 3936,
|
||||||
|
"sensor_limit_low_warn": null,
|
||||||
|
"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": "fanspeed",
|
||||||
|
"poller_type": "snmp",
|
||||||
|
"sensor_oid": ".1.3.6.1.4.1.1429.2.2.5.18.2.2.1.3.2",
|
||||||
|
"sensor_index": "diagFanRPMValue.2",
|
||||||
|
"sensor_type": "ciscosat",
|
||||||
|
"sensor_descr": "Fan Speed 2",
|
||||||
|
"group": "",
|
||||||
|
"sensor_divisor": 1,
|
||||||
|
"sensor_multiplier": 1,
|
||||||
|
"sensor_current": 4860,
|
||||||
|
"sensor_limit": 8748,
|
||||||
|
"sensor_limit_warn": null,
|
||||||
|
"sensor_limit_low": 3888,
|
||||||
|
"sensor_limit_low_warn": null,
|
||||||
|
"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": "fanspeed",
|
||||||
|
"poller_type": "snmp",
|
||||||
|
"sensor_oid": ".1.3.6.1.4.1.1429.2.2.5.18.2.2.1.3.3",
|
||||||
|
"sensor_index": "diagFanRPMValue.3",
|
||||||
|
"sensor_type": "ciscosat",
|
||||||
|
"sensor_descr": "Fan Speed 3",
|
||||||
|
"group": "",
|
||||||
|
"sensor_divisor": 1,
|
||||||
|
"sensor_multiplier": 1,
|
||||||
|
"sensor_current": 5100,
|
||||||
|
"sensor_limit": 9180,
|
||||||
|
"sensor_limit_warn": null,
|
||||||
|
"sensor_limit_low": 4080,
|
||||||
|
"sensor_limit_low_warn": null,
|
||||||
|
"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": "fanspeed",
|
||||||
|
"poller_type": "snmp",
|
||||||
|
"sensor_oid": ".1.3.6.1.4.1.1429.2.2.5.18.2.2.1.3.4",
|
||||||
|
"sensor_index": "diagFanRPMValue.4",
|
||||||
|
"sensor_type": "ciscosat",
|
||||||
|
"sensor_descr": "Fan Speed 4",
|
||||||
|
"group": "",
|
||||||
|
"sensor_divisor": 1,
|
||||||
|
"sensor_multiplier": 1,
|
||||||
|
"sensor_current": 4860,
|
||||||
|
"sensor_limit": 8748,
|
||||||
|
"sensor_limit_warn": null,
|
||||||
|
"sensor_limit_low": 3888,
|
||||||
|
"sensor_limit_low_warn": null,
|
||||||
|
"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": "fanspeed",
|
||||||
|
"poller_type": "snmp",
|
||||||
|
"sensor_oid": ".1.3.6.1.4.1.1429.2.2.5.18.2.2.1.3.5",
|
||||||
|
"sensor_index": "diagFanRPMValue.5",
|
||||||
|
"sensor_type": "ciscosat",
|
||||||
|
"sensor_descr": "Fan Speed 5",
|
||||||
|
"group": "",
|
||||||
|
"sensor_divisor": 1,
|
||||||
|
"sensor_multiplier": 1,
|
||||||
|
"sensor_current": 5100,
|
||||||
|
"sensor_limit": 9180,
|
||||||
|
"sensor_limit_warn": null,
|
||||||
|
"sensor_limit_low": 4080,
|
||||||
|
"sensor_limit_low_warn": null,
|
||||||
|
"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": "fanspeed",
|
||||||
|
"poller_type": "snmp",
|
||||||
|
"sensor_oid": ".1.3.6.1.4.1.1429.2.2.5.18.2.2.1.3.6",
|
||||||
|
"sensor_index": "diagFanRPMValue.6",
|
||||||
|
"sensor_type": "ciscosat",
|
||||||
|
"sensor_descr": "Fan Speed 6",
|
||||||
|
"group": "",
|
||||||
|
"sensor_divisor": 1,
|
||||||
|
"sensor_multiplier": 1,
|
||||||
|
"sensor_current": 4800,
|
||||||
|
"sensor_limit": 8640,
|
||||||
|
"sensor_limit_warn": null,
|
||||||
|
"sensor_limit_low": 3840,
|
||||||
|
"sensor_limit_low_warn": null,
|
||||||
|
"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": "fanspeed",
|
||||||
|
"poller_type": "snmp",
|
||||||
|
"sensor_oid": ".1.3.6.1.4.1.1429.2.2.5.18.2.2.1.3.7",
|
||||||
|
"sensor_index": "diagFanRPMValue.7",
|
||||||
|
"sensor_type": "ciscosat",
|
||||||
|
"sensor_descr": "Fan Speed 7",
|
||||||
|
"group": "",
|
||||||
|
"sensor_divisor": 1,
|
||||||
|
"sensor_multiplier": 1,
|
||||||
|
"sensor_current": 4980,
|
||||||
|
"sensor_limit": 8964,
|
||||||
|
"sensor_limit_warn": null,
|
||||||
|
"sensor_limit_low": 3984,
|
||||||
|
"sensor_limit_low_warn": null,
|
||||||
|
"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",
|
||||||
|
"poller_type": "snmp",
|
||||||
|
"sensor_oid": ".1.3.6.1.4.1.1429.2.2.5.5.3.2.1.3.1",
|
||||||
|
"sensor_index": "inputStatusSatLock.1",
|
||||||
|
"sensor_type": "inputStatusSatLock",
|
||||||
|
"sensor_descr": "Sat Lock 1",
|
||||||
|
"group": "",
|
||||||
|
"sensor_divisor": 1,
|
||||||
|
"sensor_multiplier": 1,
|
||||||
|
"sensor_current": 3,
|
||||||
|
"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_prev": null,
|
||||||
|
"user_func": null,
|
||||||
|
"state_name": "inputStatusSatLock"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"state_indexes": [
|
||||||
|
{
|
||||||
|
"state_name": "inputStatusSatLock",
|
||||||
|
"state_descr": "null",
|
||||||
|
"state_draw_graph": 0,
|
||||||
|
"state_value": -1,
|
||||||
|
"state_generic_value": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"state_name": "inputStatusSatLock",
|
||||||
|
"state_descr": "No Lock",
|
||||||
|
"state_draw_graph": 1,
|
||||||
|
"state_value": 1,
|
||||||
|
"state_generic_value": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"state_name": "inputStatusSatLock",
|
||||||
|
"state_descr": "Lock - Signal",
|
||||||
|
"state_draw_graph": 1,
|
||||||
|
"state_value": 2,
|
||||||
|
"state_generic_value": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"state_name": "inputStatusSatLock",
|
||||||
|
"state_descr": "Lock + Signal",
|
||||||
|
"state_draw_graph": 1,
|
||||||
|
"state_value": 3,
|
||||||
|
"state_generic_value": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"poller": "matches discovery"
|
||||||
|
},
|
||||||
|
"wireless": {
|
||||||
|
"discovery": {
|
||||||
|
"wireless_sensors": [
|
||||||
|
{
|
||||||
|
"sensor_deleted": 0,
|
||||||
|
"sensor_class": "snr",
|
||||||
|
"sensor_index": "1",
|
||||||
|
"sensor_type": "ciscosat",
|
||||||
|
"sensor_descr": "C/N Link Margin 1",
|
||||||
|
"sensor_divisor": 1,
|
||||||
|
"sensor_multiplier": 1,
|
||||||
|
"sensor_aggregator": "sum",
|
||||||
|
"sensor_current": 1.6,
|
||||||
|
"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.1429.2.2.5.5.3.1.1.6.1\"]"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"sensor_deleted": 0,
|
||||||
|
"sensor_class": "snr",
|
||||||
|
"sensor_index": "2",
|
||||||
|
"sensor_type": "ciscosat",
|
||||||
|
"sensor_descr": "C/N Ratio 1",
|
||||||
|
"sensor_divisor": 1,
|
||||||
|
"sensor_multiplier": 1,
|
||||||
|
"sensor_aggregator": "sum",
|
||||||
|
"sensor_current": 10,
|
||||||
|
"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.1429.2.2.5.5.3.1.1.5.1\"]"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"sensor_deleted": 0,
|
||||||
|
"sensor_class": "rssi",
|
||||||
|
"sensor_index": "1",
|
||||||
|
"sensor_type": "ciscosat",
|
||||||
|
"sensor_descr": "Receive Signal Level 1",
|
||||||
|
"sensor_divisor": 1,
|
||||||
|
"sensor_multiplier": 1,
|
||||||
|
"sensor_aggregator": "sum",
|
||||||
|
"sensor_current": -40,
|
||||||
|
"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.1429.2.2.5.5.3.1.1.7.1\"]"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"sensor_deleted": 0,
|
||||||
|
"sensor_class": "errors",
|
||||||
|
"sensor_index": "1",
|
||||||
|
"sensor_type": "ciscosat",
|
||||||
|
"sensor_descr": "Uncorrected Errors 1",
|
||||||
|
"sensor_divisor": 1,
|
||||||
|
"sensor_multiplier": 1,
|
||||||
|
"sensor_aggregator": "sum",
|
||||||
|
"sensor_current": 42277,
|
||||||
|
"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.1429.2.2.5.5.3.1.1.12.1\"]"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"poller": {
|
||||||
|
"wireless_sensors": [
|
||||||
|
{
|
||||||
|
"sensor_deleted": 0,
|
||||||
|
"sensor_class": "snr",
|
||||||
|
"sensor_index": "1",
|
||||||
|
"sensor_type": "ciscosat",
|
||||||
|
"sensor_descr": "C/N Link Margin 1",
|
||||||
|
"sensor_divisor": 1,
|
||||||
|
"sensor_multiplier": 1,
|
||||||
|
"sensor_aggregator": "sum",
|
||||||
|
"sensor_current": 1.6,
|
||||||
|
"sensor_prev": 1.6,
|
||||||
|
"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.1429.2.2.5.5.3.1.1.6.1\"]"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"sensor_deleted": 0,
|
||||||
|
"sensor_class": "snr",
|
||||||
|
"sensor_index": "2",
|
||||||
|
"sensor_type": "ciscosat",
|
||||||
|
"sensor_descr": "C/N Ratio 1",
|
||||||
|
"sensor_divisor": 1,
|
||||||
|
"sensor_multiplier": 1,
|
||||||
|
"sensor_aggregator": "sum",
|
||||||
|
"sensor_current": 10,
|
||||||
|
"sensor_prev": 10,
|
||||||
|
"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.1429.2.2.5.5.3.1.1.5.1\"]"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"sensor_deleted": 0,
|
||||||
|
"sensor_class": "rssi",
|
||||||
|
"sensor_index": "1",
|
||||||
|
"sensor_type": "ciscosat",
|
||||||
|
"sensor_descr": "Receive Signal Level 1",
|
||||||
|
"sensor_divisor": 1,
|
||||||
|
"sensor_multiplier": 1,
|
||||||
|
"sensor_aggregator": "sum",
|
||||||
|
"sensor_current": -40,
|
||||||
|
"sensor_prev": -40,
|
||||||
|
"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.1429.2.2.5.5.3.1.1.7.1\"]"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"sensor_deleted": 0,
|
||||||
|
"sensor_class": "errors",
|
||||||
|
"sensor_index": "1",
|
||||||
|
"sensor_type": "ciscosat",
|
||||||
|
"sensor_descr": "Uncorrected Errors 1",
|
||||||
|
"sensor_divisor": 1,
|
||||||
|
"sensor_multiplier": 1,
|
||||||
|
"sensor_aggregator": "sum",
|
||||||
|
"sensor_current": 42277,
|
||||||
|
"sensor_prev": 42277,
|
||||||
|
"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.1429.2.2.5.5.3.1.1.12.1\"]"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
59
tests/snmpsim/ciscosat.snmprec
Normal file
59
tests/snmpsim/ciscosat.snmprec
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
1.3.6.1.2.1.1.1.0|4|D9854 APR
|
||||||
|
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.1429.2.2.6.5
|
||||||
|
1.3.6.1.2.1.1.3.0|67|1450484401
|
||||||
|
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.4.1.1429.2.2.5.1.1.1.0|4|1.50(1.11)
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.1.1.4.0|4|D9859
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.1.1.5.0|4|361356018144
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.5.3.1.1.5.1|4|10.0
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.5.3.1.1.6.1|4|1.6
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.5.3.1.1.7.1|4|-40
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.5.3.1.1.12.1|4|42277
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.5.3.2.1.1.1|2|1
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.5.3.2.1.2.1|2|2
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.5.3.2.1.3.1|2|3
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.5.3.2.1.4.1|2|1
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.5.3.2.1.5.1|4|65.32624
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.5.3.2.1.6.1|4|AMC 11 Transponder 13
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.5.3.2.1.7.1|4|8404
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.5.3.2.1.8.1|4|401
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.5.3.2.1.9.1|2|2
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.5.3.2.1.10.1|2|2
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.5.3.2.1.11.1|2|1
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.5.3.2.1.12.1|2|3
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.5.3.2.1.13.1|2|1
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.5.3.2.1.14.1|4|NIT_TS_Change
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.5.3.2.1.15.1|4|RF1
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.5.3.2.1.16.1|4|Up
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.5.3.2.1.17.1|4|None
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.5.3.2.1.18.1|4|None
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.5.3.2.1.19.1|4|No
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.5.3.2.1.20.1|4|110
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.5.3.2.1.21.1|64|0.0.0.0
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.5.3.2.1.22.1|64|0.0.0.0
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.5.3.2.1.23.1|4|Unk
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.5.3.2.1.24.1|4|Unk
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.18.2.2.1.1.1|2|1
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.18.2.2.1.1.2|2|2
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.18.2.2.1.1.3|2|3
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.18.2.2.1.1.4|2|4
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.18.2.2.1.1.5|2|5
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.18.2.2.1.1.6|2|6
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.18.2.2.1.1.7|2|7
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.18.2.2.1.2.1|4|FAN1
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.18.2.2.1.2.2|4|FAN2
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.18.2.2.1.2.3|4|FAN3
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.18.2.2.1.2.4|4|FAN4
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.18.2.2.1.2.5|4|FAN5
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.18.2.2.1.2.6|4|FAN6
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.18.2.2.1.2.7|4|FAN7
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.18.2.2.1.3.1|4|4920
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.18.2.2.1.3.2|4|4860
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.18.2.2.1.3.3|4|5100
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.18.2.2.1.3.4|4|4860
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.18.2.2.1.3.5|4|5100
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.18.2.2.1.3.6|4|4800
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.18.2.2.1.3.7|4|4980
|
||||||
|
1.3.6.1.4.1.1429.2.2.5.42.2.1.1.6.1|4|<private>
|
Reference in New Issue
Block a user