mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 10:28:13 +00:00
Add support for RoomAlert 32S device (#15676)
* Initial attempt to add AVTECH RoomAlert 32S support * Add RA32S test units
This commit is contained in:
parent
abf8c564b7
commit
c1c20ef1e3
@ -8,3 +8,4 @@ discovery:
|
||||
-
|
||||
sysObjectID:
|
||||
- .1.3.6.1.4.1.20916.1.
|
||||
- .1.3.6.1.4.1.20916 # RoomAlert 32S
|
||||
|
@ -97,6 +97,22 @@ modules:
|
||||
num_oid: '.1.3.6.1.4.1.20916.1.8.1.4.{{ $index }}'
|
||||
value: value
|
||||
descr: WiSH {{ $id }} Internal
|
||||
|
||||
- # RoomAlert 32S internal temp
|
||||
oid: .1.3.6.1.4.1.20916.1.11.1.1.1.2.0
|
||||
num_oid: '.1.3.6.1.4.1.20916.1.11.1.1.1.2.{{ $index }}'
|
||||
index: 0
|
||||
descr: Internal Temperature
|
||||
- # RoomAlert 32S internal heat
|
||||
oid: .1.3.6.1.4.1.20916.1.11.1.1.4.2.0
|
||||
num_oid: '.1.3.6.1.4.1.20916.1.11.1.1.4.2.{{ $index }}'
|
||||
index: 1
|
||||
descr: Internal Heat Index
|
||||
- # RoomAlert 32S ext temp
|
||||
oid: ra32s-ext-temp
|
||||
num_oid: '.1.3.6.1.4.1.20916.1.11.1.2.{{ $index }}'
|
||||
value: value
|
||||
descr: Sensor {{ $id }}
|
||||
|
||||
- # TemPageR 3E internal
|
||||
oid: .1.3.6.1.4.1.20916.1.7.1.1.1.1.0
|
||||
@ -151,6 +167,11 @@ modules:
|
||||
num_oid: '.1.3.6.1.4.1.20916.1.8.1.1.2.1.{{ $index }}'
|
||||
index: 0
|
||||
descr: Internal Humidity
|
||||
- # RoomAlert 32S
|
||||
oid: .1.3.6.1.4.1.20916.1.11.1.1.2.1.0
|
||||
num_oid: '.1.3.6.1.4.1.20916.1.11.1.1.2.1.{{ $index }}'
|
||||
index: 0
|
||||
descr: Internal Humidity
|
||||
- # RoomAlert 12E sen1
|
||||
oid: .1.3.6.1.4.1.20916.1.10.1.2.3.0
|
||||
num_oid: '.1.3.6.1.4.1.20916.1.10.1.2.3.{{ $index }}'
|
||||
@ -175,6 +196,13 @@ modules:
|
||||
low_limit: 0
|
||||
high_limit: 5
|
||||
descr: Analog {{ $id }}
|
||||
- # RoomAlert 32S analog
|
||||
oid: ra32s-analog
|
||||
num_oid: '.1.3.6.1.4.1.20916.1.11.1.1.5.{{ $index }}'
|
||||
value: value
|
||||
low_limit: 0
|
||||
high_limit: 5
|
||||
descr: Analog {{ $id }}
|
||||
state:
|
||||
data:
|
||||
- # RoomAlert 3E switch
|
||||
@ -264,3 +292,31 @@ modules:
|
||||
- { value: 0, generic: -1, graph: 1, descr: Off }
|
||||
- { value: 1, generic: 0, graph: 1, descr: On }
|
||||
|
||||
- # RoomAlert 32S power
|
||||
oid: .1.3.6.1.4.1.20916.1.11.1.1.3.1.0
|
||||
num_oid: '.1.3.6.1.4.1.20916.1.11.1.1.3.1.{{ $index }}'
|
||||
index: 0
|
||||
descr: Power Source
|
||||
state_name: power
|
||||
states:
|
||||
- { value: 0, generic: 1, graph: 1, descr: Battery }
|
||||
- { value: 1, generic: 0, graph: 1, descr: AC }
|
||||
- # RoomAlert 32S relays
|
||||
oid: ra32s-relay
|
||||
value: value
|
||||
num_oid: '.1.3.6.1.4.1.20916.1.11.1.1.6.{{ $index }}'
|
||||
descr: Relay {{ $id }}
|
||||
state_name: relay
|
||||
states:
|
||||
- { value: 0, generic: 0, graph: 1, descr: Open }
|
||||
- { value: 1, generic: 0, graph: 1, descr: Closed }
|
||||
- # RoomAlert 32S switches
|
||||
oid: ra32s-switch
|
||||
value: value
|
||||
num_oid: '.1.3.6.1.4.1.20916.1.11.1.3.{{ $index }}'
|
||||
descr: Switch {{ $id }}
|
||||
state_name: switch
|
||||
states:
|
||||
- { value: 0, generic: -1, graph: 1, descr: Off }
|
||||
- { value: 1, generic: 0, graph: 1, descr: On }
|
||||
|
||||
|
@ -30,6 +30,10 @@ $virtual_tables = [
|
||||
'ra32-ext-temp' => '/\.1\.3\.6\.1\.4\.1\.20916\.1\.8\.1\.2\.((\d+)\.1\.0)/',
|
||||
'ra32-switch' => '/\.1\.3\.6\.1\.4\.1\.20916\.1\.8\.1\.3\.((\d+)\.0)/',
|
||||
'ra32-wish-temp' => '/\.1\.3\.6\.1\.4\.1\.20916\.1\.8\.1\.4\.((\d+)\.4\.1\.2\.0)/',
|
||||
'ra32s-analog' => '/\.1\.3\.6\.1\.4\.1\.20916\.1\.11\.1\.1\.5\.((\d+)\.0)/',
|
||||
'ra32s-relay' => '/\.1\.3\.6\.1\.4\.1\.20916\.1\.11\.1\.1\.6\.((\d+)\.0)/',
|
||||
'ra32s-ext-temp' => '/\.1\.3\.6\.1\.4\.1\.20916\.1\.11\.1\.2\.((\d+)\.1\.0)/',
|
||||
'ra32s-switch' => '/\.1\.3\.6\.1\.4\.1\.20916\.1\.11\.1\.3\.((\d+)\.0)/',
|
||||
];
|
||||
|
||||
$data = trim(snmp_walk($device, '.1.3.6.1.4.1.20916.1', '-OQn'));
|
||||
|
774
mibs/avtech/ROOMALERT32S-MIB
Normal file
774
mibs/avtech/ROOMALERT32S-MIB
Normal file
@ -0,0 +1,774 @@
|
||||
--
|
||||
--defines ROOMALERT32S-MIB for SNMP agent extension of Room Alert 32S
|
||||
--Contents: Global Registration Module
|
||||
-- Room Alert OIDs - Enterprise 20916
|
||||
--Version: 1.1.0
|
||||
--Developed By: AVTECH Software, Inc.
|
||||
|
||||
--
|
||||
--Copyright (c) 2019 AVTECH Software, Inc.
|
||||
--
|
||||
|
||||
ROOMALERT32S-MIB DEFINITIONS ::= BEGIN
|
||||
|
||||
|
||||
IMPORTS
|
||||
enterprises
|
||||
FROM RFC1155-SMI
|
||||
OBJECT-TYPE
|
||||
FROM RFC-1212;
|
||||
|
||||
|
||||
avtech OBJECT IDENTIFIER ::= { enterprises 20916 }
|
||||
products OBJECT IDENTIFIER ::= { avtech 1 }
|
||||
roomalert32S OBJECT IDENTIFIER ::= { products 11 }
|
||||
sensors OBJECT IDENTIFIER ::= { roomalert32S 1 }
|
||||
internal OBJECT IDENTIFIER ::= { sensors 1 }
|
||||
temperature OBJECT IDENTIFIER ::= { internal 1 }
|
||||
humidity OBJECT IDENTIFIER ::= { internal 2 }
|
||||
power OBJECT IDENTIFIER ::= { internal 3 }
|
||||
heat-index OBJECT IDENTIFIER ::= { internal 4 }
|
||||
analog OBJECT IDENTIFIER ::= { internal 5 }
|
||||
relay OBJECT IDENTIFIER ::= { internal 6 }
|
||||
dew-point OBJECT IDENTIFIER ::= { internal 7 }
|
||||
digital OBJECT IDENTIFIER ::= { sensors 2 }
|
||||
digital-sen1 OBJECT IDENTIFIER ::= { digital 1 }
|
||||
digital-sen2 OBJECT IDENTIFIER ::= { digital 2 }
|
||||
digital-sen3 OBJECT IDENTIFIER ::= { digital 3 }
|
||||
digital-sen4 OBJECT IDENTIFIER ::= { digital 4 }
|
||||
digital-sen5 OBJECT IDENTIFIER ::= { digital 5 }
|
||||
digital-sen6 OBJECT IDENTIFIER ::= { digital 6 }
|
||||
digital-sen7 OBJECT IDENTIFIER ::= { digital 7 }
|
||||
digital-sen8 OBJECT IDENTIFIER ::= { digital 8 }
|
||||
switch OBJECT IDENTIFIER ::= { sensors 3 }
|
||||
traps OBJECT IDENTIFIER ::= { roomalert32S 2 }
|
||||
externalrelays OBJECT IDENTIFIER ::= { roomalert32S 3 }
|
||||
externalrelay1 OBJECT IDENTIFIER ::= { externalrelays 1 }
|
||||
externalrelay2 OBJECT IDENTIFIER ::= { externalrelays 2 }
|
||||
|
||||
-- Room Alert 32S MIB
|
||||
-- Parameters
|
||||
|
||||
|
||||
internal-tempf OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The internal temperature reading in Fahrenheit."
|
||||
::= { temperature 1 }
|
||||
|
||||
internal-tempc OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The internal temperature reading in Celsius."
|
||||
::= { temperature 2 }
|
||||
|
||||
internal-humidity OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The internal relative humidity reading in %RH."
|
||||
::= { humidity 1 }
|
||||
|
||||
internal-heat-index OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS optional
|
||||
DESCRIPTION "The internal heat index reading in Fahrenheit."
|
||||
::= { heat-index 1 }
|
||||
|
||||
internal-heat-indexC OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS optional
|
||||
DESCRIPTION "The internal heat index reading in Celsius."
|
||||
::= { heat-index 2 }
|
||||
|
||||
internal-power OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..1)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The current status of the Room Alert 32S power supply. A '1' indicates the unit is running on AC/Utility power. A '0' indicates the unit is running on battery backup power."
|
||||
::= { power 1 }
|
||||
|
||||
internal-analog1 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The current status of the Room Alert 32S analog input (0-5VDC)."
|
||||
::= { analog 1 }
|
||||
|
||||
internal-analog2 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The current status of the Room Alert 32S analog input (0-5VDC)."
|
||||
::= { analog 2 }
|
||||
|
||||
internal-relay1 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..1)
|
||||
ACCESS read-write
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The status of the on-board relay output"
|
||||
::= { relay 1 }
|
||||
|
||||
internal-relay2 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..1)
|
||||
ACCESS read-write
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The status of the on-board relay output"
|
||||
::= { relay 2 }
|
||||
|
||||
internal-dew-point-c OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS optional
|
||||
DESCRIPTION "The internal dew-point reading in Celsius."
|
||||
::= { dew-point 1 }
|
||||
|
||||
internal-dew-point-f OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS optional
|
||||
DESCRIPTION "The internal dew-point reading in Fahrenheit."
|
||||
::= { dew-point 2 }
|
||||
|
||||
digital-sen1-1 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The sensor's current temperature in Celsius."
|
||||
::= { digital-sen1 1 }
|
||||
|
||||
digital-sen1-2 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The sensor's current temperature in Fahrenheit."
|
||||
::= { digital-sen1 2 }
|
||||
|
||||
digital-sen1-3 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current % relative humidity, voltage reading (V), power state (1=Power Detected, 0=No Power Detected), thermocouple temperature (C), or air speed (m/s)."
|
||||
::= { digital-sen1 3 }
|
||||
|
||||
digital-sen1-4 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current heat index (F), custom analog reading, thermocouple temperature (F), or air speed (f/m)."
|
||||
::= { digital-sen1 4 }
|
||||
|
||||
digital-sen1-5 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current heat index (C), thermocouple fault code (0=No Fault), or air flow (CMH)."
|
||||
::= { digital-sen1 5 }
|
||||
|
||||
|
||||
digital-sen1-6 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current dew point (C) or air flow (CFM)."
|
||||
::= { digital-sen1 6 }
|
||||
|
||||
digital-sen1-7 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current dew point (F)."
|
||||
::= { digital-sen1 7 }
|
||||
|
||||
digital-sen2-1 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The sensor's current temperature in Celsius."
|
||||
::= { digital-sen2 1 }
|
||||
|
||||
digital-sen2-2 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The sensor's current temperature in Fahrenheit."
|
||||
::= { digital-sen2 2 }
|
||||
|
||||
digital-sen2-3 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current % relative humidity, voltage reading (V), power state (1=Power Detected, 0=No Power Detected), thermocouple temperature (C), or air speed (m/s)."
|
||||
::= { digital-sen2 3 }
|
||||
|
||||
digital-sen2-4 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current heat index (F), custom analog reading, thermocouple temperature (F), or air speed (f/m)."
|
||||
::= { digital-sen2 4 }
|
||||
|
||||
digital-sen2-5 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current heat index (C), thermocouple fault code (0=No Fault), or air flow (CMH)."
|
||||
::= { digital-sen2 5 }
|
||||
|
||||
|
||||
digital-sen2-6 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current dew point (C) or air flow (CFM)."
|
||||
::= { digital-sen2 6 }
|
||||
|
||||
digital-sen2-7 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current dew point (F)."
|
||||
::= { digital-sen2 7 }
|
||||
|
||||
digital-sen3-1 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The sensor's current temperature in Celsius."
|
||||
::= { digital-sen3 1 }
|
||||
|
||||
digital-sen3-2 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The sensor's current temperature in Fahrenheit."
|
||||
::= { digital-sen3 2 }
|
||||
|
||||
digital-sen3-3 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current % relative humidity, voltage reading (V), power state (1=Power Detected, 0=No Power Detected), thermocouple temperature (C), or air speed (m/s)."
|
||||
::= { digital-sen3 3 }
|
||||
|
||||
digital-sen3-4 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current heat index (F), custom analog reading, thermocouple temperature (F), or air speed (f/m)."
|
||||
::= { digital-sen3 4 }
|
||||
|
||||
digital-sen3-5 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current heat index (C), thermocouple fault code (0=No Fault), or air flow (CMH)."
|
||||
::= { digital-sen3 5 }
|
||||
|
||||
|
||||
digital-sen3-6 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current dew point (C) or air flow (CFM)."
|
||||
::= { digital-sen3 6 }
|
||||
|
||||
digital-sen3-7 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current dew point (F)."
|
||||
::= { digital-sen3 7 }
|
||||
|
||||
digital-sen4-1 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The sensor's current temperature in Celsius."
|
||||
::= { digital-sen4 1 }
|
||||
|
||||
digital-sen4-2 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The sensor's current temperature in Fahrenheit."
|
||||
::= { digital-sen4 2 }
|
||||
|
||||
digital-sen4-3 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current % relative humidity, voltage reading (V), power state (1=Power Detected, 0=No Power Detected), thermocouple temperature (C), or air speed (m/s)."
|
||||
::= { digital-sen4 3 }
|
||||
|
||||
digital-sen4-4 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current heat index (F), custom analog reading, thermocouple temperature (F), or air speed (f/m)."
|
||||
::= { digital-sen4 4 }
|
||||
|
||||
digital-sen4-5 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current heat index (C), thermocouple fault code (0=No Fault), or air flow (CMH)."
|
||||
::= { digital-sen4 5 }
|
||||
|
||||
|
||||
digital-sen4-6 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current dew point (C) or air flow (CFM)."
|
||||
::= { digital-sen4 6 }
|
||||
|
||||
digital-sen4-7 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current dew point (F)."
|
||||
::= { digital-sen4 7 }
|
||||
|
||||
digital-sen5-1 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The sensor's current temperature in Celsius."
|
||||
::= { digital-sen5 1 }
|
||||
|
||||
digital-sen5-2 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The sensor's current temperature in Fahrenheit."
|
||||
::= { digital-sen5 2 }
|
||||
|
||||
digital-sen5-3 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current % relative humidity, voltage reading (V), power state (1=Power Detected, 0=No Power Detected), thermocouple temperature (C), or air speed (m/s)."
|
||||
::= { digital-sen5 3 }
|
||||
|
||||
digital-sen5-4 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current heat index (F), custom analog reading, thermocouple temperature (F), or air speed (f/m)."
|
||||
::= { digital-sen5 4 }
|
||||
|
||||
digital-sen5-5 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current heat index (C), thermocouple fault code (0=No Fault), or air flow (CMH)."
|
||||
::= { digital-sen5 5 }
|
||||
|
||||
|
||||
digital-sen5-6 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current dew point (C) or air flow (CFM)."
|
||||
::= { digital-sen5 6 }
|
||||
|
||||
digital-sen5-7 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current dew point (F)."
|
||||
::= { digital-sen5 7 }
|
||||
|
||||
digital-sen6-1 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The sensor's current temperature in Celsius."
|
||||
::= { digital-sen6 1 }
|
||||
|
||||
digital-sen6-2 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The sensor's current temperature in Fahrenheit."
|
||||
::= { digital-sen6 2 }
|
||||
|
||||
digital-sen6-3 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current % relative humidity, voltage reading (V), power state (1=Power Detected, 0=No Power Detected), thermocouple temperature (C), or air speed (m/s)."
|
||||
::= { digital-sen6 3 }
|
||||
|
||||
digital-sen6-4 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current heat index (F), custom analog reading, thermocouple temperature (F), or air speed (f/m)."
|
||||
::= { digital-sen6 4 }
|
||||
|
||||
digital-sen6-5 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current heat index (C), thermocouple fault code (0=No Fault), or air flow (CMH)."
|
||||
::= { digital-sen6 5 }
|
||||
|
||||
|
||||
digital-sen6-6 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current dew point (C) or air flow (CFM)."
|
||||
::= { digital-sen6 6 }
|
||||
|
||||
digital-sen6-7 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current dew point (F)."
|
||||
::= { digital-sen6 7 }
|
||||
|
||||
digital-sen7-1 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The sensor's current temperature in Celsius."
|
||||
::= { digital-sen7 1 }
|
||||
|
||||
digital-sen7-2 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The sensor's current temperature in Fahrenheit."
|
||||
::= { digital-sen7 2 }
|
||||
|
||||
digital-sen7-3 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current % relative humidity, voltage reading (V), power state (1=Power Detected, 0=No Power Detected), thermocouple temperature (C), or air speed (m/s)."
|
||||
::= { digital-sen7 3 }
|
||||
|
||||
digital-sen7-4 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current heat index (F), custom analog reading, thermocouple temperature (F), or air speed (f/m)."
|
||||
::= { digital-sen7 4 }
|
||||
|
||||
digital-sen7-5 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current heat index (C), thermocouple fault code (0=No Fault), or air flow (CMH)."
|
||||
::= { digital-sen7 5 }
|
||||
|
||||
|
||||
digital-sen7-6 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current dew point (C) or air flow (CFM)."
|
||||
::= { digital-sen7 6 }
|
||||
|
||||
digital-sen7-7 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current dew point (F)."
|
||||
::= { digital-sen7 7 }
|
||||
|
||||
digital-sen8-1 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The sensor's current temperature in Celsius."
|
||||
::= { digital-sen8 1 }
|
||||
|
||||
digital-sen8-2 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The sensor's current temperature in Fahrenheit."
|
||||
::= { digital-sen8 2 }
|
||||
|
||||
digital-sen8-3 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current % relative humidity, voltage reading (V), power state (1=Power Detected, 0=No Power Detected), thermocouple temperature (C), or air speed (m/s)."
|
||||
::= { digital-sen8 3 }
|
||||
|
||||
digital-sen8-4 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current heat index (F), custom analog reading, thermocouple temperature (F), or air speed (f/m)."
|
||||
::= { digital-sen8 4 }
|
||||
|
||||
digital-sen8-5 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current heat index (C), thermocouple fault code (0=No Fault), or air flow (CMH)."
|
||||
::= { digital-sen8 5 }
|
||||
|
||||
|
||||
digital-sen8-6 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current dew point (C) or air flow (CFM)."
|
||||
::= { digital-sen8 6 }
|
||||
|
||||
digital-sen8-7 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..65535)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Varies by sensor type: current dew point (F)."
|
||||
::= { digital-sen8 7 }
|
||||
|
||||
switch-sen1 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..1)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The reading for switch sensor 1 (0 = OPEN, 1 = CLOSED)."
|
||||
::= { switch 1 }
|
||||
|
||||
switch-sen2 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..1)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The reading for switch sensor 2 (0 = OPEN, 1 = CLOSED)."
|
||||
::= { switch 2 }
|
||||
|
||||
switch-sen3 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..1)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The reading for switch sensor 3 (0 = OPEN, 1 = CLOSED)."
|
||||
::= { switch 3 }
|
||||
|
||||
switch-sen4 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..1)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The reading for switch sensor 4 (0 = OPEN, 1 = CLOSED)."
|
||||
::= { switch 4 }
|
||||
|
||||
switch-sen5 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..1)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The reading for switch sensor 5 (0 = OPEN, 1 = CLOSED)."
|
||||
::= { switch 5 }
|
||||
|
||||
switch-sen6 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..1)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The reading for switch sensor 6 (0 = OPEN, 1 = CLOSED)."
|
||||
::= { switch 6 }
|
||||
|
||||
switch-sen7 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..1)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The reading for switch sensor 7 (0 = OPEN, 1 = CLOSED)."
|
||||
::= { switch 7 }
|
||||
|
||||
switch-sen8 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..1)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The reading for switch sensor 8 (0 = OPEN, 1 = CLOSED)."
|
||||
::= { switch 8 }
|
||||
|
||||
switch-sen9 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..1)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The reading for switch sensor 9 (0 = OPEN, 1 = CLOSED)."
|
||||
::= { switch 9 }
|
||||
|
||||
switch-sen10 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..1)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The reading for switch sensor 10 (0 = OPEN, 1 = CLOSED)."
|
||||
::= { switch 10 }
|
||||
|
||||
switch-sen11 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..1)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The reading for switch sensor 11 (0 = OPEN, 1 = CLOSED)."
|
||||
::= { switch 11 }
|
||||
|
||||
switch-sen12 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..1)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The reading for switch sensor 12 (0 = OPEN, 1 = CLOSED)."
|
||||
::= { switch 12 }
|
||||
|
||||
switch-sen13 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..1)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The reading for switch sensor 13 (0 = OPEN, 1 = CLOSED)."
|
||||
::= { switch 13 }
|
||||
|
||||
switch-sen14 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..1)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The reading for switch sensor 14 (0 = OPEN, 1 = CLOSED)."
|
||||
::= { switch 14 }
|
||||
|
||||
switch-sen15 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..1)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The reading for switch sensor 15 (0 = OPEN, 1 = CLOSED)."
|
||||
::= { switch 15 }
|
||||
|
||||
switch-sen16 OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..1)
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The reading for switch sensor 16 (0 = OPEN, 1 = CLOSED)."
|
||||
::= { switch 16 }
|
||||
|
||||
alarmmessage OBJECT-TYPE
|
||||
SYNTAX OCTET STRING
|
||||
ACCESS read-only
|
||||
STATUS mandatory
|
||||
DESCRIPTION "Last Alarm Message"
|
||||
::= { traps 1 }
|
||||
|
||||
|
||||
-- externalrelay1
|
||||
|
||||
externalrelay1-element-one OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..1)
|
||||
ACCESS read-write
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The status of the first element on external relay 1."
|
||||
::= { externalrelay1 1 }
|
||||
|
||||
externalrelay1-element-two OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..1)
|
||||
ACCESS read-write
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The status of the second element on external relay 1."
|
||||
::= { externalrelay1 2 }
|
||||
|
||||
externalrelay1-element-three OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..1)
|
||||
ACCESS read-write
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The status of the third element on external relay 1."
|
||||
::= { externalrelay1 3 }
|
||||
|
||||
externalrelay1-element-four OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..1)
|
||||
ACCESS read-write
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The status of the fourth element on external relay 1."
|
||||
::= { externalrelay1 4 }
|
||||
|
||||
externalrelay1-element-five OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..1)
|
||||
ACCESS read-write
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The status of the fifth element on external relay 1."
|
||||
::= { externalrelay1 5 }
|
||||
|
||||
externalrelay1-element-six OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..1)
|
||||
ACCESS read-write
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The status of the sixth element on external relay 1."
|
||||
::= { externalrelay1 6 }
|
||||
|
||||
externalrelay1-element-seven OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..1)
|
||||
ACCESS read-write
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The status of the seventh element on external relay 1."
|
||||
::= { externalrelay1 7 }
|
||||
|
||||
externalrelay1-element-eight OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..1)
|
||||
ACCESS read-write
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The status of the eighth element on external relay 1"
|
||||
::= { externalrelay1 8 }
|
||||
|
||||
|
||||
-- externalrelay2
|
||||
|
||||
externalrelay2-element-one OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..1)
|
||||
ACCESS read-write
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The status of the first element on external relay 2."
|
||||
::= { externalrelay2 1 }
|
||||
|
||||
externalrelay2-element-two OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..1)
|
||||
ACCESS read-write
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The status of the second element on external relay 2."
|
||||
::= { externalrelay2 2 }
|
||||
|
||||
externalrelay2-element-three OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..1)
|
||||
ACCESS read-write
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The status of the third element on external relay 2."
|
||||
::= { externalrelay2 3 }
|
||||
|
||||
externalrelay2-element-four OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..1)
|
||||
ACCESS read-write
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The status of the fourth element on external relay 2."
|
||||
::= { externalrelay2 4 }
|
||||
|
||||
externalrelay2-element-five OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..1)
|
||||
ACCESS read-write
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The status of the fifth element on external relay 2."
|
||||
::= { externalrelay2 5 }
|
||||
|
||||
externalrelay2-element-six OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..1)
|
||||
ACCESS read-write
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The status of the sixth element on external relay 2."
|
||||
::= { externalrelay2 6 }
|
||||
|
||||
externalrelay2-element-seven OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..1)
|
||||
ACCESS read-write
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The status of the seventh element on external relay 2."
|
||||
::= { externalrelay2 7 }
|
||||
|
||||
externalrelay2-element-eight OBJECT-TYPE
|
||||
SYNTAX INTEGER(0..1)
|
||||
ACCESS read-write
|
||||
STATUS mandatory
|
||||
DESCRIPTION "The status of the eighth element on external relay 2"
|
||||
::= { externalrelay2 8 }
|
||||
|
||||
END
|
635
tests/data/avtech_roomalert32s.json
Normal file
635
tests/data/avtech_roomalert32s.json
Normal file
@ -0,0 +1,635 @@
|
||||
{
|
||||
"os": {
|
||||
"discovery": {
|
||||
"devices": [
|
||||
{
|
||||
"sysName": null,
|
||||
"sysObjectID": ".1.3.6.1.4.1.20916",
|
||||
"sysDescr": "AVTECH RoomAlert 32S",
|
||||
"sysContact": "<private>",
|
||||
"version": null,
|
||||
"hardware": null,
|
||||
"features": null,
|
||||
"location": "<private>",
|
||||
"os": "avtech",
|
||||
"type": "environment",
|
||||
"serial": null,
|
||||
"icon": "avtech.svg"
|
||||
}
|
||||
]
|
||||
},
|
||||
"poller": "matches discovery"
|
||||
},
|
||||
"sensors": {
|
||||
"discovery": {
|
||||
"sensors": [
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "humidity",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.20916.1.11.1.1.2.1.0",
|
||||
"sensor_index": "0",
|
||||
"sensor_type": "avtech",
|
||||
"sensor_descr": "Internal Humidity",
|
||||
"group": null,
|
||||
"sensor_divisor": 100,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 28.7,
|
||||
"sensor_limit": 70,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": 30,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.20916.1.11.1.1.6.1.0",
|
||||
"sensor_index": "1.0",
|
||||
"sensor_type": "relay",
|
||||
"sensor_descr": "Relay 1",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"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,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": "relay"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.20916.1.11.1.1.6.2.0",
|
||||
"sensor_index": "2.0",
|
||||
"sensor_type": "relay",
|
||||
"sensor_descr": "Relay 2",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"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,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": "relay"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.20916.1.11.1.3.1.0",
|
||||
"sensor_index": "1.0",
|
||||
"sensor_type": "switch",
|
||||
"sensor_descr": "Switch 1",
|
||||
"group": null,
|
||||
"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,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": "switch"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.20916.1.11.1.3.10.0",
|
||||
"sensor_index": "10.0",
|
||||
"sensor_type": "switch",
|
||||
"sensor_descr": "Switch 10",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"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,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": "switch"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.20916.1.11.1.3.11.0",
|
||||
"sensor_index": "11.0",
|
||||
"sensor_type": "switch",
|
||||
"sensor_descr": "Switch 11",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"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,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": "switch"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.20916.1.11.1.3.12.0",
|
||||
"sensor_index": "12.0",
|
||||
"sensor_type": "switch",
|
||||
"sensor_descr": "Switch 12",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"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,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": "switch"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.20916.1.11.1.3.13.0",
|
||||
"sensor_index": "13.0",
|
||||
"sensor_type": "switch",
|
||||
"sensor_descr": "Switch 13",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"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,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": "switch"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.20916.1.11.1.3.14.0",
|
||||
"sensor_index": "14.0",
|
||||
"sensor_type": "switch",
|
||||
"sensor_descr": "Switch 14",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"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,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": "switch"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.20916.1.11.1.3.15.0",
|
||||
"sensor_index": "15.0",
|
||||
"sensor_type": "switch",
|
||||
"sensor_descr": "Switch 15",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"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,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": "switch"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.20916.1.11.1.3.16.0",
|
||||
"sensor_index": "16.0",
|
||||
"sensor_type": "switch",
|
||||
"sensor_descr": "Switch 16",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"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,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": "switch"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.20916.1.11.1.3.2.0",
|
||||
"sensor_index": "2.0",
|
||||
"sensor_type": "switch",
|
||||
"sensor_descr": "Switch 2",
|
||||
"group": null,
|
||||
"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,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": "switch"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.20916.1.11.1.3.3.0",
|
||||
"sensor_index": "3.0",
|
||||
"sensor_type": "switch",
|
||||
"sensor_descr": "Switch 3",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"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,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": "switch"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.20916.1.11.1.3.4.0",
|
||||
"sensor_index": "4.0",
|
||||
"sensor_type": "switch",
|
||||
"sensor_descr": "Switch 4",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"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,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": "switch"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.20916.1.11.1.3.5.0",
|
||||
"sensor_index": "5.0",
|
||||
"sensor_type": "switch",
|
||||
"sensor_descr": "Switch 5",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"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,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": "switch"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.20916.1.11.1.3.6.0",
|
||||
"sensor_index": "6.0",
|
||||
"sensor_type": "switch",
|
||||
"sensor_descr": "Switch 6",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"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,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": "switch"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.20916.1.11.1.3.7.0",
|
||||
"sensor_index": "7.0",
|
||||
"sensor_type": "switch",
|
||||
"sensor_descr": "Switch 7",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"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,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": "switch"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.20916.1.11.1.3.8.0",
|
||||
"sensor_index": "8.0",
|
||||
"sensor_type": "switch",
|
||||
"sensor_descr": "Switch 8",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"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,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": "switch"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.20916.1.11.1.3.9.0",
|
||||
"sensor_index": "9.0",
|
||||
"sensor_type": "switch",
|
||||
"sensor_descr": "Switch 9",
|
||||
"group": null,
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 0,
|
||||
"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,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": "switch"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "temperature",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.20916.1.11.1.1.1.2.0",
|
||||
"sensor_index": "0",
|
||||
"sensor_type": "avtech",
|
||||
"sensor_descr": "Internal Temperature",
|
||||
"group": null,
|
||||
"sensor_divisor": 100,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 20.8,
|
||||
"sensor_limit": 40.8,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": 10.8,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "temperature",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.20916.1.11.1.1.4.2.0",
|
||||
"sensor_index": "1",
|
||||
"sensor_type": "avtech",
|
||||
"sensor_descr": "Internal Heat Index",
|
||||
"group": null,
|
||||
"sensor_divisor": 100,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 20.8,
|
||||
"sensor_limit": 40.8,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": 10.8,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "temperature",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.20916.1.11.1.2.1.1.0",
|
||||
"sensor_index": "1.1.0",
|
||||
"sensor_type": "avtech",
|
||||
"sensor_descr": "Sensor 1",
|
||||
"group": null,
|
||||
"sensor_divisor": 100,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 22.5,
|
||||
"sensor_limit": 42.5,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": 12.5,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": null
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "temperature",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.20916.1.11.1.2.2.1.0",
|
||||
"sensor_index": "2.1.0",
|
||||
"sensor_type": "avtech",
|
||||
"sensor_descr": "Sensor 2",
|
||||
"group": null,
|
||||
"sensor_divisor": 100,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 22.56,
|
||||
"sensor_limit": 42.56,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": 12.56,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": null
|
||||
}
|
||||
],
|
||||
"state_indexes": [
|
||||
{
|
||||
"state_name": "relay",
|
||||
"state_descr": "Open",
|
||||
"state_draw_graph": 1,
|
||||
"state_value": 0,
|
||||
"state_generic_value": 0
|
||||
},
|
||||
{
|
||||
"state_name": "relay",
|
||||
"state_descr": "Closed",
|
||||
"state_draw_graph": 1,
|
||||
"state_value": 1,
|
||||
"state_generic_value": 0
|
||||
},
|
||||
{
|
||||
"state_name": "switch",
|
||||
"state_descr": "Off",
|
||||
"state_draw_graph": 1,
|
||||
"state_value": 0,
|
||||
"state_generic_value": -1
|
||||
},
|
||||
{
|
||||
"state_name": "switch",
|
||||
"state_descr": "On",
|
||||
"state_draw_graph": 1,
|
||||
"state_value": 1,
|
||||
"state_generic_value": 0
|
||||
}
|
||||
]
|
||||
},
|
||||
"poller": "matches discovery"
|
||||
}
|
||||
}
|
27
tests/snmpsim/avtech_roomalert32s.snmprec
Normal file
27
tests/snmpsim/avtech_roomalert32s.snmprec
Normal file
@ -0,0 +1,27 @@
|
||||
1.3.6.1.2.1.1.1.0|4|AVTECH RoomAlert 32S
|
||||
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.20916
|
||||
1.3.6.1.2.1.1.4.0|4|<private>
|
||||
1.3.6.1.2.1.1.6.0|4|<private>
|
||||
1.3.6.1.4.1.20916.1.11.1.1.1.2.0|2|2080
|
||||
1.3.6.1.4.1.20916.1.11.1.1.2.1.0|2|2870
|
||||
1.3.6.1.4.1.20916.1.11.1.1.4.2.0|2|2080
|
||||
1.3.6.1.4.1.20916.1.11.1.1.6.1.0|2|0
|
||||
1.3.6.1.4.1.20916.1.11.1.1.6.2.0|2|0
|
||||
1.3.6.1.4.1.20916.1.11.1.2.1.1.0|2|2250
|
||||
1.3.6.1.4.1.20916.1.11.1.2.2.1.0|2|2256
|
||||
1.3.6.1.4.1.20916.1.11.1.3.1.0|2|1
|
||||
1.3.6.1.4.1.20916.1.11.1.3.2.0|2|1
|
||||
1.3.6.1.4.1.20916.1.11.1.3.3.0|2|0
|
||||
1.3.6.1.4.1.20916.1.11.1.3.4.0|2|0
|
||||
1.3.6.1.4.1.20916.1.11.1.3.5.0|2|0
|
||||
1.3.6.1.4.1.20916.1.11.1.3.6.0|2|0
|
||||
1.3.6.1.4.1.20916.1.11.1.3.7.0|2|0
|
||||
1.3.6.1.4.1.20916.1.11.1.3.8.0|2|0
|
||||
1.3.6.1.4.1.20916.1.11.1.3.9.0|2|0
|
||||
1.3.6.1.4.1.20916.1.11.1.3.10.0|2|0
|
||||
1.3.6.1.4.1.20916.1.11.1.3.11.0|2|0
|
||||
1.3.6.1.4.1.20916.1.11.1.3.12.0|2|0
|
||||
1.3.6.1.4.1.20916.1.11.1.3.13.0|2|0
|
||||
1.3.6.1.4.1.20916.1.11.1.3.14.0|2|0
|
||||
1.3.6.1.4.1.20916.1.11.1.3.15.0|2|0
|
||||
1.3.6.1.4.1.20916.1.11.1.3.16.0|2|0
|
Loading…
Reference in New Issue
Block a user