mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 10:28:13 +00:00
Add support for ULAF+ (#15997)
This commit is contained in:
parent
8ae66a3bb8
commit
acd92e822b
54
html/images/os/ulaf.svg
Normal file
54
html/images/os/ulaf.svg
Normal file
@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
version="1.0"
|
||||
viewBox="0 0 500.000000 190.000000"
|
||||
preserveAspectRatio="xMidYMid meet"
|
||||
id="svg5"
|
||||
sodipodi:docname="ulaf.svg"
|
||||
inkscape:version="1.3 (0e150ed6c4, 2023-07-21)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs5" />
|
||||
<sodipodi:namedview
|
||||
id="namedview5"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#000000"
|
||||
borderopacity="0.25"
|
||||
inkscape:showpageshadow="2"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:document-units="pt"
|
||||
inkscape:zoom="3.009"
|
||||
inkscape:cx="333.33333"
|
||||
inkscape:cy="126.78631"
|
||||
inkscape:window-width="2560"
|
||||
inkscape:window-height="1369"
|
||||
inkscape:window-x="1912"
|
||||
inkscape:window-y="-8"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg5" />
|
||||
<path
|
||||
d="m 393,1.5 c -3.6,0.7 -8.5,2.1 -11,3 -13.1,4.7 -30.8,19.7 -36.4,30.7 -4.7,9.6 -1.4,12 5.7,4.2 8.9,-9.9 24.7,-19.7 36.7,-22.9 3.2,-0.9 10.1,-1.5 16.6,-1.5 13.8,0 24.3,2.4 37.2,8.6 25.6,12.3 45.4,44.5 48.2,78.7 1,12.3 -0.2,30.4 -2.6,38.7 -2.1,7.4 -2.2,9.5 -0.4,9.5 1.8,0 6.8,-12.1 10.2,-24.5 2,-7.4 2.3,-10.6 2.2,-25.5 C 499.3,85.6 499,82.3 496.7,73.9 489,44.7 468.7,19.4 443.4,7.3 429.7,0.8 408.5,-1.7 393,1.5 Z"
|
||||
id="path1"
|
||||
style="fill:#000000;stroke:none;stroke-width:0.1" />
|
||||
<path
|
||||
d="m 455.3,63.5 c -0.3,0.9 0.6,4.1 2,7.3 6.6,15 8.3,36 4,49.7 -5,15.9 -19.4,34.5 -34,43.9 -19.8,12.8 -53.6,16.2 -79.5,8 -15.3,-4.8 -30.7,-12.9 -40.5,-21.1 -2.8,-2.3 -5.8,-4.3 -6.7,-4.3 -2.8,0 0.5,4.9 8,12 13.7,12.8 24.8,19.5 41.7,25.2 27.7,9.3 54.2,7.5 80.4,-5.4 21.9,-10.8 36.8,-29 43.4,-53.3 4.1,-15 2.2,-33.8 -5.1,-49.3 -5.3,-11.4 -11.8,-17.4 -13.7,-12.7 z"
|
||||
id="path2"
|
||||
style="fill:#000000;stroke:none;stroke-width:0.1" />
|
||||
<path
|
||||
d="m 0,89.4 c 0,23.4 0.4,25.2 7.5,31.4 8.8,7.7 27.3,11.5 45.3,9.2 11.9,-1.5 19.2,-4.1 24.5,-8.9 7.1,-6.4 7.7,-8.8 7.7,-31.9 V 69 H 68.5 52 v 19.3 c 0,21.4 -0.4,23 -6.3,24.5 -3.8,1 -8.7,-0.1 -10.4,-2.5 -1,-1.2 -1.3,-7.2 -1.3,-21.5 V 69 H 17 0 Z"
|
||||
id="path3"
|
||||
style="fill:#000000;stroke:none;stroke-width:0.1" />
|
||||
<path
|
||||
d="m 90,99 v 30 h 52.1 52 l 2.6,-6 2.6,-6 h 12.4 12.4 l 2.6,6 2.6,6 H 263.1 297 V 119 109 H 315.5 334 V 100.5 92 H 315.5 297 V 88.5 85 H 316.5 336 V 77 69 H 299.5 263 v 29.2 c 0,16.1 -0.4,28.8 -0.8,28.3 -0.5,-0.6 -4.8,-10 -9.5,-21 -4.7,-11 -10.2,-23.6 -12.1,-28 l -3.5,-8 -25.3,-0.2 -25.3,-0.3 -4.2,9.8 c -14.5,33.5 -18.7,42.8 -19.4,43.6 -0.5,0.6 -0.9,-1.8 -0.9,-5.7 V 110 H 142.5 123 V 89.5 69 H 106.5 90 Z m 124.9,-3.8 c 0.1,0.5 -1.5,0.8 -3.4,0.8 -1.9,0 -3.5,-0.2 -3.5,-0.5 0,-0.2 0.8,-2.4 1.7,-4.7 l 1.7,-4.2 1.7,4 c 1,2.1 1.8,4.2 1.8,4.6 z"
|
||||
id="path4"
|
||||
style="fill:#000000;stroke:none;stroke-width:0.1" />
|
||||
<path
|
||||
d="m 373,82 v 11 h -18 -18 v 8.5 8.5 h 18 18 V 120.5 131 H 385.5 398 V 120.5 110 H 416.5 435 V 101.5 93 H 416.5 398 V 82 71 H 385.5 373 Z"
|
||||
id="path5"
|
||||
style="fill:#000000;stroke:none;stroke-width:0.1" />
|
||||
</svg>
|
After Width: | Height: | Size: 3.1 KiB |
21
includes/definitions/discovery/ulaf.yaml
Normal file
21
includes/definitions/discovery/ulaf.yaml
Normal file
@ -0,0 +1,21 @@
|
||||
mib: ULAF2-MIB
|
||||
modules:
|
||||
os:
|
||||
version: .1.3.6.1.4.1.1887.1.1.1.2.1.1.0
|
||||
sensors:
|
||||
state:
|
||||
data:
|
||||
-
|
||||
oid: deviceLinkEntry
|
||||
value: deviceLinkAlarm
|
||||
num_oid: '.1.3.6.1.4.1.1887.1.1.3.2.2.1.1.4.{{ $index }}'
|
||||
descr: 'Module {{ $index }} State - {{ $deviceLinkName }}'
|
||||
state_name: deviceLinkAlarm
|
||||
states:
|
||||
- { value: 0, generic: 0, graph: 0, descr: 'no Alarm' }
|
||||
- { value: 1, generic: 2, graph: 0, descr: 'UA' }
|
||||
- { value: 2, generic: 1, graph: 0, descr: 'NUA' }
|
||||
- { value: 3, generic: 1, graph: 0, descr: 'AIS' }
|
||||
- { value: 4, generic: 3, graph: 0, descr: 'unknown' }
|
||||
- { value: 5, generic: 3, graph: 0, descr: 'unknown' }
|
||||
group: 'Modules'
|
10
includes/definitions/ulaf.yaml
Normal file
10
includes/definitions/ulaf.yaml
Normal file
@ -0,0 +1,10 @@
|
||||
os: ulaf
|
||||
text: 'ULAF+'
|
||||
type: network
|
||||
icon: ulaf
|
||||
group: siemens
|
||||
over:
|
||||
- { graph: device_bits, text: 'Device Traffic' }
|
||||
discovery:
|
||||
- sysObjectID:
|
||||
- .1.3.6.1.4.1.1887.1.1.1.2.1.1
|
29457
mibs/siemens/PLUS-MIB
Normal file
29457
mibs/siemens/PLUS-MIB
Normal file
File diff suppressed because it is too large
Load Diff
173
mibs/siemens/TRAP-MIB
Normal file
173
mibs/siemens/TRAP-MIB
Normal file
@ -0,0 +1,173 @@
|
||||
TRAP-MIB DEFINITIONS ::= BEGIN
|
||||
|
||||
IMPORTS
|
||||
TRAP-TYPE
|
||||
FROM RFC-1215
|
||||
devicePortIndex, deviceLinkIndex,
|
||||
deviceLinkName, deviceLinkAlarm, agtPortIndex,
|
||||
agtSWVersion, agtConnectedDevice
|
||||
FROM ULAF2-MIB
|
||||
|
||||
cmrwLocalTokenTicket, extendedTrapsType
|
||||
FROM ULAFPLUS-MIB;
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
lineLinkDown TRAP-TYPE
|
||||
ENTERPRISE devicePortIndex
|
||||
VARIABLES { devicePortIndex, deviceLinkIndex }
|
||||
DESCRIPTION
|
||||
"LineLinkDown
|
||||
|
||||
This trap reports that a line card has been removed from a rack
|
||||
or a desktop line has been disconnected"
|
||||
::= 10
|
||||
|
||||
lineLinkUp TRAP-TYPE
|
||||
ENTERPRISE devicePortIndex
|
||||
VARIABLES { devicePortIndex, deviceLinkIndex, deviceLinkName, deviceLinkAlarm }
|
||||
DESCRIPTION
|
||||
"LineLinkUp
|
||||
|
||||
This trap reports that a line card has been inserted into the rack
|
||||
or that a desktop line has been discovered"
|
||||
::= 11
|
||||
|
||||
deviceLinkDown TRAP-TYPE
|
||||
ENTERPRISE agtPortIndex
|
||||
VARIABLES { agtPortIndex }
|
||||
DESCRIPTION
|
||||
"DeviceLinkDown
|
||||
|
||||
This trap reports that a rack or a desktop device has been disconnected
|
||||
from a proxy agent (not applicable to OMI SNMP)"
|
||||
::= 12
|
||||
|
||||
deviceLinkUp TRAP-TYPE
|
||||
ENTERPRISE agtPortIndex
|
||||
VARIABLES { agtPortIndex, agtConnectedDevice }
|
||||
DESCRIPTION
|
||||
"DeviceLinkUp
|
||||
|
||||
This trap reports that a rack or a desktop device has been connected
|
||||
to a proxy agent (not applicable to OMI SNMP)"
|
||||
::= 13
|
||||
|
||||
warmStart TRAP-TYPE
|
||||
ENTERPRISE agtSWVersion
|
||||
VARIABLES { agtSWVersion }
|
||||
DESCRIPTION
|
||||
"WarmStart
|
||||
|
||||
This trap reports that a proxy agent or OMI SNMP has started"
|
||||
::= 17
|
||||
|
||||
urgentAlarm TRAP-TYPE
|
||||
ENTERPRISE devicePortIndex
|
||||
VARIABLES { devicePortIndex, deviceLinkIndex, deviceLinkAlarm }
|
||||
DESCRIPTION
|
||||
"UrgentAlarm
|
||||
|
||||
This trap reports that an alarm state on a line has changed and
|
||||
that line's current alarm summary is 'Urgent'"
|
||||
::= 18
|
||||
|
||||
nonUrgentAlarm TRAP-TYPE
|
||||
ENTERPRISE devicePortIndex
|
||||
VARIABLES { devicePortIndex, deviceLinkIndex, deviceLinkAlarm }
|
||||
DESCRIPTION
|
||||
"NonUrgentAlarm
|
||||
|
||||
This trap reports that an alarm state on a line has changed and
|
||||
that line's current alarm summary is 'Non-urgent'"
|
||||
::= 19
|
||||
|
||||
noAlarm TRAP-TYPE
|
||||
ENTERPRISE devicePortIndex
|
||||
VARIABLES { devicePortIndex, deviceLinkIndex, deviceLinkAlarm }
|
||||
DESCRIPTION
|
||||
"NoAlarm
|
||||
|
||||
This trap reports that an alarm state on a line has changed and
|
||||
that line's current alarm summary is 'No Alarm'"
|
||||
::= 22
|
||||
|
||||
loopChange TRAP-TYPE
|
||||
ENTERPRISE devicePortIndex
|
||||
VARIABLES { devicePortIndex, deviceLinkIndex }
|
||||
DESCRIPTION
|
||||
"LoopChange
|
||||
|
||||
This trap reports that either a 'loop command' or a 'loop state' has
|
||||
changed on the line"
|
||||
::= 25
|
||||
|
||||
accessChange TRAP-TYPE
|
||||
ENTERPRISE devicePortIndex
|
||||
VARIABLES { devicePortIndex, deviceLinkIndex, cmrwLocalTokenTicket }
|
||||
DESCRIPTION
|
||||
"AccessChange
|
||||
|
||||
This trap reports that either the 'token possesion' has changed or
|
||||
that the 'EOC state' has changed for the line"
|
||||
::= 26
|
||||
|
||||
perform15min TRAP-TYPE
|
||||
ENTERPRISE devicePortIndex
|
||||
VARIABLES { devicePortIndex, deviceLinkIndex }
|
||||
DESCRIPTION
|
||||
"Perform15Min
|
||||
|
||||
This trap reports that a 15 minute performance measurement interval
|
||||
has been completed and new data is ready for retrieval"
|
||||
::= 27
|
||||
|
||||
perform24h TRAP-TYPE
|
||||
ENTERPRISE devicePortIndex
|
||||
VARIABLES { devicePortIndex, deviceLinkIndex }
|
||||
DESCRIPTION
|
||||
"Perform24h
|
||||
|
||||
This trap reports that a 24 hour performance measurement interval
|
||||
has been completed and new data is ready for retrieval"
|
||||
::= 28
|
||||
|
||||
rebootPlus TRAP-TYPE
|
||||
ENTERPRISE devicePortIndex
|
||||
VARIABLES { devicePortIndex, deviceLinkIndex }
|
||||
DESCRIPTION
|
||||
"RebootPlus
|
||||
|
||||
This trap reports that either the LT or the NT of the line
|
||||
has rebooted"
|
||||
::= 29
|
||||
|
||||
berMeasurement TRAP-TYPE
|
||||
ENTERPRISE devicePortIndex
|
||||
VARIABLES { devicePortIndex, deviceLinkIndex }
|
||||
DESCRIPTION
|
||||
"BerMeasurement
|
||||
|
||||
This trap reports that the state of the BER measurement for
|
||||
the line has changed"
|
||||
::= 30
|
||||
|
||||
flashErased TRAP-TYPE
|
||||
ENTERPRISE devicePortIndex
|
||||
VARIABLES { devicePortIndex, deviceLinkIndex }
|
||||
DESCRIPTION
|
||||
"FlashErased
|
||||
|
||||
This trap reports that the flash has been erased (after starting download)"
|
||||
::= 31
|
||||
|
||||
extendedTrap TRAP-TYPE
|
||||
ENTERPRISE devicePortIndex
|
||||
VARIABLES { devicePortIndex, deviceLinkIndex, extendedTrapsType }
|
||||
DESCRIPTION
|
||||
"ExtendedTrap
|
||||
|
||||
This trap reports that an 'extended' trap has been received from the
|
||||
line. The exact cause for the extended trap is contained in the
|
||||
extendedTrapsType variable binding."
|
||||
::= 32
|
||||
END
|
1055
mibs/siemens/ULAF2-MIB
Normal file
1055
mibs/siemens/ULAF2-MIB
Normal file
File diff suppressed because it is too large
Load Diff
334
tests/data/ulaf_1.json
Normal file
334
tests/data/ulaf_1.json
Normal file
@ -0,0 +1,334 @@
|
||||
{
|
||||
"os": {
|
||||
"discovery": {
|
||||
"devices": [
|
||||
{
|
||||
"sysName": "<private>",
|
||||
"sysObjectID": ".1.3.6.1.4.1.1887.1.1.1.2.1.1.0",
|
||||
"sysDescr": "ULAF+ OMI SNMP, (c) 2000 by Siemens Schweiz AG",
|
||||
"sysContact": "<private>",
|
||||
"version": "OMI SNMP V4.00",
|
||||
"hardware": null,
|
||||
"features": null,
|
||||
"location": "<private>",
|
||||
"os": "ulaf",
|
||||
"type": "network",
|
||||
"serial": null,
|
||||
"icon": "ulaf.svg"
|
||||
}
|
||||
]
|
||||
},
|
||||
"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": "cs8900",
|
||||
"ifName": "cs8900",
|
||||
"portName": null,
|
||||
"ifIndex": 1,
|
||||
"ifSpeed": null,
|
||||
"ifSpeed_prev": null,
|
||||
"ifConnectorPresent": null,
|
||||
"ifOperStatus": "up",
|
||||
"ifOperStatus_prev": null,
|
||||
"ifAdminStatus": null,
|
||||
"ifAdminStatus_prev": null,
|
||||
"ifDuplex": null,
|
||||
"ifMtu": null,
|
||||
"ifType": "iso88023Csmacd",
|
||||
"ifAlias": "cs8900",
|
||||
"ifPhysAddress": null,
|
||||
"ifLastChange": 0,
|
||||
"ifVlan": null,
|
||||
"ifTrunk": null,
|
||||
"ignore": 0,
|
||||
"disabled": 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": "cs8900",
|
||||
"ifName": "cs8900",
|
||||
"portName": null,
|
||||
"ifIndex": 1,
|
||||
"ifSpeed": 10000000,
|
||||
"ifSpeed_prev": null,
|
||||
"ifConnectorPresent": null,
|
||||
"ifOperStatus": "up",
|
||||
"ifOperStatus_prev": "up",
|
||||
"ifAdminStatus": "up",
|
||||
"ifAdminStatus_prev": null,
|
||||
"ifDuplex": null,
|
||||
"ifMtu": 1500,
|
||||
"ifType": "iso88023Csmacd",
|
||||
"ifAlias": "cs8900",
|
||||
"ifPhysAddress": "0050bffcd19c",
|
||||
"ifLastChange": 0,
|
||||
"ifVlan": null,
|
||||
"ifTrunk": null,
|
||||
"ignore": 0,
|
||||
"disabled": 0,
|
||||
"deleted": 0,
|
||||
"pagpOperationMode": null,
|
||||
"pagpPortState": null,
|
||||
"pagpPartnerDeviceId": null,
|
||||
"pagpPartnerLearnMethod": null,
|
||||
"pagpPartnerIfIndex": null,
|
||||
"pagpPartnerGroupIfIndex": null,
|
||||
"pagpPartnerDeviceName": null,
|
||||
"pagpEthcOperationMode": null,
|
||||
"pagpDeviceId": null,
|
||||
"pagpGroupIfIndex": null,
|
||||
"ifInUcastPkts": 10826776,
|
||||
"ifInUcastPkts_prev": 0,
|
||||
"ifInUcastPkts_delta": null,
|
||||
"ifInUcastPkts_rate": null,
|
||||
"ifOutUcastPkts": 10811106,
|
||||
"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": 0,
|
||||
"ifInOctets_prev": 0,
|
||||
"ifInOctets_delta": null,
|
||||
"ifInOctets_rate": null,
|
||||
"ifOutOctets": 1103199529,
|
||||
"ifOutOctets_prev": 0,
|
||||
"ifOutOctets_delta": null,
|
||||
"ifOutOctets_rate": null,
|
||||
"poll_prev": null,
|
||||
"ifInNUcastPkts": 15354171,
|
||||
"ifInNUcastPkts_prev": 0,
|
||||
"ifInNUcastPkts_delta": null,
|
||||
"ifInNUcastPkts_rate": null,
|
||||
"ifOutNUcastPkts": 94774,
|
||||
"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": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.1887.1.1.3.2.2.1.1.4.1.0",
|
||||
"sensor_index": "1.0",
|
||||
"sensor_type": "deviceLinkAlarm",
|
||||
"sensor_descr": "Module 1.0 State - OMI",
|
||||
"group": "Modules",
|
||||
"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": "deviceLinkAlarm"
|
||||
},
|
||||
{
|
||||
"sensor_deleted": 0,
|
||||
"sensor_class": "state",
|
||||
"poller_type": "snmp",
|
||||
"sensor_oid": ".1.3.6.1.4.1.1887.1.1.3.2.2.1.1.4.1.4",
|
||||
"sensor_index": "1.4",
|
||||
"sensor_type": "deviceLinkAlarm",
|
||||
"sensor_descr": "Module 1.4 State - unknown.NT",
|
||||
"group": "Modules",
|
||||
"sensor_divisor": 1,
|
||||
"sensor_multiplier": 1,
|
||||
"sensor_current": 3,
|
||||
"sensor_limit": null,
|
||||
"sensor_limit_warn": null,
|
||||
"sensor_limit_low": null,
|
||||
"sensor_limit_low_warn": null,
|
||||
"sensor_alert": 1,
|
||||
"sensor_custom": "No",
|
||||
"entPhysicalIndex": null,
|
||||
"entPhysicalIndex_measured": null,
|
||||
"sensor_prev": null,
|
||||
"user_func": null,
|
||||
"rrd_type": "GAUGE",
|
||||
"state_name": "deviceLinkAlarm"
|
||||
}
|
||||
],
|
||||
"state_indexes": [
|
||||
{
|
||||
"state_name": "deviceLinkAlarm",
|
||||
"state_descr": "no Alarm",
|
||||
"state_draw_graph": 0,
|
||||
"state_value": 0,
|
||||
"state_generic_value": 0
|
||||
},
|
||||
{
|
||||
"state_name": "deviceLinkAlarm",
|
||||
"state_descr": "UA",
|
||||
"state_draw_graph": 0,
|
||||
"state_value": 1,
|
||||
"state_generic_value": 2
|
||||
},
|
||||
{
|
||||
"state_name": "deviceLinkAlarm",
|
||||
"state_descr": "NUA",
|
||||
"state_draw_graph": 0,
|
||||
"state_value": 2,
|
||||
"state_generic_value": 1
|
||||
},
|
||||
{
|
||||
"state_name": "deviceLinkAlarm",
|
||||
"state_descr": "AIS",
|
||||
"state_draw_graph": 0,
|
||||
"state_value": 3,
|
||||
"state_generic_value": 1
|
||||
},
|
||||
{
|
||||
"state_name": "deviceLinkAlarm",
|
||||
"state_descr": "unknown",
|
||||
"state_draw_graph": 0,
|
||||
"state_value": 4,
|
||||
"state_generic_value": 3
|
||||
},
|
||||
{
|
||||
"state_name": "deviceLinkAlarm",
|
||||
"state_descr": "unknown",
|
||||
"state_draw_graph": 0,
|
||||
"state_value": 5,
|
||||
"state_generic_value": 3
|
||||
}
|
||||
]
|
||||
},
|
||||
"poller": "matches discovery"
|
||||
}
|
||||
}
|
157
tests/snmpsim/ulaf_1.snmprec
Normal file
157
tests/snmpsim/ulaf_1.snmprec
Normal file
@ -0,0 +1,157 @@
|
||||
1.3.6.1.2.1.1.1.0|4|ULAF+ OMI SNMP, (c) 2000 by Siemens Schweiz AG
|
||||
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.1887.1.1.1.2.1.1.0
|
||||
1.3.6.1.2.1.1.3.0|67|143376357
|
||||
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|cs8900
|
||||
1.3.6.1.2.1.2.2.1.3.1|2|7
|
||||
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|0050bffcd19c
|
||||
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|0
|
||||
1.3.6.1.2.1.2.2.1.11.1|65|10826776
|
||||
1.3.6.1.2.1.2.2.1.12.1|65|15354171
|
||||
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|1103199529
|
||||
1.3.6.1.2.1.2.2.1.17.1|65|10811106
|
||||
1.3.6.1.2.1.2.2.1.18.1|65|94774
|
||||
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|0
|
||||
1.3.6.1.2.1.2.2.1.22.1|6|0.0
|
||||
1.3.6.1.2.1.4.3.0|65|12520129
|
||||
1.3.6.1.2.1.4.4.0|65|0
|
||||
1.3.6.1.2.1.4.5.0|65|8
|
||||
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|12489408
|
||||
1.3.6.1.2.1.4.10.0|65|10811019
|
||||
1.3.6.1.2.1.4.11.0|65|0
|
||||
1.3.6.1.2.1.4.12.0|65|0
|
||||
1.3.6.1.2.1.4.14.0|65|0
|
||||
1.3.6.1.2.1.4.15.0|65|0
|
||||
1.3.6.1.2.1.4.16.0|65|0
|
||||
1.3.6.1.2.1.4.17.0|65|0
|
||||
1.3.6.1.2.1.4.18.0|65|0
|
||||
1.3.6.1.2.1.4.19.0|65|0
|
||||
1.3.6.1.2.1.4.20.1.2.172.18.1.162|2|1
|
||||
1.3.6.1.2.1.4.20.1.3.172.18.1.162|64|255.255.255.240
|
||||
1.3.6.1.2.1.4.22.1.2.1.172.18.1.161|4x|D818D37FAF65
|
||||
1.3.6.1.2.1.5.1.0|65|2438838
|
||||
1.3.6.1.2.1.5.2.0|65|0
|
||||
1.3.6.1.2.1.5.3.0|65|434
|
||||
1.3.6.1.2.1.5.4.0|65|1
|
||||
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|9
|
||||
1.3.6.1.2.1.5.8.0|65|2438394
|
||||
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|2438394
|
||||
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|2438394
|
||||
1.3.6.1.2.1.5.23.0|65|0
|
||||
1.3.6.1.2.1.5.24.0|65|0
|
||||
1.3.6.1.2.1.5.25.0|65|0
|
||||
1.3.6.1.2.1.5.26.0|65|0
|
||||
1.3.6.1.2.1.6.5.0|65|0
|
||||
1.3.6.1.2.1.6.6.0|65|0
|
||||
1.3.6.1.2.1.6.7.0|65|1
|
||||
1.3.6.1.2.1.6.8.0|65|54
|
||||
1.3.6.1.2.1.6.9.0|66|0
|
||||
1.3.6.1.2.1.6.10.0|65|192389
|
||||
1.3.6.1.2.1.6.11.0|65|180920
|
||||
1.3.6.1.2.1.6.12.0|65|149
|
||||
1.3.6.1.2.1.6.14.0|65|0
|
||||
1.3.6.1.2.1.6.15.0|65|0
|
||||
1.3.6.1.2.1.7.1.0|65|9858226
|
||||
1.3.6.1.2.1.7.2.0|65|1662847
|
||||
1.3.6.1.2.1.7.3.0|65|0
|
||||
1.3.6.1.2.1.7.4.0|65|8191749
|
||||
1.3.6.1.2.1.11.1.0|65|8195350
|
||||
1.3.6.1.2.1.11.2.0|65|8191720
|
||||
1.3.6.1.2.1.11.3.0|65|3631
|
||||
1.3.6.1.2.1.11.4.0|65|0
|
||||
1.3.6.1.2.1.11.5.0|65|0
|
||||
1.3.6.1.2.1.11.6.0|65|0
|
||||
1.3.6.1.2.1.11.8.0|65|0
|
||||
1.3.6.1.2.1.11.9.0|65|0
|
||||
1.3.6.1.2.1.11.10.0|65|0
|
||||
1.3.6.1.2.1.11.11.0|65|0
|
||||
1.3.6.1.2.1.11.12.0|65|0
|
||||
1.3.6.1.2.1.11.13.0|65|8969537
|
||||
1.3.6.1.2.1.11.14.0|65|0
|
||||
1.3.6.1.2.1.11.15.0|65|7720406
|
||||
1.3.6.1.2.1.11.16.0|65|471326
|
||||
1.3.6.1.2.1.11.17.0|65|0
|
||||
1.3.6.1.2.1.11.18.0|65|0
|
||||
1.3.6.1.2.1.11.19.0|65|0
|
||||
1.3.6.1.2.1.11.20.0|65|0
|
||||
1.3.6.1.2.1.11.21.0|65|0
|
||||
1.3.6.1.2.1.11.22.0|65|0
|
||||
1.3.6.1.2.1.11.24.0|65|0
|
||||
1.3.6.1.2.1.11.25.0|65|0
|
||||
1.3.6.1.2.1.11.26.0|65|0
|
||||
1.3.6.1.2.1.11.27.0|65|0
|
||||
1.3.6.1.2.1.11.28.0|65|8191743
|
||||
1.3.6.1.2.1.11.29.0|65|1
|
||||
1.3.6.1.4.1.1887.1.1.1.2.1.1.0|4|OMI SNMP V4.00
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.1.1.0|2|1
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.1.1.4|2|1
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.2.1.0|2|0
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.2.1.4|2|4
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.3.1.0|4|OMI
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.3.1.4|4|unknown.NT
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.4.1.0|2|0
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.4.1.4|2|3
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.5.1.0|2|255
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.5.1.4|2|255
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.6.1.0|4|341
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.6.1.4|4|661
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.7.1.0|4|unsupported
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.7.1.4|4|unsupported
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.8.1.0|2|255
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.8.1.4|2|255
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.9.1.0|2|255
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.9.1.4|2|255
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.10.1.0|2|128
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.10.1.4|2|128
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.11.1.0|2|128
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.11.1.4|2|128
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.12.1.0|4|S3118-Q300-A4
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.12.1.4|4|unsupported
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.13.1.0|4|unsupported
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.13.1.4|4|unsupported
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.14.1.0|4|unsupported
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.14.1.4|4|unsupported
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.15.1.0|4|unsupported
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.15.1.4|4|unsupported
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.16.1.0|4x|C06000000000000010000000000000000a3030203030203030203030203030203030203030203030203030203030203030203030203030203030203030203030200a303120
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.16.1.4|4x|000000000000000000000000000000000a3030203030203030203030203030203030203030203030203030203030203030203030203030203030203030203030200a464620
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.17.1.0|4x|000000000000000000000000000000000a3030203030203030203030203030203030203030203030203030203030203030203030203030203030203030203030200a464620
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.17.1.4|4x|000000000000000000000000000000000a3030203030203030203030203030203030203030203030203030203030203030203030203030203030203030203030200a464620
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.18.1.0|2|255
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.18.1.4|2|255
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.19.1.0|4x|000000000000000000000000000000000a3030203030203030203030203030203030203030203030203030203030203030203030203030203030203030203030200a464620
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.19.1.4|4x|000000000000000000000000000000000a3030203030203030203030203030203030203030203030203030203030203030203030203030203030203030203030200a464620
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.20.1.0|2|255
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.20.1.4|2|255
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.21.1.0|2|255
|
||||
1.3.6.1.4.1.1887.1.1.3.2.2.1.1.21.1.4|2|255
|
Loading…
Reference in New Issue
Block a user