Fix avtech12e sensors (#13943)

* Fix IPv6 in service check host (#13939)

* Add hostName cleaning to Clean

* Apply RFC 5952 formatting to Clean::hostName output

* Use more liberal cleaning for hostnames

* Remove unwanted whitespace

* Apply Clean::hostName() to all relevant fields

* Fix docstring

* Use IP::isValid inline

* Update Clean.php

* Update services.inc.php

Co-authored-by: Tony Murray <murraytony@gmail.com>

* Fix avtech 12E environment sensor

Updated MIB for newer internal sensor object schema in 12E models.

Updated discovery yaml file to retrieve temperature and humidity
data from internal and digital sensors.

Added test data for roomalert12e model.

Co-authored-by: Sander Steffann <sander@steffann.nl>
Co-authored-by: Tony Murray <murraytony@gmail.com>
This commit is contained in:
Lee Keitel
2022-04-26 02:40:50 -05:00
committed by GitHub
parent 0357d29835
commit 70bae66057
4 changed files with 796 additions and 314 deletions

View File

@@ -56,6 +56,27 @@ modules:
index: 4
descr: .1.3.6.1.4.1.20916.1.3.1.4.6.0
- # RoomAlert 12E internal
oid: .1.3.6.1.4.1.20916.1.10.1.1.1.0
num_oid: '.1.3.6.1.4.1.20916.1.10.1.1.1.{{ $index }}'
index: 0
descr: .1.3.6.1.4.1.20916.1.10.1.1.3.0
- # RoomAlert 12E sen1
oid: .1.3.6.1.4.1.20916.1.10.1.2.1.0
num_oid: '.1.3.6.1.4.1.20916.1.10.1.2.1.{{ $index }}'
index: 1
descr: .1.3.6.1.4.1.20916.1.10.1.2.8.0
- # RoomAlert 12E sen2
oid: .1.3.6.1.4.1.20916.1.10.1.3.1.0
num_oid: '.1.3.6.1.4.1.20916.1.10.1.3.1.{{ $index }}'
index: 1
descr: .1.3.6.1.4.1.20916.1.10.1.3.8.0
- # RoomAlert 12E sen3
oid: .1.3.6.1.4.1.20916.1.10.1.4.1.0
num_oid: '.1.3.6.1.4.1.20916.1.10.1.4.1.{{ $index }}'
index: 1
descr: .1.3.6.1.4.1.20916.1.10.1.4.8.0
- # RoomAlert 32E/W internal temp
oid: .1.3.6.1.4.1.20916.1.8.1.1.1.2.0
num_oid: '.1.3.6.1.4.1.20916.1.8.1.1.1.2.{{ $index }}'
@@ -130,6 +151,21 @@ modules:
num_oid: '.1.3.6.1.4.1.20916.1.8.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.1.0
num_oid: '.1.3.6.1.4.1.20916.1.10.1.2.1.{{ $index }}'
index: 3
descr: .1.3.6.1.4.1.20916.1.10.1.2.8.0
- # RoomAlert 12E sen2
oid: .1.3.6.1.4.1.20916.1.10.1.3.1.0
num_oid: '.1.3.6.1.4.1.20916.1.10.1.3.1.{{ $index }}'
index: 3
descr: .1.3.6.1.4.1.20916.1.10.1.3.8.0
- # RoomAlert 12E sen3
oid: .1.3.6.1.4.1.20916.1.10.1.4.1.0
num_oid: '.1.3.6.1.4.1.20916.1.10.1.4.1.{{ $index }}'
index: 3
descr: .1.3.6.1.4.1.20916.1.10.1.4.8.0
voltage:
data:
- # RoomAlert 32E/W analog

View File

@@ -2,12 +2,12 @@
--defines ROOMALERT12E-MIB for SNMP agent extension of Room Alert 12E
--Contents: Global Registration Module
-- Room Alert OIDs - Enterprise 20916
--Version: 1.0.0
--Date: WEB_RELEASE_DATE_PLACEHOLDER
--Version: 3.3.0
--Date: 28 May 2021
--Developed By: AVTECH Software, Inc.
--
--Copyright (c) COPYRIGHT_YEAR_PLACEHOLDER AVTECH Software, Inc.
--Copyright (c) 2021 AVTECH Software, Inc.
--
ROOMALERT12E-MIB DEFINITIONS ::= BEGIN
@@ -24,7 +24,7 @@ IMPORTS
avtech OBJECT IDENTIFIER ::= { enterprises 20916 }
products OBJECT IDENTIFIER ::= { avtech 1 }
roomalert12E OBJECT IDENTIFIER ::= { products 9 }
roomalert12E OBJECT IDENTIFIER ::= { products 10 }
sensors OBJECT IDENTIFIER ::= { roomalert12E 1 }
lightTower OBJECT IDENTIFIER ::= { roomalert12E 2 }
internal-sen OBJECT IDENTIFIER ::= { sensors 1 }
@@ -49,43 +49,22 @@ internal-sen-1 OBJECT-TYPE
SYNTAX INTEGER(0..65535)
ACCESS read-only
STATUS mandatory
DESCRIPTION "If this sensor is a Temperature or Temp/Humidity sensor, this value represents the current temperature in Celsius. If this sensor is a Digital Power Sensor, this value represents the Current reading in Amperage."
DESCRIPTION "This value represents the current internal temperature in Celsius"
::= { internal-sen 1 }
internal-sen-2 OBJECT-TYPE
SYNTAX INTEGER(0..65535)
ACCESS read-only
STATUS mandatory
DESCRIPTION "If this sensor is a Temperature or Temp/Humidity sensor, this value represents the current temperature in Fahrenheit. If this sensor is a Digital Power Sensor, this value represents the Power reading in Watts."
DESCRIPTION "This value represents the current internal temperature in Fahrenheit."
::= { internal-sen 2 }
internal-sen-3 OBJECT-TYPE
SYNTAX INTEGER(0..65535)
ACCESS read-only
STATUS mandatory
DESCRIPTION "If this sensor is a Temp/Humidity sensor, this value represents the current relative humidity in % Relative Humidity. If this sensor is a Digital Power Sensor, this value represents the Voltage reading in Volts."
::= { internal-sen 3 }
internal-sen-4 OBJECT-TYPE
SYNTAX INTEGER(0..65535)
ACCESS read-only
STATUS mandatory
DESCRIPTION "If this sensor is a Temp/Humidity sensor, this value represents the current heat index in Fahrenheit. If this sensor is a Digital Power Sensor, this value represents the Reference reading in Volts."
::= { internal-sen 4 }
internal-sen-5 OBJECT-TYPE
SYNTAX INTEGER(0..65535)
ACCESS read-only
STATUS mandatory
DESCRIPTION "If this sensor is a Temp/Humidity sensor, this value represents the current heat index in Celsius."
::= { internal-sen 5 }
internal-sen-6 OBJECT-TYPE
SYNTAX OCTET STRING
ACCESS read-only
STATUS mandatory
DESCRIPTION "Represents the sensor's label/"
::= { internal-sen 6 }
DESCRIPTION "The internal sensor's label"
::= { internal-sen 3 }
analog-1 OBJECT-TYPE
SYNTAX INTEGER(0..65535)
@@ -101,6 +80,13 @@ analog-2 OBJECT-TYPE
DESCRIPTION "The analog sensor's label."
::= { analog 2 }
analog-3 OBJECT-TYPE
SYNTAX OCTET STRING
ACCESS read-only
STATUS mandatory
DESCRIPTION "The current status of the Room Alert 12E analog input (user-defined scale)."
::= { analog 3 }
relay-1 OBJECT-TYPE
SYNTAX INTEGER(0..1)
ACCESS read-write
@@ -119,28 +105,28 @@ digital-sen1-1 OBJECT-TYPE
SYNTAX INTEGER(0..65535)
ACCESS read-only
STATUS mandatory
DESCRIPTION "If this sensor is a Temperature or Temp/Humidity sensor, this value represents the current temperature in Celsius. If this sensor is a Digital Power Sensor, this value represents the Current reading in Amperage."
DESCRIPTION "If this sensor is a Temperature, Temp/Humidity, Temp/Analog, or Temp/Active Power sensor, this value represents the current temperature in Celsius."
::= { digital-sen1 1 }
digital-sen1-2 OBJECT-TYPE
SYNTAX INTEGER(0..65535)
ACCESS read-only
STATUS mandatory
DESCRIPTION "If this sensor is a Temperature or Temp/Humidity sensor, this value represents the current temperature in Fahrenheit. If this sensor is a Digital Power Sensor, this value represents the Power reading in Watts."
DESCRIPTION "If this sensor is a Temperature, Temp/Humidity, Temp/Analog, or Temp/Active Power sensor, this value represents the current temperature in Fahrenheit."
::= { digital-sen1 2 }
digital-sen1-3 OBJECT-TYPE
SYNTAX INTEGER(0..65535)
ACCESS read-only
STATUS mandatory
DESCRIPTION "If this sensor is a Temp/Humidity sensor, this value represents the current relative humidity in % Relative Humidity. If this sensor is a Digital Power Sensor, this value represents the Voltage reading in Volts."
DESCRIPTION "If this sensor is a Temp/Humidity sensor, this value represents the current relative humidity in % Relative Humidity. If this sensor is a Temp/Analog sensor, this value represents the current Voltage reading. If this is a Temp/Active Power sensor, this value represents the current power state (1=Power Detected, 0=No Power Detected)."
::= { digital-sen1 3 }
digital-sen1-4 OBJECT-TYPE
SYNTAX INTEGER(0..65535)
ACCESS read-only
STATUS mandatory
DESCRIPTION "If this sensor is a Temp/Humidity sensor, this value represents the current heat index in Fahrenheit. If this sensor is a Digital Power Sensor, this value represents the Reference reading in Volts."
DESCRIPTION "If this sensor is a Temp/Humidity sensor, this value represents the current heat index in Fahrenheit. If this sensor is a Temp/Analog sensor, this value represents the current custom reading."
::= { digital-sen1 4 }
digital-sen1-5 OBJECT-TYPE
@@ -151,38 +137,52 @@ digital-sen1-5 OBJECT-TYPE
::= { digital-sen1 5 }
digital-sen1-6 OBJECT-TYPE
SYNTAX INTEGER(0..65535)
ACCESS read-only
STATUS mandatory
DESCRIPTION "If this sensor is a Temp/Humidity sensor, this value represents the current dew point in Celsius."
::= { digital-sen1 6 }
digital-sen1-7 OBJECT-TYPE
SYNTAX INTEGER(0..65535)
ACCESS read-only
STATUS mandatory
DESCRIPTION "If this sensor is a Temp/Humidity sensor, this value represents the current dew point in Fahrenheit."
::= { digital-sen1 7 }
digital-sen1-8 OBJECT-TYPE
SYNTAX OCTET STRING
ACCESS read-only
STATUS mandatory
DESCRIPTION "Represents the sensor's label/"
::= { digital-sen1 6 }
DESCRIPTION "The sensor's label"
::= { digital-sen1 8 }
digital-sen2-1 OBJECT-TYPE
SYNTAX INTEGER(0..65535)
ACCESS read-only
STATUS mandatory
DESCRIPTION "If this sensor is a Temperature or Temp/Humidity sensor, this value represents the current temperature in Celsius. If this sensor is a Digital Power Sensor, this value represents the Current reading in Amperage."
DESCRIPTION "If this sensor is a Temperature, Temp/Humidity, Temp/Analog, or Temp/Active Power sensor, this value represents the current temperature in Celsius."
::= { digital-sen2 1 }
digital-sen2-2 OBJECT-TYPE
SYNTAX INTEGER(0..65535)
ACCESS read-only
STATUS mandatory
DESCRIPTION "If this sensor is a Temperature or Temp/Humidity sensor, this value represents the current temperature in Fahrenheit. If this sensor is a Digital Power Sensor, this value represents the Power reading in Watts."
DESCRIPTION "If this sensor is a Temperature, Temp/Humidity, Temp/Analog, or Temp/Active Power sensor, this value represents the current temperature in Fahrenheit."
::= { digital-sen2 2 }
digital-sen2-3 OBJECT-TYPE
SYNTAX INTEGER(0..65535)
ACCESS read-only
STATUS mandatory
DESCRIPTION "If this sensor is a Temp/Humidity sensor, this value represents the current relative humidity in % Relative Humidity. If this sensor is a Digital Power Sensor, this value represents the Voltage reading in Volts."
DESCRIPTION "If this sensor is a Temp/Humidity sensor, this value represents the current relative humidity in % Relative Humidity. If this sensor is a Temp/Analog sensor, this value represents the current Voltage reading. If this is a Temp/Active Power sensor, this value represents the current power state (1=Power Detected, 0=No Power Detected)."
::= { digital-sen2 3 }
digital-sen2-4 OBJECT-TYPE
SYNTAX INTEGER(0..65535)
ACCESS read-only
STATUS mandatory
DESCRIPTION "If this sensor is a Temp/Humidity sensor, this value represents the current heat index in Fahrenheit. If this sensor is a Digital Power Sensor, this value represents the Reference reading in Volts."
DESCRIPTION "If this sensor is a Temp/Humidity sensor, this value represents the current heat index in Fahrenheit. If this sensor is a Temp/Analog sensor, this value represents the current custom reading."
::= { digital-sen2 4 }
digital-sen2-5 OBJECT-TYPE
@@ -193,38 +193,52 @@ digital-sen2-5 OBJECT-TYPE
::= { digital-sen2 5 }
digital-sen2-6 OBJECT-TYPE
SYNTAX INTEGER(0..65535)
ACCESS read-only
STATUS mandatory
DESCRIPTION "If this sensor is a Temp/Humidity sensor, this value represents the current dew point in Celsius."
::= { digital-sen2 6 }
digital-sen2-7 OBJECT-TYPE
SYNTAX INTEGER(0..65535)
ACCESS read-only
STATUS mandatory
DESCRIPTION "If this sensor is a Temp/Humidity sensor, this value represents the current dew point in Fahrenheit."
::= { digital-sen2 7 }
digital-sen2-8 OBJECT-TYPE
SYNTAX OCTET STRING
ACCESS read-only
STATUS mandatory
DESCRIPTION "Represents the sensor's label/"
::= { digital-sen2 6 }
DESCRIPTION "The sensor's label"
::= { digital-sen2 8 }
digital-sen3-1 OBJECT-TYPE
SYNTAX INTEGER(0..65535)
ACCESS read-only
STATUS mandatory
DESCRIPTION "If this sensor is a Temperature or Temp/Humidity sensor, this value represents the current temperature in Celsius. If this sensor is a Digital Power Sensor, this value represents the Current reading in Amperage."
DESCRIPTION "If this sensor is a Temperature, Temp/Humidity, Temp/Analog, or Temp/Active Power sensor, this value represents the current temperature in Celsius."
::= { digital-sen3 1 }
digital-sen3-2 OBJECT-TYPE
SYNTAX INTEGER(0..65535)
ACCESS read-only
STATUS mandatory
DESCRIPTION "If this sensor is a Temperature or Temp/Humidity sensor, this value represents the current temperature in Fahrenheit. If this sensor is a Digital Power Sensor, this value represents the Power reading in Watts."
DESCRIPTION "If this sensor is a Temperature, Temp/Humidity, Temp/Analog, or Temp/Active Power sensor, this value represents the current temperature in Fahrenheit."
::= { digital-sen3 2 }
digital-sen3-3 OBJECT-TYPE
SYNTAX INTEGER(0..65535)
ACCESS read-only
STATUS mandatory
DESCRIPTION "If this sensor is a Temp/Humidity sensor, this value represents the current relative humidity in % Relative Humidity. If this sensor is a Digital Power Sensor, this value represents the Voltage reading in Volts."
DESCRIPTION "If this sensor is a Temp/Humidity sensor, this value represents the current relative humidity in % Relative Humidity. If this sensor is a Temp/Analog sensor, this value represents the current Voltage reading. If this is a Temp/Active Power sensor, this value represents the current power state (1=Power Detected, 0=No Power Detected)."
::= { digital-sen3 3 }
digital-sen3-4 OBJECT-TYPE
SYNTAX INTEGER(0..65535)
ACCESS read-only
STATUS mandatory
DESCRIPTION "If this sensor is a Temp/Humidity sensor, this value represents the current heat index in Fahrenheit. If this sensor is a Digital Power Sensor, this value represents the Reference reading in Volts."
DESCRIPTION "If this sensor is a Temp/Humidity sensor, this value represents the current heat index in Fahrenheit. If this sensor is a Temp/Analog sensor, this value represents the current custom reading."
::= { digital-sen3 4 }
digital-sen3-5 OBJECT-TYPE
@@ -235,11 +249,25 @@ digital-sen3-5 OBJECT-TYPE
::= { digital-sen3 5 }
digital-sen3-6 OBJECT-TYPE
SYNTAX INTEGER(0..65535)
ACCESS read-only
STATUS mandatory
DESCRIPTION "If this sensor is a Temp/Humidity sensor, this value represents the current dew point in Celsius."
::= { digital-sen3 6 }
digital-sen3-7 OBJECT-TYPE
SYNTAX INTEGER(0..65535)
ACCESS read-only
STATUS mandatory
DESCRIPTION "If this sensor is a Temp/Humidity sensor, this value represents the current dew point in Fahrenheit."
::= { digital-sen3 7 }
digital-sen3-8 OBJECT-TYPE
SYNTAX OCTET STRING
ACCESS read-only
STATUS mandatory
DESCRIPTION "Represents the sensor's label/"
::= { digital-sen3 6 }
DESCRIPTION "The sensor's label"
::= { digital-sen3 8 }
switch-sen1-1 OBJECT-TYPE
SYNTAX INTEGER(0..1)

View File

@@ -0,0 +1,322 @@
{
"os": {
"discovery": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.20916.1.10",
"sysDescr": "Room Alert 12E v3.3.0",
"sysContact": "<private>",
"version": "3.3.0",
"hardware": "Room Alert 12E",
"features": null,
"os": "avtech",
"type": "environment",
"serial": null,
"icon": "avtech.svg",
"location": "<private>"
}
]
},
"poller": "matches discovery"
},
"ports": {
"discovery": {
"ports": [
{
"port_descr_type": null,
"port_descr_descr": null,
"port_descr_circuit": null,
"port_descr_speed": null,
"port_descr_notes": null,
"ifDescr": "Network",
"ifName": "Network",
"portName": null,
"ifIndex": 1,
"ifSpeed": null,
"ifSpeed_prev": null,
"ifConnectorPresent": null,
"ifPromiscuousMode": null,
"ifOperStatus": "up",
"ifOperStatus_prev": null,
"ifAdminStatus": null,
"ifAdminStatus_prev": null,
"ifDuplex": null,
"ifMtu": null,
"ifType": "ethernetCsmacd",
"ifAlias": "Network",
"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": "Network",
"ifName": "Network",
"portName": null,
"ifIndex": 1,
"ifSpeed": 10000000,
"ifSpeed_prev": null,
"ifConnectorPresent": null,
"ifPromiscuousMode": null,
"ifOperStatus": "up",
"ifOperStatus_prev": "up",
"ifAdminStatus": "up",
"ifAdminStatus_prev": null,
"ifDuplex": null,
"ifMtu": 1500,
"ifType": "ethernetCsmacd",
"ifAlias": "Network",
"ifPhysAddress": "0080a3e21fbf",
"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": 189201,
"ifInUcastPkts_prev": 0,
"ifInUcastPkts_delta": null,
"ifInUcastPkts_rate": null,
"ifOutUcastPkts": 81290,
"ifOutUcastPkts_prev": 0,
"ifOutUcastPkts_delta": null,
"ifOutUcastPkts_rate": null,
"ifInErrors": 0,
"ifInErrors_prev": 0,
"ifInErrors_delta": null,
"ifInErrors_rate": null,
"ifOutErrors": 0,
"ifOutErrors_prev": 0,
"ifOutErrors_delta": null,
"ifOutErrors_rate": null,
"ifInOctets": 19326198,
"ifInOctets_prev": 0,
"ifInOctets_delta": null,
"ifInOctets_rate": null,
"ifOutOctets": 13440739,
"ifOutOctets_prev": 0,
"ifOutOctets_delta": null,
"ifOutOctets_rate": null,
"poll_prev": null,
"ifInNUcastPkts": 0,
"ifInNUcastPkts_prev": 0,
"ifInNUcastPkts_delta": null,
"ifInNUcastPkts_rate": null,
"ifOutNUcastPkts": 1634,
"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": "humidity",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.20916.1.10.1.2.1.0",
"sensor_index": "3",
"sensor_type": "avtech",
"sensor_descr": "Ext Sensor 1",
"group": null,
"sensor_divisor": 100,
"sensor_multiplier": 1,
"sensor_current": 27.62,
"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,
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "temperature",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.20916.1.10.1.1.1.0",
"sensor_index": "0",
"sensor_type": "avtech",
"sensor_descr": "Internal Sensor",
"group": null,
"sensor_divisor": 100,
"sensor_multiplier": 1,
"sensor_current": 25.34,
"sensor_limit": 45.34,
"sensor_limit_warn": null,
"sensor_limit_low": 15.34,
"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": "temperature",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.20916.1.10.1.2.1.0",
"sensor_index": "1",
"sensor_type": "avtech",
"sensor_descr": "Ext Sensor 1",
"group": null,
"sensor_divisor": 100,
"sensor_multiplier": 1,
"sensor_current": 27.62,
"sensor_limit": 47.62,
"sensor_limit_warn": null,
"sensor_limit_low": 17.62,
"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
}
]
},
"poller": "matches discovery"
}
}

View File

@@ -0,0 +1,96 @@
1.3.6.1.2.1.1.1.0|4|Room Alert 12E v3.3.0
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.20916.1.10
1.3.6.1.2.1.1.3.0|67|23829819
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|Network
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|0080A3E21FBF
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|19326198
1.3.6.1.2.1.2.2.1.11.1|65|189201
1.3.6.1.2.1.2.2.1.12.1|65|0
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|0
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|13440739
1.3.6.1.2.1.2.2.1.17.1|65|81290
1.3.6.1.2.1.2.2.1.18.1|65|1634
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|0
1.3.6.1.2.1.2.2.1.21.1|66|2
1.3.6.1.2.1.2.2.1.22.1|6|0
1.3.6.1.2.1.4.3.0|65|80940
1.3.6.1.2.1.4.4.0|65|0
1.3.6.1.2.1.4.5.0|65|0
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|0
1.3.6.1.2.1.4.9.0|65|80939
1.3.6.1.2.1.4.10.0|65|0
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.5.1.0|65|6374
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|6374
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|6374
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|6374
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.7.1.0|65|72634
1.3.6.1.2.1.7.2.0|65|309
1.3.6.1.2.1.7.3.0|65|769
1.3.6.1.2.1.7.4.0|65|72635
1.3.6.1.4.1.20916.1.10.1.1.1.0|2|2534
1.3.6.1.4.1.20916.1.10.1.1.2.0|2|7770
1.3.6.1.4.1.20916.1.10.1.1.3.0|4|Internal Sensor
1.3.6.1.4.1.20916.1.10.1.2.1.0|2|2762
1.3.6.1.4.1.20916.1.10.1.2.2.0|2|8175
1.3.6.1.4.1.20916.1.10.1.2.3.0|2|2760
1.3.6.1.4.1.20916.1.10.1.2.4.0|2|8175
1.3.6.1.4.1.20916.1.10.1.2.5.0|2|2763
1.3.6.1.4.1.20916.1.10.1.2.6.0|2|1316
1.3.6.1.4.1.20916.1.10.1.2.7.0|2|5568
1.3.6.1.4.1.20916.1.10.1.2.8.0|4|Ext Sensor 1
1.3.6.1.4.1.20916.1.10.1.5.1.0|2|0
1.3.6.1.4.1.20916.1.10.1.5.2.0|4|Switch Sen 1
1.3.6.1.4.1.20916.1.10.1.6.1.0|2|0
1.3.6.1.4.1.20916.1.10.1.6.2.0|4|Switch Sen 2
1.3.6.1.4.1.20916.1.10.1.7.1.0|2|0
1.3.6.1.4.1.20916.1.10.1.7.2.0|4|Switch Sen 3
1.3.6.1.4.1.20916.1.10.1.8.1.0|2|0
1.3.6.1.4.1.20916.1.10.1.8.2.0|4|Switch Sen 4
1.3.6.1.4.1.20916.1.10.1.10.1.0|2|0
1.3.6.1.4.1.20916.1.10.1.10.2.0|4|Relay Output
1.3.6.1.4.1.20916.1.10.3.1.0|4x|0a456e64206f66204d4942