mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 10:28:13 +00:00
Added support for Vigintos Modulator & Ampiflier (#9488)
* Create vigintos.yaml * Add files via upload * Create VEL-HOST2-MIB * Create VEL-MIB * Create vigintos.inc.php * Create vigintos.inc.php * Create vigintos.inc.php * Create vigintos.inc.php * Create vigintos.inc.php * Create vigintos.snmprec * Rename mibs/viginitos/VEL-HOST2-MIB to mibs/vigintos/VEL-MIB * Delete VEL-MIB * Rename VEL-MIB to VEL-HOST2-MIB * Create VEL-MIB * Delete vigintos.inc.php * Delete vigintos.inc.php * Delete vigintos.inc.php * Delete vigintos.inc.php * Create vigintos.yaml * Update vigintos.snmprec * Update vigintos.yaml * Create vigintos.json * Update vigintos.json * Update vigintos.json
This commit is contained in:
parent
a9b156cfcd
commit
4c058ae3b4
BIN
html/images/os/vigintos.png
Normal file
BIN
html/images/os/vigintos.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 46 KiB |
76
includes/definitions/discovery/vigintos.yaml
Normal file
76
includes/definitions/discovery/vigintos.yaml
Normal file
@ -0,0 +1,76 @@
|
||||
mib: VEL-HOST2-MIB
|
||||
modules:
|
||||
sensors:
|
||||
pre-cache:
|
||||
data:
|
||||
- oid:
|
||||
- host2DevIndex
|
||||
state:
|
||||
data:
|
||||
-
|
||||
oid: host2DevLanState
|
||||
num_oid: '.1.3.6.1.4.1.27993.5.6.1.4.{{ $index }}'
|
||||
descr: "Lan {{ $host2DevIndex }} State"
|
||||
state_name: host2DevLanState
|
||||
states:
|
||||
- { value: 0, generic: 2, graph: 1, descr: 'disconnected' }
|
||||
- { value: 1, generic: 0, graph: 1, descr: 'connected' }
|
||||
temperature:
|
||||
data:
|
||||
-
|
||||
oid: host2DevParTable
|
||||
value: host2DevParValue
|
||||
num_oid: '.1.3.6.1.4.1.27993.5.9.1.3.{{ $index }}'
|
||||
descr: host2DevParName
|
||||
skip_values:
|
||||
-
|
||||
oid: host2DevParName
|
||||
op: '!='
|
||||
value: Temperature
|
||||
voltage:
|
||||
data:
|
||||
-
|
||||
oid: host2DevParTable
|
||||
value: host2DevParValue
|
||||
num_oid: '.1.3.6.1.4.1.27993.5.9.1.3.{{ $index }}'
|
||||
descr: host2DevParName
|
||||
skip_values:
|
||||
-
|
||||
oid: host2DevParName
|
||||
op: '!='
|
||||
value: Voltage
|
||||
current:
|
||||
data:
|
||||
-
|
||||
oid: host2DevParTable
|
||||
value: host2DevParValue
|
||||
num_oid: '.1.3.6.1.4.1.27993.5.9.1.3.{{ $index }}'
|
||||
descr: host2DevParName
|
||||
skip_values:
|
||||
-
|
||||
oid: host2DevParUnit
|
||||
op: '!='
|
||||
value: A
|
||||
power:
|
||||
data:
|
||||
-
|
||||
oid: host2DevParTable
|
||||
value: host2DevParValue
|
||||
num_oid: '.1.3.6.1.4.1.27993.5.9.1.3.{{ $index }}'
|
||||
descr: host2DevParName
|
||||
skip_values:
|
||||
-
|
||||
oid: host2DevParUnit
|
||||
op: '!='
|
||||
value: W
|
||||
-
|
||||
oid: host2DevParTable
|
||||
value: host2DevParValue
|
||||
num_oid: '.1.3.6.1.4.1.27993.5.9.1.3.{{ $index }}'
|
||||
descr: host2DevParName
|
||||
divisor: 1000
|
||||
skip_values:
|
||||
-
|
||||
oid: host2DevParUnit
|
||||
op: '!='
|
||||
value: mW
|
13
includes/definitions/vigintos.yaml
Normal file
13
includes/definitions/vigintos.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
os: vigintos
|
||||
text: 'DVB Modulator & Ampiflier'
|
||||
type: network
|
||||
icon: vigintos
|
||||
group: vigintos
|
||||
mib_dir:
|
||||
- vigintos
|
||||
over:
|
||||
- { graph: device_temperature, text: 'Ampiflier Temperature' }
|
||||
- { graph: device_voltage, text: 'Ampiflier Voltage' }
|
||||
discovery:
|
||||
- sysObjectID:
|
||||
- .1.3.6.1.4.1.27993.5
|
3
includes/polling/os/vigintos.inc.php
Normal file
3
includes/polling/os/vigintos.inc.php
Normal file
@ -0,0 +1,3 @@
|
||||
<?php
|
||||
$vigintos_tmp = snmp_get_multi_oid($device, 'host2Version.0', '-OQUs', 'VEL-HOST2-MIB');
|
||||
$version = $vigintos_tmp['host2Version.0'];
|
565
mibs/vigintos/VEL-HOST2-MIB
Normal file
565
mibs/vigintos/VEL-HOST2-MIB
Normal file
@ -0,0 +1,565 @@
|
||||
VEL-HOST2-MIB DEFINITIONS ::= BEGIN
|
||||
|
||||
IMPORTS
|
||||
vel FROM VEL-MIB
|
||||
DisplayString FROM RFC1213-MIB
|
||||
TRAP-TYPE FROM RFC-1215
|
||||
MODULE-IDENTITY, OBJECT-TYPE
|
||||
FROM SNMPv2-SMI;
|
||||
|
||||
host2 MODULE-IDENTITY
|
||||
LAST-UPDATED "201508121000Z"
|
||||
ORGANIZATION "Vigintos Elektronika"
|
||||
CONTACT-INFO "Contact:
|
||||
|
||||
Web: http://www.vigintos.com
|
||||
Email: ve@vigintos.com
|
||||
|
||||
Address: Ozo 4, Vilnius, LT-08200, Lithuania
|
||||
Tel: +37052477465
|
||||
Fax: +37052477466"
|
||||
|
||||
DESCRIPTION "This is the MIB file of Host Controller 2."
|
||||
|
||||
REVISION "201303070800Z"
|
||||
|
||||
DESCRIPTION "Host Controller 2 MIB File."
|
||||
|
||||
::= {vel 5}
|
||||
|
||||
host2Name OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Host Controller name."
|
||||
::= {host2 1}
|
||||
|
||||
host2Version OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Host Controller version"
|
||||
::= {host2 2}
|
||||
|
||||
host2LoaderVersion OBJECT-TYPE
|
||||
SYNTAX DisplayString
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Host Controller loader version"
|
||||
::= {host2 3}
|
||||
|
||||
-- ************ Host Command Table ***************************
|
||||
|
||||
host2CmdTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF Host2CmdEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A list of Host Controller command entries."
|
||||
::= {host2 4}
|
||||
|
||||
host2CmdEntry OBJECT-TYPE
|
||||
SYNTAX Host2CmdEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"An entry of Host Controller commands."
|
||||
INDEX { host2CmdIndex }
|
||||
::= {host2CmdTable 1}
|
||||
|
||||
Host2CmdEntry ::= SEQUENCE {
|
||||
host2CmdIndex INTEGER,
|
||||
host2CmdName DisplayString,
|
||||
host2CmdExecute INTEGER
|
||||
}
|
||||
|
||||
host2CmdIndex OBJECT-TYPE
|
||||
SYNTAX INTEGER(1..255)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"An id for each command."
|
||||
::= {host2CmdEntry 1}
|
||||
|
||||
host2CmdName OBJECT-TYPE
|
||||
SYNTAX DisplayString(SIZE(0..255))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The name of a command."
|
||||
::= {host2CmdEntry 2}
|
||||
|
||||
host2CmdExecute OBJECT-TYPE
|
||||
SYNTAX INTEGER {no(0), yes(1)}
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Instructions to execute the command of host.
|
||||
If value no(0) is sent, the command will not be executed.
|
||||
If value yes(1) is sent, the command will be executed."
|
||||
::= {host2CmdEntry 3}
|
||||
|
||||
-- ************ End Host Command Table ***********************
|
||||
|
||||
-- ************ History **************************************
|
||||
|
||||
host2HistoryTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF Host2HistoryEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A list of Host Controller history entries."
|
||||
::= {host2 5}
|
||||
|
||||
host2HistoryEntry OBJECT-TYPE
|
||||
SYNTAX Host2HistoryEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"An entry of Host Controller history."
|
||||
INDEX { host2HisIndex }
|
||||
::= {host2HistoryTable 1}
|
||||
|
||||
Host2HistoryEntry ::= SEQUENCE {
|
||||
host2HisIndex INTEGER,
|
||||
host2HisRecord DisplayString
|
||||
}
|
||||
|
||||
host2HisIndex OBJECT-TYPE
|
||||
SYNTAX INTEGER(1..1008)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Unique index for each event."
|
||||
::= {host2HistoryEntry 1}
|
||||
|
||||
host2HisRecord OBJECT-TYPE
|
||||
SYNTAX DisplayString(SIZE(0..255))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The text description of an event."
|
||||
::= {host2HistoryEntry 2}
|
||||
|
||||
-- ************ End History **********************************
|
||||
|
||||
-- ************ Devices **************************************
|
||||
|
||||
-- ************ Device Attributes ***************************
|
||||
|
||||
host2DevAttrTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF Host2DevAttrEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A list of device attributes entries."
|
||||
::= {host2 6}
|
||||
|
||||
host2DevAttrEntry OBJECT-TYPE
|
||||
SYNTAX Host2DevAttrEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"An entry of device attributes."
|
||||
INDEX {host2DevIndex}
|
||||
::= {host2DevAttrTable 1}
|
||||
|
||||
Host2DevAttrEntry ::= SEQUENCE {
|
||||
host2DevIndex INTEGER,
|
||||
host2DevLocalAddr INTEGER,
|
||||
host2DevTypeNumber INTEGER,
|
||||
host2DevLanState INTEGER
|
||||
}
|
||||
|
||||
host2DevIndex OBJECT-TYPE
|
||||
SYNTAX INTEGER(1..14)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Unique ID for each device."
|
||||
::= {host2DevAttrEntry 1}
|
||||
|
||||
host2DevLocalAddr OBJECT-TYPE
|
||||
SYNTAX INTEGER(2..15)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Local address for each device."
|
||||
::= {host2DevAttrEntry 2}
|
||||
|
||||
host2DevTypeNumber OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Number of type for each device."
|
||||
::= {host2DevAttrEntry 3}
|
||||
|
||||
host2DevLanState OBJECT-TYPE
|
||||
SYNTAX INTEGER{disconnected(0), connected(1)}
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Network connection state for each device."
|
||||
::= {host2DevAttrEntry 4}
|
||||
|
||||
-- ************ End Device Attributes ***********************
|
||||
|
||||
-- ************ Textual Data Table ***********************************
|
||||
|
||||
host2DevTxtTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF Host2DevTxtEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A list of textual data that are read from the devices.
|
||||
If device is disconnected, there is no entry for this device in the table."
|
||||
::= {host2 7}
|
||||
|
||||
host2DevTxtEntry OBJECT-TYPE
|
||||
SYNTAX Host2DevTxtEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"An entry of textual data of devices."
|
||||
INDEX {host2DevIndex, host2DevTxtIndex}
|
||||
::= {host2DevTxtTable 1}
|
||||
|
||||
Host2DevTxtEntry ::= SEQUENCE {
|
||||
host2DevTxtIndex INTEGER,
|
||||
host2DevTxtName DisplayString,
|
||||
host2DevTxtValue DisplayString
|
||||
}
|
||||
|
||||
host2DevTxtIndex OBJECT-TYPE
|
||||
SYNTAX INTEGER(1..255)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Unique ID for each textual data of device."
|
||||
::= {host2DevTxtEntry 1}
|
||||
|
||||
host2DevTxtName OBJECT-TYPE
|
||||
SYNTAX DisplayString(SIZE(0..255))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The description of textual data of device."
|
||||
::= {host2DevTxtEntry 2}
|
||||
|
||||
host2DevTxtValue OBJECT-TYPE
|
||||
SYNTAX DisplayString(SIZE(0..255))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The value of textual data of device."
|
||||
::= {host2DevTxtEntry 3}
|
||||
|
||||
-- ************ End Textual Data Table *******************************
|
||||
|
||||
-- ************ Event Table ****************************************
|
||||
|
||||
host2DevEvtTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF Host2DevEvtEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A list of events of devices entries.
|
||||
If device is disconnected, there is no entry for this device in the table."
|
||||
::= {host2 8}
|
||||
|
||||
host2DevEvtEntry OBJECT-TYPE
|
||||
SYNTAX Host2DevEvtEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"An entry of events of devices."
|
||||
INDEX {host2DevIndex, host2DevEvtIndex}
|
||||
::= {host2DevEvtTable 1}
|
||||
|
||||
Host2DevEvtEntry ::= SEQUENCE {
|
||||
host2DevEvtIndex INTEGER,
|
||||
host2DevEvtName DisplayString,
|
||||
host2DevEvtType INTEGER,
|
||||
host2DevEvtState INTEGER
|
||||
}
|
||||
|
||||
host2DevEvtIndex OBJECT-TYPE
|
||||
SYNTAX INTEGER(1..255)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Id for each event."
|
||||
::= {host2DevEvtEntry 1}
|
||||
|
||||
host2DevEvtName OBJECT-TYPE
|
||||
SYNTAX DisplayString(SIZE(0..255))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The description of a event."
|
||||
::= {host2DevEvtEntry 2}
|
||||
|
||||
host2DevEvtType OBJECT-TYPE
|
||||
SYNTAX INTEGER {notice(0), warning(1), alarm(2)}
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The type of a event."
|
||||
::= {host2DevEvtEntry 3}
|
||||
|
||||
host2DevEvtState OBJECT-TYPE
|
||||
SYNTAX INTEGER (0..1)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The state of a event."
|
||||
::= {host2DevEvtEntry 4}
|
||||
|
||||
-- ************ End Event Table ************************************
|
||||
|
||||
-- ************ Parameter Table ***********************************
|
||||
|
||||
host2DevParTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF Host2DevParEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A list of parameters of devices entries.
|
||||
If device is disconnected, there is no entry for this device in the table."
|
||||
::= {host2 9}
|
||||
|
||||
host2DevParEntry OBJECT-TYPE
|
||||
SYNTAX Host2DevParEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"An entry of parameters of devices."
|
||||
INDEX {host2DevIndex, host2DevParIndex}
|
||||
::= {host2DevParTable 1}
|
||||
|
||||
Host2DevParEntry ::= SEQUENCE {
|
||||
host2DevParIndex INTEGER,
|
||||
host2DevParName DisplayString,
|
||||
host2DevParValue DisplayString,
|
||||
host2DevParUnit DisplayString,
|
||||
host2DevParStateType INTEGER,
|
||||
host2DevParState INTEGER
|
||||
}
|
||||
|
||||
host2DevParIndex OBJECT-TYPE
|
||||
SYNTAX INTEGER(1..255)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Unique ID for each parameter."
|
||||
::= {host2DevParEntry 1}
|
||||
|
||||
host2DevParName OBJECT-TYPE
|
||||
SYNTAX DisplayString(SIZE(0..255))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The name of a parameter."
|
||||
::= {host2DevParEntry 2}
|
||||
|
||||
host2DevParValue OBJECT-TYPE
|
||||
SYNTAX DisplayString(SIZE(0..7))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The value of a parameter."
|
||||
::= {host2DevParEntry 3}
|
||||
|
||||
host2DevParUnit OBJECT-TYPE
|
||||
SYNTAX DisplayString(SIZE(0..3))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The measurement unit of a parameter."
|
||||
::= {host2DevParEntry 4}
|
||||
|
||||
host2DevParStateType OBJECT-TYPE
|
||||
SYNTAX INTEGER {notice(0), warning(1), alarm(2)}
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The type of state of a parameter."
|
||||
::= {host2DevParEntry 5}
|
||||
|
||||
host2DevParState OBJECT-TYPE
|
||||
SYNTAX INTEGER {noAlarm(0), lessThanMin(1), greatherThanMax(2), blocked(3)}
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The state of a parameter."
|
||||
::= {host2DevParEntry 6}
|
||||
|
||||
-- ************ End Parameter Table *******************************
|
||||
|
||||
-- ************ Quantity Table *************************************
|
||||
|
||||
host2DevQntTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF Host2DevQntEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A list of quantities of devices entries.
|
||||
If device is disconnected, there is no entry for this device in the table."
|
||||
::= {host2 10}
|
||||
|
||||
host2DevQntEntry OBJECT-TYPE
|
||||
SYNTAX Host2DevQntEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"An entry of quantities of device."
|
||||
INDEX {host2DevIndex, host2DevQntIndex}
|
||||
::= {host2DevQntTable 1}
|
||||
|
||||
Host2DevQntEntry ::= SEQUENCE {
|
||||
host2DevQntIndex INTEGER,
|
||||
host2DevQntName DisplayString,
|
||||
host2DevQntValue DisplayString,
|
||||
host2DevQntMin DisplayString,
|
||||
host2DevQntMax DisplayString,
|
||||
host2DevQntAccess INTEGER
|
||||
}
|
||||
|
||||
host2DevQntIndex OBJECT-TYPE
|
||||
SYNTAX INTEGER(1..255)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"An id for each quantity."
|
||||
::= {host2DevQntEntry 1}
|
||||
|
||||
host2DevQntName OBJECT-TYPE
|
||||
SYNTAX DisplayString(SIZE(0..255))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The name of a quantity."
|
||||
::= {host2DevQntEntry 2}
|
||||
|
||||
host2DevQntValue OBJECT-TYPE
|
||||
SYNTAX DisplayString(SIZE(0..12))
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The value of a quantity."
|
||||
::= {host2DevQntEntry 3}
|
||||
|
||||
host2DevQntMin OBJECT-TYPE
|
||||
SYNTAX DisplayString(SIZE(0..12))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The minimum value of a quantity."
|
||||
::= {host2DevQntEntry 4}
|
||||
|
||||
host2DevQntMax OBJECT-TYPE
|
||||
SYNTAX DisplayString(SIZE(0..12))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The maximum value of a quantity."
|
||||
::= {host2DevQntEntry 5}
|
||||
|
||||
host2DevQntAccess OBJECT-TYPE
|
||||
SYNTAX INTEGER {read-only(0), read-write(1)}
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The access to change the value of a quantity."
|
||||
::= {host2DevQntEntry 6}
|
||||
|
||||
-- ************ End Quantity Table *************************************
|
||||
|
||||
-- ************ Command Table *************************************
|
||||
|
||||
host2DevCmdTable OBJECT-TYPE
|
||||
SYNTAX SEQUENCE OF Host2DevCmdEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"A list of commands of devices entries.
|
||||
If device is disconnected, there is no entry for this device in the table."
|
||||
::= {host2 11}
|
||||
|
||||
host2DevCmdEntry OBJECT-TYPE
|
||||
SYNTAX Host2DevCmdEntry
|
||||
MAX-ACCESS not-accessible
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"An entry of commands of device."
|
||||
INDEX {host2DevIndex, host2DevCmdIndex}
|
||||
::= {host2DevCmdTable 1}
|
||||
|
||||
Host2DevCmdEntry ::= SEQUENCE {
|
||||
host2DevCmdIndex INTEGER,
|
||||
host2DevCmdName DisplayString,
|
||||
host2DevCmdExecute INTEGER
|
||||
}
|
||||
|
||||
host2DevCmdIndex OBJECT-TYPE
|
||||
SYNTAX INTEGER(1..255)
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"An id for each command."
|
||||
::= {host2DevCmdEntry 1}
|
||||
|
||||
host2DevCmdName OBJECT-TYPE
|
||||
SYNTAX DisplayString(SIZE(0..255))
|
||||
MAX-ACCESS read-only
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"The name of a command."
|
||||
::= {host2DevCmdEntry 2}
|
||||
|
||||
host2DevCmdExecute OBJECT-TYPE
|
||||
SYNTAX INTEGER {no(0), yes(1)}
|
||||
MAX-ACCESS read-write
|
||||
STATUS current
|
||||
DESCRIPTION
|
||||
"Instructions to execute the command of device.
|
||||
If value no(0) is sent, the command will not be executed.
|
||||
If value yes(1) is sent, the command will be executed."
|
||||
::= {host2DevCmdEntry 3}
|
||||
|
||||
-- ************ End Command Table *********************************
|
||||
|
||||
-- ************ End Devices **********************************
|
||||
|
||||
-- ************ Traps ****************************************
|
||||
|
||||
host2DevConnectionTrap TRAP-TYPE
|
||||
ENTERPRISE host2
|
||||
VARIABLES {host2DevLanState }
|
||||
DESCRIPTION
|
||||
"This trap is sent when the status of network connection of device is changed.
|
||||
There can be two types of network connection status: connected or disconnected."
|
||||
::= 5001
|
||||
|
||||
host2DevEvtStateTrap TRAP-TYPE
|
||||
ENTERPRISE host2
|
||||
VARIABLES {host2DevEvtState}
|
||||
DESCRIPTION
|
||||
"This trap is sent when the state of device is changed: for example,
|
||||
device can enter stand-by mode or there is an alarm, not associated with parameters measured."
|
||||
::= 5002
|
||||
|
||||
host2DevParStateTrap TRAP-TYPE
|
||||
ENTERPRISE host2
|
||||
VARIABLES {host2DevParState}
|
||||
DESCRIPTION
|
||||
"This trap is sent when the state of measured parameters is changed."
|
||||
::= 5003
|
||||
|
||||
-- ************ End Traps ************************************
|
||||
|
||||
END
|
41
mibs/vigintos/VEL-MIB
Normal file
41
mibs/vigintos/VEL-MIB
Normal file
@ -0,0 +1,41 @@
|
||||
VEL-MIB DEFINITIONS ::= BEGIN
|
||||
|
||||
IMPORTS
|
||||
enterprises FROM RFC1155-SMI
|
||||
MODULE-IDENTITY FROM SNMPv2-SMI;
|
||||
|
||||
vel MODULE-IDENTITY
|
||||
LAST-UPDATED "201110050800Z"
|
||||
ORGANIZATION "Vigintos Elektronika"
|
||||
CONTACT-INFO
|
||||
"Contact:
|
||||
|
||||
Web: http://www.vigintos.com
|
||||
Email: ve@vigintos.com
|
||||
|
||||
Address: Ozo 4, Vilnius, LT-08200, Lithuania
|
||||
Tel: +37052477465
|
||||
Fax: +37052477466"
|
||||
|
||||
DESCRIPTION
|
||||
"This is the root MIB module for VEL with OID of
|
||||
{iso org dod internet private enterprises 27993}.
|
||||
|
||||
IANA allocated this enterprise OID (object identifier) for the
|
||||
exclusive use of Vigintos Elektronika (VEL).
|
||||
Other than internet network equipment
|
||||
distributed or licensed by VEL, no other party has any right
|
||||
what-so-ever to distribute or license internet network equipment
|
||||
which responds to the VEL enterprise OID or its subsidiary
|
||||
branches. VEL reserves the right to criminally prosecute and/or
|
||||
to seek civil damages from anyone fraudently using the VEL
|
||||
enterprise OID to the full extent of the law."
|
||||
|
||||
REVISION "201110050800Z"
|
||||
|
||||
DESCRIPTION
|
||||
""
|
||||
|
||||
::= {enterprises 27993}
|
||||
|
||||
END
|
513
tests/data/vigintos.json
Normal file
513
tests/data/vigintos.json
Normal file
@ -0,0 +1,513 @@
|
||||
{
|
||||
"os": {
|
||||
"discovery": {
|
||||
"devices": [
|
||||
{
|
||||
"sysName": "<private>",
|
||||
"sysObjectID": ".1.3.6.1.4.1.27993.5",
|
||||
"sysDescr": "Host Controller",
|
||||
"sysContact": null,
|
||||
"version": null,
|
||||
"hardware": null,
|
||||
"features": null,
|
||||
"os": "vigintos",
|
||||
"type": "network",
|
||||
"serial": null,
|
||||
"icon": "vigintos.png",
|
||||
"location": null
|
||||
}
|
||||
]
|
||||
},
|
||||
"poller": {
|
||||
"devices": [
|
||||
{
|
||||
"sysName": "<private>",
|
||||
"sysObjectID": ".1.3.6.1.4.1.27993.5",
|
||||
"sysDescr": "Host Controller",
|
||||
"sysContact": "<private>",
|
||||
"version": "Host Controller MD2021-261/15",
|
||||
"hardware": null,
|
||||
"features": null,
|
||||
"os": "vigintos",
|
||||
"type": "network",
|
||||
"serial": null,
|
||||
"icon": "vigintos.png",
|
||||
"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": "en",
|
||||
"ifName": "en",
|
||||
"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": "ethernetCsmacd",
|
||||
"ifAlias": "en",
|
||||
"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": "en",
|
||||
"ifName": "en",
|
||||
"portName": null,
|
||||
"ifIndex": 1,
|
||||
"ifSpeed": 10000000,
|
||||
"ifConnectorPresent": null,
|
||||
"ifPromiscuousMode": null,
|
||||
"ifHighSpeed": null,
|
||||
"ifOperStatus": "up",
|
||||
"ifOperStatus_prev": null,
|
||||
"ifAdminStatus": "up",
|
||||
"ifAdminStatus_prev": null,
|
||||
"ifDuplex": null,
|
||||
"ifMtu": 1500,
|
||||
"ifType": "ethernetCsmacd",
|
||||
"ifAlias": "en",
|
||||
"ifPhysAddress": "00de12066bb1",
|
||||
"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": 2485038,
|
||||
"ifInUcastPkts_prev": 0,
|
||||
"ifInUcastPkts_delta": null,
|
||||
"ifInUcastPkts_rate": null,
|
||||
"ifOutUcastPkts": 2426269,
|
||||
"ifOutUcastPkts_prev": 0,
|
||||
"ifOutUcastPkts_delta": null,
|
||||
"ifOutUcastPkts_rate": null,
|
||||
"ifInErrors": 40,
|
||||
"ifInErrors_prev": 0,
|
||||
"ifInErrors_delta": null,
|
||||
"ifInErrors_rate": null,
|
||||
"ifOutErrors": 2426259,
|
||||
"ifOutErrors_prev": 0,
|
||||
"ifOutErrors_delta": null,
|
||||
"ifOutErrors_rate": null,
|
||||
"ifInOctets": 1694275424,
|
||||
"ifInOctets_prev": 0,
|
||||
"ifInOctets_delta": null,
|
||||
"ifInOctets_rate": null,
|
||||
"ifOutOctets": 247532085,
|
||||
"ifOutOctets_prev": 0,
|
||||
"ifOutOctets_delta": null,
|
||||
"ifOutOctets_rate": null,
|
||||
"poll_prev": null,
|
||||
"ifInNUcastPkts": 1176649,
|
||||
"ifInNUcastPkts_prev": 0,
|
||||
"ifInNUcastPkts_delta": null,
|
||||
"ifInNUcastPkts_rate": null,
|
||||
"ifOutNUcastPkts": 1,
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"sensors": {
|
||||
"discovery": {
|
||||
"sensors": [
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "current",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.27993.5.9.1.3.2.5",
|
||||
"sensor_index": "2.5",
|
||||
"sensor_type": "vigintos",
|
||||
"sensor_descr": "Current 1",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0.6,
|
||||
"sensor_limit": 0.8999999999999999,
|
||||
"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": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "current",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.27993.5.9.1.3.2.6",
|
||||
"sensor_index": "2.6",
|
||||
"sensor_type": "vigintos",
|
||||
"sensor_descr": "Current 2",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 10.5,
|
||||
"sensor_limit": 15.75,
|
||||
"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": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "power",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.27993.5.9.1.3.1.1",
|
||||
"sensor_index": "1.1",
|
||||
"sensor_type": "vigintos",
|
||||
"sensor_descr": "Forward Power",
|
||||
"sensor_divisor": 1000,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0.02,
|
||||
"sensor_limit": 0.03,
|
||||
"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": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "power",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.27993.5.9.1.3.2.1",
|
||||
"sensor_index": "2.1",
|
||||
"sensor_type": "vigintos",
|
||||
"sensor_descr": "Forward Power",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 158,
|
||||
"sensor_limit": 237,
|
||||
"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": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "power",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.27993.5.9.1.3.2.2",
|
||||
"sensor_index": "2.2",
|
||||
"sensor_type": "vigintos",
|
||||
"sensor_descr": "Reflected Power",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"sensor_limit": 0,
|
||||
"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": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "power",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.27993.5.9.1.3.2.3",
|
||||
"sensor_index": "2.3",
|
||||
"sensor_type": "vigintos",
|
||||
"sensor_descr": "Driver Forward Power",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 2,
|
||||
"sensor_limit": 3,
|
||||
"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": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.27993.5.6.1.4.1",
|
||||
"sensor_index": "1",
|
||||
"sensor_type": "host2DevLanState",
|
||||
"sensor_descr": "Lan 1 State",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 1,
|
||||
"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": "host2DevLanState"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.27993.5.6.1.4.2",
|
||||
"sensor_index": "2",
|
||||
"sensor_type": "host2DevLanState",
|
||||
"sensor_descr": "Lan 2 State",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 1,
|
||||
"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": "host2DevLanState"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "temperature",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.27993.5.9.1.3.2.7",
|
||||
"sensor_index": "2.7",
|
||||
"sensor_type": "vigintos",
|
||||
"sensor_descr": "Temperature",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 48,
|
||||
"sensor_limit": 68,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": 38,
|
||||
"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": "voltage",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.27993.5.9.1.3.2.4",
|
||||
"sensor_index": "2.4",
|
||||
"sensor_type": "vigintos",
|
||||
"sensor_descr": "Voltage",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 50,
|
||||
"sensor_limit": 57.49999999999999,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": 42.5,
|
||||
"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
|
||||
}
|
||||
],
|
||||
"state_indexes": [
|
||||
{
|
||||
"state_name": "host2DevLanState",
|
||||
"state_descr": "disconnected",
|
||||
"state_draw_graph": 1,
|
||||
"state_value": 0,
|
||||
"state_generic_value": 2
|
||||
},
|
||||
{
|
||||
"state_name": "host2DevLanState",
|
||||
"state_descr": "connected",
|
||||
"state_draw_graph": 1,
|
||||
"state_value": 1,
|
||||
"state_generic_value": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"poller": "matches discovery"
|
||||
}
|
||||
}
|
169
tests/snmpsim/vigintos.snmprec
Normal file
169
tests/snmpsim/vigintos.snmprec
Normal file
@ -0,0 +1,169 @@
|
||||
1.3.6.1.2.1.1.1.0|4|Host Controller
|
||||
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.27993.5
|
||||
1.3.6.1.2.1.1.3.0|67|543223600
|
||||
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.1.1|2|1
|
||||
1.3.6.1.2.1.2.2.1.2.1|4|en
|
||||
1.3.6.1.2.1.2.2.1.3.1|2|6
|
||||
1.3.6.1.2.1.2.2.1.4.1|2|1500
|
||||
1.3.6.1.2.1.2.2.1.5.1|66|10000000
|
||||
1.3.6.1.2.1.2.2.1.6.1|4x|00DE12066BB1
|
||||
1.3.6.1.2.1.2.2.1.7.1|2|1
|
||||
1.3.6.1.2.1.2.2.1.8.1|2|1
|
||||
1.3.6.1.2.1.2.2.1.9.1|67|0
|
||||
1.3.6.1.2.1.2.2.1.10.1|65|1694275424
|
||||
1.3.6.1.2.1.2.2.1.11.1|65|2485038
|
||||
1.3.6.1.2.1.2.2.1.12.1|65|1176649
|
||||
1.3.6.1.2.1.2.2.1.13.1|65|0
|
||||
1.3.6.1.2.1.2.2.1.14.1|65|40
|
||||
1.3.6.1.2.1.2.2.1.15.1|65|0
|
||||
1.3.6.1.2.1.2.2.1.16.1|65|247532085
|
||||
1.3.6.1.2.1.2.2.1.17.1|65|2426269
|
||||
1.3.6.1.2.1.2.2.1.18.1|65|1
|
||||
1.3.6.1.2.1.2.2.1.19.1|65|0
|
||||
1.3.6.1.2.1.2.2.1.20.1|65|2426259
|
||||
1.3.6.1.2.1.2.2.1.21.1|66|0
|
||||
1.3.6.1.2.1.2.2.1.22.1|6|0.0
|
||||
1.3.6.1.2.1.4.3.0|65|2475840
|
||||
1.3.6.1.2.1.4.4.0|65|0
|
||||
1.3.6.1.2.1.4.5.0|65|7
|
||||
1.3.6.1.2.1.4.6.0|65|0
|
||||
1.3.6.1.2.1.4.7.0|65|0
|
||||
1.3.6.1.2.1.4.8.0|65|7
|
||||
1.3.6.1.2.1.4.9.0|65|2475832
|
||||
1.3.6.1.2.1.4.10.0|65|2421653
|
||||
1.3.6.1.2.1.4.11.0|65|0
|
||||
1.3.6.1.2.1.4.12.0|65|0
|
||||
1.3.6.1.2.1.4.14.0|65|0
|
||||
1.3.6.1.2.1.4.15.0|65|0
|
||||
1.3.6.1.2.1.4.16.0|65|0
|
||||
1.3.6.1.2.1.4.17.0|65|0
|
||||
1.3.6.1.2.1.4.18.0|65|0
|
||||
1.3.6.1.2.1.4.19.0|65|0
|
||||
1.3.6.1.2.1.4.20.1.2.10.0.95.5|2|1
|
||||
1.3.6.1.2.1.4.20.1.3.10.0.95.5|64|255.255.255.0
|
||||
1.3.6.1.2.1.4.22.1.2.1.10.0.95.1|4x|002EC7DFBBD6
|
||||
1.3.6.1.2.1.5.1.0|65|84805
|
||||
1.3.6.1.2.1.5.2.0|65|0
|
||||
1.3.6.1.2.1.5.3.0|65|0
|
||||
1.3.6.1.2.1.5.4.0|65|0
|
||||
1.3.6.1.2.1.5.5.0|65|0
|
||||
1.3.6.1.2.1.5.6.0|65|0
|
||||
1.3.6.1.2.1.5.7.0|65|0
|
||||
1.3.6.1.2.1.5.8.0|65|0
|
||||
1.3.6.1.2.1.5.9.0|65|0
|
||||
1.3.6.1.2.1.5.10.0|65|0
|
||||
1.3.6.1.2.1.5.11.0|65|0
|
||||
1.3.6.1.2.1.5.12.0|65|0
|
||||
1.3.6.1.2.1.5.13.0|65|0
|
||||
1.3.6.1.2.1.5.14.0|65|84805
|
||||
1.3.6.1.2.1.5.15.0|65|0
|
||||
1.3.6.1.2.1.5.16.0|65|0
|
||||
1.3.6.1.2.1.5.17.0|65|0
|
||||
1.3.6.1.2.1.5.18.0|65|0
|
||||
1.3.6.1.2.1.5.19.0|65|0
|
||||
1.3.6.1.2.1.5.20.0|65|0
|
||||
1.3.6.1.2.1.5.21.0|65|0
|
||||
1.3.6.1.2.1.5.22.0|65|84805
|
||||
1.3.6.1.2.1.5.23.0|65|0
|
||||
1.3.6.1.2.1.5.24.0|65|0
|
||||
1.3.6.1.2.1.5.25.0|65|0
|
||||
1.3.6.1.2.1.5.26.0|65|0
|
||||
1.3.6.1.2.1.6.5.0|65|0
|
||||
1.3.6.1.2.1.6.6.0|65|19091
|
||||
1.3.6.1.2.1.6.7.0|65|0
|
||||
1.3.6.1.2.1.6.8.0|65|19072
|
||||
1.3.6.1.2.1.6.9.0|66|0
|
||||
1.3.6.1.2.1.6.10.0|65|126835
|
||||
1.3.6.1.2.1.6.11.0|65|57640
|
||||
1.3.6.1.2.1.6.12.0|65|5
|
||||
1.3.6.1.2.1.6.14.0|65|0
|
||||
1.3.6.1.2.1.6.15.0|65|111
|
||||
1.3.6.1.2.1.7.1.0|65|2264249
|
||||
1.3.6.1.2.1.7.2.0|65|0
|
||||
1.3.6.1.2.1.7.3.0|65|0
|
||||
1.3.6.1.2.1.7.4.0|65|2264249
|
||||
1.3.6.1.2.1.11.1.0|65|2264208
|
||||
1.3.6.1.2.1.11.2.0|65|2264208
|
||||
1.3.6.1.2.1.11.3.0|65|0
|
||||
1.3.6.1.2.1.11.4.0|65|0
|
||||
1.3.6.1.2.1.11.5.0|65|0
|
||||
1.3.6.1.2.1.11.6.0|65|0
|
||||
1.3.6.1.2.1.11.8.0|65|0
|
||||
1.3.6.1.2.1.11.9.0|65|0
|
||||
1.3.6.1.2.1.11.10.0|65|0
|
||||
1.3.6.1.2.1.11.11.0|65|0
|
||||
1.3.6.1.2.1.11.12.0|65|0
|
||||
1.3.6.1.2.1.11.13.0|65|4311346
|
||||
1.3.6.1.2.1.11.14.0|65|0
|
||||
1.3.6.1.2.1.11.15.0|65|722588
|
||||
1.3.6.1.2.1.11.16.0|65|1541634
|
||||
1.3.6.1.2.1.11.17.0|65|0
|
||||
1.3.6.1.2.1.11.18.0|65|0
|
||||
1.3.6.1.2.1.11.19.0|65|0
|
||||
1.3.6.1.2.1.11.20.0|65|0
|
||||
1.3.6.1.2.1.11.21.0|65|611868
|
||||
1.3.6.1.2.1.11.22.0|65|0
|
||||
1.3.6.1.2.1.11.24.0|65|0
|
||||
1.3.6.1.2.1.11.25.0|65|0
|
||||
1.3.6.1.2.1.11.26.0|65|0
|
||||
1.3.6.1.2.1.11.27.0|65|0
|
||||
1.3.6.1.2.1.11.28.0|65|2264232
|
||||
1.3.6.1.2.1.11.29.0|65|0
|
||||
1.3.6.1.2.1.11.30.0|2|2
|
||||
1.3.6.1.4.1.27993.5.1.0|4|amplifier28
|
||||
1.3.6.1.4.1.27993.5.2.0|4|Host Controller MD2021-261/15
|
||||
1.3.6.1.4.1.27993.5.6.1.1.1|2|1
|
||||
1.3.6.1.4.1.27993.5.6.1.1.2|2|2
|
||||
1.3.6.1.4.1.27993.5.6.1.4.1|2|1
|
||||
1.3.6.1.4.1.27993.5.6.1.4.2|2|1
|
||||
1.3.6.1.4.1.27993.5.9.1.1.1.1|2|1
|
||||
1.3.6.1.4.1.27993.5.9.1.1.2.1|2|1
|
||||
1.3.6.1.4.1.27993.5.9.1.1.2.2|2|2
|
||||
1.3.6.1.4.1.27993.5.9.1.1.2.3|2|3
|
||||
1.3.6.1.4.1.27993.5.9.1.1.2.4|2|4
|
||||
1.3.6.1.4.1.27993.5.9.1.1.2.5|2|5
|
||||
1.3.6.1.4.1.27993.5.9.1.1.2.6|2|6
|
||||
1.3.6.1.4.1.27993.5.9.1.1.2.7|2|7
|
||||
1.3.6.1.4.1.27993.5.9.1.2.1.1|4|Forward Power
|
||||
1.3.6.1.4.1.27993.5.9.1.2.2.1|4|Forward Power
|
||||
1.3.6.1.4.1.27993.5.9.1.2.2.2|4|Reflected Power
|
||||
1.3.6.1.4.1.27993.5.9.1.2.2.3|4|Driver Forward Power
|
||||
1.3.6.1.4.1.27993.5.9.1.2.2.4|4|Voltage
|
||||
1.3.6.1.4.1.27993.5.9.1.2.2.5|4|Current 1
|
||||
1.3.6.1.4.1.27993.5.9.1.2.2.6|4|Current 2
|
||||
1.3.6.1.4.1.27993.5.9.1.2.2.7|4|Temperature
|
||||
1.3.6.1.4.1.27993.5.9.1.3.1.1|4|20
|
||||
1.3.6.1.4.1.27993.5.9.1.3.2.1|4|158
|
||||
1.3.6.1.4.1.27993.5.9.1.3.2.2|4|0
|
||||
1.3.6.1.4.1.27993.5.9.1.3.2.3|4|2
|
||||
1.3.6.1.4.1.27993.5.9.1.3.2.4|4|50.0
|
||||
1.3.6.1.4.1.27993.5.9.1.3.2.5|4|0.6
|
||||
1.3.6.1.4.1.27993.5.9.1.3.2.6|4|10.5
|
||||
1.3.6.1.4.1.27993.5.9.1.3.2.7|4|48
|
||||
1.3.6.1.4.1.27993.5.9.1.4.1.1|4|mW
|
||||
1.3.6.1.4.1.27993.5.9.1.4.2.1|4|W
|
||||
1.3.6.1.4.1.27993.5.9.1.4.2.2|4|W
|
||||
1.3.6.1.4.1.27993.5.9.1.4.2.3|4|W
|
||||
1.3.6.1.4.1.27993.5.9.1.4.2.4|4|V
|
||||
1.3.6.1.4.1.27993.5.9.1.4.2.5|4|A
|
||||
1.3.6.1.4.1.27993.5.9.1.4.2.6|4|A
|
||||
1.3.6.1.4.1.27993.5.9.1.4.2.7|4x|C2B043
|
||||
1.3.6.1.4.1.27993.5.9.1.5.1.1|2|0
|
||||
1.3.6.1.4.1.27993.5.9.1.5.2.1|2|0
|
||||
1.3.6.1.4.1.27993.5.9.1.5.2.2|2|0
|
||||
1.3.6.1.4.1.27993.5.9.1.5.2.3|2|0
|
||||
1.3.6.1.4.1.27993.5.9.1.5.2.4|2|0
|
||||
1.3.6.1.4.1.27993.5.9.1.5.2.5|2|0
|
||||
1.3.6.1.4.1.27993.5.9.1.5.2.6|2|0
|
||||
1.3.6.1.4.1.27993.5.9.1.5.2.7|2|0
|
||||
1.3.6.1.4.1.27993.5.9.1.6.1.1|2|0
|
||||
1.3.6.1.4.1.27993.5.9.1.6.2.1|2|0
|
||||
1.3.6.1.4.1.27993.5.9.1.6.2.2|2|0
|
||||
1.3.6.1.4.1.27993.5.9.1.6.2.3|2|0
|
||||
1.3.6.1.4.1.27993.5.9.1.6.2.4|2|0
|
||||
1.3.6.1.4.1.27993.5.9.1.6.2.5|2|0
|
||||
1.3.6.1.4.1.27993.5.9.1.6.2.6|2|0
|
||||
1.3.6.1.4.1.27993.5.9.1.6.2.7|2|0
|
Loading…
Reference in New Issue
Block a user