mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Add Papouch Quido Device (#11605)
* Create QUIDOQ-MIB * Rename QUIDOQ-MIB to QUIDOS-MIB * Create papouch-quido.yaml * Create papouch-quido.yaml * Add additional match data and over graph * Create papouch-quido.snmprec * Create papouch-quido.json * Update papouch-quido.yaml Co-authored-by: Tony Murray <murraytony@gmail.com>
This commit is contained in:
10
includes/definitions/discovery/papouch-quido.yaml
Normal file
10
includes/definitions/discovery/papouch-quido.yaml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
mib: QUIDOS-MIB
|
||||||
|
modules:
|
||||||
|
sensors:
|
||||||
|
temperature:
|
||||||
|
data:
|
||||||
|
-
|
||||||
|
oid: temperatureReading
|
||||||
|
divisor: 10
|
||||||
|
num_oid: '.1.3.6.1.4.1.18248.16.1.1.{{ $index }}'
|
||||||
|
descr: Temperature
|
12
includes/definitions/papouch-quido.yaml
Normal file
12
includes/definitions/papouch-quido.yaml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
os: papouch-quido
|
||||||
|
text: 'Papouch QUIDO'
|
||||||
|
type: environment
|
||||||
|
icon: papouch-tme
|
||||||
|
mib_dir:
|
||||||
|
- papouch
|
||||||
|
over:
|
||||||
|
- { graph: device_temperature, text: temperature }
|
||||||
|
discovery:
|
||||||
|
-
|
||||||
|
sysObjectID: .0.9.43.6.1.4.1
|
||||||
|
sysDescr: Quidos
|
312
mibs/papouch/QUIDOS-MIB
Normal file
312
mibs/papouch/QUIDOS-MIB
Normal file
@@ -0,0 +1,312 @@
|
|||||||
|
--*********************************
|
||||||
|
-- Quido.txt: MIB corespording to QUIDOSNMP-10.C
|
||||||
|
--
|
||||||
|
--
|
||||||
|
-- September 2003 Steiger Miroslav
|
||||||
|
-- Copyringht (c) 2003 by PaPouch elektronika
|
||||||
|
|
||||||
|
--*********************************
|
||||||
|
|
||||||
|
QUIDOS-MIB DEFINITIONS ::= BEGIN
|
||||||
|
|
||||||
|
IMPORTS
|
||||||
|
-- MODULE-IDENTITY,
|
||||||
|
-- OBJECT-TYPE,
|
||||||
|
-- NOTIFICATION-TYPE,
|
||||||
|
enterprises,
|
||||||
|
IpAddress,
|
||||||
|
Counter,
|
||||||
|
TimeTicks
|
||||||
|
FROM RFC1155-SMI
|
||||||
|
OBJECT-TYPE
|
||||||
|
FROM RFC-1212
|
||||||
|
DisplayString
|
||||||
|
FROM RFC1213-MIB
|
||||||
|
TRAP-TYPE
|
||||||
|
FROM RFC-1215
|
||||||
|
;
|
||||||
|
|
||||||
|
papouchProjekt OBJECT IDENTIFIER ::= { enterprises 18248 }
|
||||||
|
--OID 1.3.6.1.4.1.18248.16
|
||||||
|
quidos OBJECT IDENTIFIER ::= { papouchProjekt 16 }
|
||||||
|
|
||||||
|
quido-var OBJECT IDENTIFIER ::= { quidos 1 }
|
||||||
|
table-in OBJECT IDENTIFIER ::= { quidos 2 }
|
||||||
|
table-out OBJECT IDENTIFIER ::= { quidos 3 }
|
||||||
|
table-term OBJECT IDENTIFIER ::= { quidos 4 }
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Type Definitions
|
||||||
|
--
|
||||||
|
|
||||||
|
PositiveInteger ::= INTEGER (0..65535)
|
||||||
|
|
||||||
|
OnOff ::= INTEGER {
|
||||||
|
off (0),
|
||||||
|
on (1)
|
||||||
|
}
|
||||||
|
|
||||||
|
StatCit ::= INTEGER {
|
||||||
|
none (0),
|
||||||
|
falling(1),
|
||||||
|
rising(2),
|
||||||
|
both(3)
|
||||||
|
}
|
||||||
|
--OID 1.3.6.1.4.1.18248.16.1.1.0
|
||||||
|
temperatureReading OBJECT-TYPE
|
||||||
|
SYNTAX INTEGER
|
||||||
|
ACCESS read-only
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION "temperature value / 10"
|
||||||
|
::= { quido-var 1 }
|
||||||
|
--OID 1.3.6.1.4.1.18248.16.1.2.0
|
||||||
|
temperature-S-Reading OBJECT-TYPE
|
||||||
|
SYNTAX DisplayString
|
||||||
|
ACCESS read-only
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION "temperature value as string"
|
||||||
|
::= { quido-var 2 }
|
||||||
|
--OID 1.3.6.1.4.1.18248.16.1.3.0
|
||||||
|
user-name OBJECT-TYPE
|
||||||
|
SYNTAX DisplayString
|
||||||
|
ACCESS read-write
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION "user name is user string"
|
||||||
|
::= { quido-var 3 }
|
||||||
|
--OID 1.3.6.1.4.1.18248.16.1.4.0
|
||||||
|
device-msg OBJECT-TYPE
|
||||||
|
SYNTAX DisplayString
|
||||||
|
ACCESS read-only
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION "msg"
|
||||||
|
::= { quido-var 4 }
|
||||||
|
|
||||||
|
temp-msg TRAP-TYPE
|
||||||
|
ENTERPRISE quido-var
|
||||||
|
VARIABLES {user-name,device-msg}
|
||||||
|
DESCRIPTION "tento trap je odesilan pri zmenach vstupu "
|
||||||
|
::= 1
|
||||||
|
|
||||||
|
---
|
||||||
|
--- TABULKA PRO PARAMETRY VSTUPU
|
||||||
|
---
|
||||||
|
inTable OBJECT-TYPE
|
||||||
|
SYNTAX SEQUENCE OF InEntry
|
||||||
|
ACCESS not-accessible
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION ""
|
||||||
|
::= { table-in 1 }
|
||||||
|
|
||||||
|
inEntry OBJECT-TYPE
|
||||||
|
SYNTAX InEntry
|
||||||
|
ACCESS not-accessible
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION ""
|
||||||
|
INDEX { index }
|
||||||
|
::= { inTable 1 }
|
||||||
|
|
||||||
|
InEntry ::=
|
||||||
|
SEQUENCE {
|
||||||
|
in
|
||||||
|
OnOff,
|
||||||
|
in-name
|
||||||
|
DisplayString,
|
||||||
|
citrwS
|
||||||
|
StatCit,
|
||||||
|
citrw
|
||||||
|
INTEGER
|
||||||
|
}
|
||||||
|
--
|
||||||
|
-- parametry pro cteni vstupu
|
||||||
|
--
|
||||||
|
--OID 1.3.6.1.4.1.18248.16.2.1.1.1.1- len-in
|
||||||
|
in OBJECT-TYPE
|
||||||
|
SYNTAX OnOff
|
||||||
|
ACCESS read-only
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION "0 = OFF, 1 = ON"
|
||||||
|
::= { inEntry 1 }
|
||||||
|
--
|
||||||
|
-- parametry pro cteni nastaveni jmena vstupu
|
||||||
|
--
|
||||||
|
--OID 1.3.6.1.4.1.18248.16.2.1.1.2.1- len-in
|
||||||
|
in-name OBJECT-TYPE
|
||||||
|
SYNTAX DisplayString
|
||||||
|
ACCESS read-write
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION "user name is user string"
|
||||||
|
::= { inEntry 2 }
|
||||||
|
--
|
||||||
|
-- parametry pro cteni nastaveni citacu
|
||||||
|
--
|
||||||
|
--OID 1.3.6.1.4.1.18248.16.2.1.1.3.1- len-in; max 60
|
||||||
|
citrwS OBJECT-TYPE
|
||||||
|
SYNTAX StatCit
|
||||||
|
ACCESS read-write
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION "0 = none, 1 = rising, 2 = falling, 3 = both"
|
||||||
|
::= { inEntry 3 }
|
||||||
|
--
|
||||||
|
-- parametry pro cteni hodnoty citace popripade odecet od citace
|
||||||
|
--
|
||||||
|
--OID 1.3.6.1.4.1.18248.16.2.1.1.4.1- len-in; max 60
|
||||||
|
citrw OBJECT-TYPE
|
||||||
|
SYNTAX INTEGER (0..65535)
|
||||||
|
ACCESS read-write
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION "cteni citacu nebo odecet od citace"
|
||||||
|
::= { inEntry 4 }
|
||||||
|
---
|
||||||
|
--- TABULKA PRO PARAMETRY VYSTUPU
|
||||||
|
---
|
||||||
|
|
||||||
|
outTable OBJECT-TYPE
|
||||||
|
SYNTAX SEQUENCE OF OutEntry
|
||||||
|
ACCESS not-accessible
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION ""
|
||||||
|
::= { table-out 1 }
|
||||||
|
|
||||||
|
outEntry OBJECT-TYPE
|
||||||
|
SYNTAX OutEntry
|
||||||
|
ACCESS not-accessible
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION ""
|
||||||
|
INDEX { index }
|
||||||
|
::= { outTable 1 }
|
||||||
|
|
||||||
|
OutEntry ::=
|
||||||
|
SEQUENCE {
|
||||||
|
out
|
||||||
|
OnOff,
|
||||||
|
out-name
|
||||||
|
DisplayString,
|
||||||
|
outTwr
|
||||||
|
INTEGER
|
||||||
|
}
|
||||||
|
--
|
||||||
|
-- parametry pro nastaveni cteni vystupu
|
||||||
|
--
|
||||||
|
--OID 1.3.6.1.4.1.18248.16.3.1.1.1.1- len-out
|
||||||
|
out OBJECT-TYPE
|
||||||
|
SYNTAX OnOff
|
||||||
|
ACCESS read-write
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION "0 = OFF, 1 = ON"
|
||||||
|
::= { outEntry 1 }
|
||||||
|
--
|
||||||
|
-- parametry pro cteni nastaveni jmena vystupu
|
||||||
|
--
|
||||||
|
--OID 1.3.6.1.4.1.18248.16.3.1.1.2.1- len-out
|
||||||
|
out-name OBJECT-TYPE
|
||||||
|
SYNTAX DisplayString
|
||||||
|
ACCESS read-write
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION "user name is user string"
|
||||||
|
::= { outEntry 2 }
|
||||||
|
--
|
||||||
|
-- parametry pro nastaveni a cteni casu vystupu
|
||||||
|
--
|
||||||
|
--OID 1.3.6.1.4.1.18248.16.3.1.1.3.1- len-out
|
||||||
|
outTwr OBJECT-TYPE
|
||||||
|
SYNTAX INTEGER
|
||||||
|
ACCESS read-write
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION "0 - 255"
|
||||||
|
::= { outEntry 3 }
|
||||||
|
---
|
||||||
|
--- TABULKA PRO PARAMETRY HLIDANI TEPLOTY
|
||||||
|
---
|
||||||
|
termTable OBJECT-TYPE
|
||||||
|
SYNTAX SEQUENCE OF TermEntry
|
||||||
|
ACCESS not-accessible
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION ""
|
||||||
|
::= { table-term 1 }
|
||||||
|
|
||||||
|
termEntry OBJECT-TYPE
|
||||||
|
SYNTAX TermEntry
|
||||||
|
ACCESS not-accessible
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION ""
|
||||||
|
INDEX { index }
|
||||||
|
::= { termTable 1 }
|
||||||
|
|
||||||
|
TermEntry ::=
|
||||||
|
SEQUENCE {
|
||||||
|
modeTerm
|
||||||
|
INTEGER,
|
||||||
|
mezHi
|
||||||
|
INTEGER,
|
||||||
|
mezLo
|
||||||
|
INTEGER,
|
||||||
|
time
|
||||||
|
INTEGER,
|
||||||
|
err
|
||||||
|
INTEGER
|
||||||
|
}
|
||||||
|
--OID 1.3.6.1.4.1.18248.16.4.1.1.1.1- len-out
|
||||||
|
modeTerm OBJECT-TYPE
|
||||||
|
SYNTAX INTEGER(0..6)
|
||||||
|
ACCESS read-write
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION "0 = vypnut,
|
||||||
|
1 = prekroci li teplota hodnotu mezHi1 sepne rele1, klesne li pod hodnotu mezLo1 rozepne rele1
|
||||||
|
2 = prekroci li teplota hodnotu mezHi1 rozepne rele1, klesne li pod hodnotu mezLo1 sepne rele1
|
||||||
|
3 = prekroci li teplota hodnotu mezHi1 sepne rele1 na dobu v parametru time1.
|
||||||
|
pri opetovnem prekroceni se udalost vyvola klesla li teplota od
|
||||||
|
predchozi udalosti na hodnotu v mezLo1
|
||||||
|
4 = prekroci li teplota hodnotu mezHi1 rozepne rele1 na dobu v parametru time1.
|
||||||
|
pri opetovnem prekroceni se udalost vyvola klesla li teplota od
|
||||||
|
predchozi udalosti na hodnotu v mezLo1
|
||||||
|
5 = klesne li teplota pod hodnotu mezLo1 sepne rele1 na dobu v parametru time1.
|
||||||
|
pri opetovnem poklesu teploty se udalost vyvola stoupla li teplota od
|
||||||
|
predchozi udalosti na hodnotu v mezHi1
|
||||||
|
6 = klesne li teplota pod hodnotu mezLo1 sepne rele1 na dobu v parametru time1.
|
||||||
|
pri opetovnem poklesu teploty se udalost vyvola stoupla li teplota od
|
||||||
|
predchozi udalosti na hodnotu v mezHi1
|
||||||
|
"
|
||||||
|
|
||||||
|
::= { termEntry 1 }
|
||||||
|
--OID 1.3.6.1.4.1.18248.16.4.1.1.2.1- len-out
|
||||||
|
mezHi OBJECT-TYPE
|
||||||
|
SYNTAX INTEGER(-550..1250)
|
||||||
|
ACCESS read-write
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION "nastavuji horni mez teploty v intervalu -550 .. +1250
|
||||||
|
zpusob zapisu: pozadovana hodnota * 10
|
||||||
|
nesmi byt mensi nez mezLo1
|
||||||
|
"
|
||||||
|
::= { termEntry 2 }
|
||||||
|
--OID 1.3.6.1.4.1.18248.16.4.1.1.3.1- len-out
|
||||||
|
mezLo OBJECT-TYPE
|
||||||
|
SYNTAX INTEGER(-550..1250)
|
||||||
|
ACCESS read-write
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION "nastavuji dolni mez teploty v intervalu -550 .. +1250
|
||||||
|
zpusob zapisu: pozadovana hodnota * 10
|
||||||
|
nesmi byt vetsi nez mezHi1
|
||||||
|
"
|
||||||
|
::= { termEntry 3 }
|
||||||
|
--OID 1.3.6.1.4.1.18248.16.4.1.1.4.1- len-out
|
||||||
|
time OBJECT-TYPE
|
||||||
|
SYNTAX INTEGER(0..255)
|
||||||
|
ACCESS read-write
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION "zde je uvedena doba po kterou bude rele1 po vyvolani udalosti sepnuto nebo rozepnuto
|
||||||
|
tato doba je ve vterinach
|
||||||
|
"
|
||||||
|
::= { termEntry 4 }
|
||||||
|
--OID 1.3.6.1.4.1.18248.16.4.1.1.5.1- len-out
|
||||||
|
err OBJECT-TYPE
|
||||||
|
SYNTAX INTEGER(0..2)
|
||||||
|
ACCESS read-write
|
||||||
|
STATUS current
|
||||||
|
DESCRIPTION "parametr urcujici v jakem stavu ma byt rele2 dojde li k chybe teplotniho cidla
|
||||||
|
0 = nechat ve stavu ve kterem se rele nachazi
|
||||||
|
1 = rozepnout rele2
|
||||||
|
2 = sepnout rele2
|
||||||
|
"
|
||||||
|
::= { termEntry 5 }
|
||||||
|
|
||||||
|
END
|
296
tests/data/papouch-quido.json
Normal file
296
tests/data/papouch-quido.json
Normal file
@@ -0,0 +1,296 @@
|
|||||||
|
{
|
||||||
|
"os": {
|
||||||
|
"discovery": {
|
||||||
|
"devices": [
|
||||||
|
{
|
||||||
|
"sysName": "<private>",
|
||||||
|
"sysObjectID": ".0.9.43.6.1.4.1",
|
||||||
|
"sysDescr": "Quidos SNMP",
|
||||||
|
"sysContact": null,
|
||||||
|
"version": null,
|
||||||
|
"hardware": null,
|
||||||
|
"features": null,
|
||||||
|
"os": "papouch-quido",
|
||||||
|
"type": "environment",
|
||||||
|
"serial": null,
|
||||||
|
"icon": "papouch-tme.png",
|
||||||
|
"location": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"poller": {
|
||||||
|
"devices": [
|
||||||
|
{
|
||||||
|
"sysName": "<private>",
|
||||||
|
"sysObjectID": ".0.9.43.6.1.4.1",
|
||||||
|
"sysDescr": "Quidos SNMP",
|
||||||
|
"sysContact": "<private>",
|
||||||
|
"version": null,
|
||||||
|
"hardware": null,
|
||||||
|
"features": null,
|
||||||
|
"os": "papouch-quido",
|
||||||
|
"type": "environment",
|
||||||
|
"serial": null,
|
||||||
|
"icon": "papouch-tme.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": "Network",
|
||||||
|
"ifName": "Network",
|
||||||
|
"portName": null,
|
||||||
|
"ifIndex": 1,
|
||||||
|
"ifSpeed": null,
|
||||||
|
"ifSpeed_prev": null,
|
||||||
|
"ifConnectorPresent": null,
|
||||||
|
"ifPromiscuousMode": null,
|
||||||
|
"ifHighSpeed": null,
|
||||||
|
"ifHighSpeed_prev": 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,
|
||||||
|
"ifHighSpeed": null,
|
||||||
|
"ifHighSpeed_prev": null,
|
||||||
|
"ifOperStatus": "up",
|
||||||
|
"ifOperStatus_prev": "up",
|
||||||
|
"ifAdminStatus": "up",
|
||||||
|
"ifAdminStatus_prev": null,
|
||||||
|
"ifDuplex": null,
|
||||||
|
"ifMtu": 1500,
|
||||||
|
"ifType": "ethernetCsmacd",
|
||||||
|
"ifAlias": "Network",
|
||||||
|
"ifPhysAddress": "0080a3cb6310",
|
||||||
|
"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": 3599660,
|
||||||
|
"ifInUcastPkts_prev": 0,
|
||||||
|
"ifInUcastPkts_delta": null,
|
||||||
|
"ifInUcastPkts_rate": null,
|
||||||
|
"ifOutUcastPkts": 226810,
|
||||||
|
"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": 493683282,
|
||||||
|
"ifInOctets_prev": 0,
|
||||||
|
"ifInOctets_delta": null,
|
||||||
|
"ifInOctets_rate": null,
|
||||||
|
"ifOutOctets": 24635252,
|
||||||
|
"ifOutOctets_prev": 0,
|
||||||
|
"ifOutOctets_delta": null,
|
||||||
|
"ifOutOctets_rate": null,
|
||||||
|
"poll_prev": null,
|
||||||
|
"ifInNUcastPkts": 0,
|
||||||
|
"ifInNUcastPkts_prev": 0,
|
||||||
|
"ifInNUcastPkts_delta": null,
|
||||||
|
"ifInNUcastPkts_rate": null,
|
||||||
|
"ifOutNUcastPkts": 60504,
|
||||||
|
"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": "temperature",
|
||||||
|
"poller_type": "snmp",
|
||||||
|
"sensor_oid": ".1.3.6.1.4.1.18248.16.1.1.0",
|
||||||
|
"sensor_index": "0",
|
||||||
|
"sensor_type": "papouch-quido",
|
||||||
|
"sensor_descr": "Temperature",
|
||||||
|
"group": null,
|
||||||
|
"sensor_divisor": 10,
|
||||||
|
"sensor_multiplier": 1,
|
||||||
|
"sensor_current": 23.1,
|
||||||
|
"sensor_limit": 43.1,
|
||||||
|
"sensor_limit_warn": null,
|
||||||
|
"sensor_limit_low": 13.1,
|
||||||
|
"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": []
|
||||||
|
},
|
||||||
|
"poller": "matches discovery"
|
||||||
|
}
|
||||||
|
}
|
75
tests/snmpsim/papouch-quido.snmprec
Normal file
75
tests/snmpsim/papouch-quido.snmprec
Normal file
@@ -0,0 +1,75 @@
|
|||||||
|
1.3.6.1.2.1.1.1.0|4|Quidos SNMP
|
||||||
|
1.3.6.1.2.1.1.2.0|6|0.9.43.6.1.4.1
|
||||||
|
1.3.6.1.2.1.1.3.0|67|885374761
|
||||||
|
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|0080A3CB6310
|
||||||
|
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|493683282
|
||||||
|
1.3.6.1.2.1.2.2.1.11.1|65|3599660
|
||||||
|
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|24635252
|
||||||
|
1.3.6.1.2.1.2.2.1.17.1|65|226810
|
||||||
|
1.3.6.1.2.1.2.2.1.18.1|65|60504
|
||||||
|
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|2347508
|
||||||
|
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|2347507
|
||||||
|
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|146975
|
||||||
|
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|146974
|
||||||
|
1.3.6.1.2.1.5.9.0|65|0
|
||||||
|
1.3.6.1.2.1.5.10.0|65|1
|
||||||
|
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|146974
|
||||||
|
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|146974
|
||||||
|
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|79797
|
||||||
|
1.3.6.1.2.1.7.2.0|65|233027
|
||||||
|
1.3.6.1.2.1.7.3.0|65|769
|
||||||
|
1.3.6.1.2.1.7.4.0|65|79796
|
||||||
|
1.3.6.1.4.1.18248.16.1.1.0|2|231
|
Reference in New Issue
Block a user