Riello UPS os definition with RFC 1628 support (#9962)

* Riello RFC 1628

* tests + logo

* private mibs

* private mibs
This commit is contained in:
PipoCanaja 2019-03-18 03:54:19 +01:00 committed by Tony Murray
parent 70437ae42b
commit 16f7e6c697
9 changed files with 4513 additions and 0 deletions

BIN
html/images/os/riello.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

@ -0,0 +1,12 @@
os: riello
text: 'Riello UPS'
type: power
icon: riello
rfc1628_compat: true
over:
- { graph: device_current, text: Current }
mib_dir:
- riello
discovery:
- sysObjectID:
- .1.3.6.1.4.1.5491.304

34
mibs/riello/RIELLO-MIB Normal file
View File

@ -0,0 +1,34 @@
-- RPS S.p.A enterprise MIB definition
-- Copyright (c) RPS S.p.A.
-- Version: 1.0 by Michele Marcon
-- Date: 1.04.2016
-- Title: RIELLO MIB
-- ************************************************************************
-- ************************************************************************
-- RIELLO-MIB { iso org(3) dod(6) internet(1) private(4)
-- enterprises(1) riello(5491) }
RIELLO-MIB DEFINITIONS ::= BEGIN
IMPORTS
enterprises, MODULE-IDENTITY FROM SNMPv2-SMI;
rielloMIB MODULE-IDENTITY
LAST-UPDATED "201602230000Z"
ORGANIZATION "RPS S.p.A"
CONTACT-INFO
" Michele Marcon
E-mail: info@riello-ups.com"
DESCRIPTION
"The MIB module to describe Riello devices."
REVISION "201602230000Z"
DESCRIPTION "Latest avaialble" ::= { enterprises 5491 }
END

386
mibs/riello/RIELLOMDU-MIB Normal file
View File

@ -0,0 +1,386 @@
-- RPS S.p.A enterprise MIB definition
-- Copyright (c) RPS S.p.A.
-- Version: 1.0 by Michele Marcon
-- Date: 1.04.2016
-- Title: RIELLOMDU-MIB
-- MDU-MIB { iso org(3) dod(6) internet(1) private(4)
-- enterprises(1) riello(5491) }
-- ************************************************************************
-- ************************************************************************
RIELLOMDU-MIB DEFINITIONS ::= BEGIN
IMPORTS
DisplayString
FROM RFC1213-MIB
OBJECT-TYPE
FROM RFC-1212
TRAP-TYPE
FROM RFC-1215
rielloMIB
FROM RIELLO-MIB;
mduMIB OBJECT IDENTIFIER ::= { rielloMIB 11 }
mduIdent OBJECT IDENTIFIER ::= { mduMIB 1 }
mduIdentManufacturer OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The name of the mdu manufacturer."
::= { mduIdent 1 }
mduIdentModel OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The mdu Model designation."
::= { mduIdent 2 }
mduIdentSoftwareVersion OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The mdu Software version."
::= { mduIdent 3 }
mduIdentIOConfiguration OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The mdu input/output configuration (1 for Mono/mono, 4 for Tri/tri)."
::= { mduIdent 4 }
mduIdentInputSockets OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The number of mdu input sockets."
::= { mduIdent 5 }
mduIdentOutputSockets OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The number of mdu output sockets."
::= { mduIdent 6 }
mduIdentNominalCurrent OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The mdu nominal current (A)."
::= { mduIdent 7 }
mduIdentNominalVoltage OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The mdu nominal voltage (V)."
::= { mduIdent 8 }
mduIdentNominalFrequency OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The mdu nominal frequency (0.1 Hz)."
::= { mduIdent 9 }
mduStatus OBJECT IDENTIFIER ::= { mduMIB 2 }
mduLineAFrequency OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The frequency of source A (0.1 Hz)."
::= { mduStatus 1 }
mduLineAVoltage OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The voltage of source 1 (V)."
::= { mduStatus 2 }
mduLineACurrent OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The current of line A (0.1 A)."
::= { mduStatus 3 }
mduOutput OBJECT-TYPE
SYNTAX SEQUENCE OF MduOutputSockets
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"A list of output table entries."
::= { mduStatus 4 }
mduOutputSockets OBJECT-TYPE
SYNTAX MduOutputSockets
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"An entry containing information applicable to a
particular output line."
INDEX { mduOutputLineIndex }
::= { mduOutput 1 }
MduOutputSockets ::=
SEQUENCE {
mduOutputLineIndex
INTEGER,
mduOutputCurrent
INTEGER,
mduOutputDisabled
INTEGER,
mduOutputOverload
INTEGER,
mduOutputStatus
INTEGER
}
mduOutputLineIndex OBJECT-TYPE
SYNTAX INTEGER (1..2147483647)
ACCESS not-accessible
STATUS mandatory
DESCRIPTION
"The line identifier."
::= { mduOutputSockets 1 }
mduOutputCurrent OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Output current (0.1 A)"
::= { mduOutputSockets 2 }
mduOutputDisabled OBJECT-TYPE
SYNTAX INTEGER {
no(1),
yes(2)
}
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1->line active, 2->line deactivated"
::= { mduOutputSockets 3 }
mduOutputOverload OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1->line ok, 2->line deactivated for overload"
::= { mduOutputSockets 4 }
mduOutputStatus OBJECT-TYPE
SYNTAX INTEGER{
off(0),
on(1),
shutdownActive(2),
shutdownImminent(3),
restoreActive(4),
overload(5),
locked(6)
}
ACCESS read-only
STATUS mandatory
DESCRIPTION
"0=OFF
1=ON
2= Shutdown active (when a CS or a CR command is received but shutdown is not yet been executed and the "Imminent time" is not reached)
3= Shutdown imminent (S01 ÷ S08 code)
4= Restore active (when after that a CR command is received and the shutdown has been acted but the restore delay time is not expired)
5= Overload alarm (F01 ÷ F08 code)
6= Locked: OFF for overload (L01 ÷ L08 code)"
::= { mduOutputSockets 5 }
mduLowInputVoltage OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= yes, 0= no."
::= { mduStatus 5 }
mduHighInputVoltage OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= yes, 0= no."
::= { mduStatus 6 }
mduLowInputCurrent OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= yes, 0= no."
::= { mduStatus 7 }
mduHighInputCurrent OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= yes, 0= no."
::= { mduStatus 8 }
mduPowerFailAux1 OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= yes, 0= no."
::= { mduStatus 9 }
mduPowerFailAux2 OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= yes, 0= no."
::= { mduStatus 10 }
mduManualBypass OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= on manual bypass, 0= no."
::= { mduStatus 11 }
mduTemperature OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The temperature (°C)."
::= { mduStatus 12 }
mduCommand OBJECT IDENTIFIER ::= { mduMIB 3 }
mduCommandCode OBJECT-TYPE
SYNTAX INTEGER {
shutdown(1),
restore(2),
commandDelete(3),
testPanel(22)
}
ACCESS read-write
STATUS mandatory
DESCRIPTION
"This object determines the nature of the action to be
taken at the time when the countdown of the
mduShutdownDelay and mduRestoreDelay objects reaches zero.
Setting this object to shutdown(1) indicates that
the specified sockets mduOutputSocketApplyCommand will yurn off.
Setting this object to restore(2) indicates that the specified output
sockets will turn on.
command delete(3) will delete the applied command, test panel will perform
a test of LCD panel and audible alarm"
::= { mduCommand 1 }
mduShutdownDelay OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-write
STATUS mandatory
DESCRIPTION
"Setting this object will shutdown (i.e., turn off)
either the MDU output socket by the value of mduCommandCode
at the time of shutdown after the indicated number of seconds.
Setting this object to 0 will cause the shutdown to occur
immediately"
::= { mduCommand 2 }
mduRestoreDelay OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-write
STATUS mandatory
DESCRIPTION
"The restore delay."
::= { mduCommand 3 }
mduOutputSocketApplyCommand OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-write
STATUS mandatory
DESCRIPTION
"Specify the socket to apply the command, the value 0 apply to all sockets."
::= { mduCommand 4 }
mduCommandResult OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The command result, refer to the follow codes:
0+mduCommandCode Command in progress
256+mduCommandCode Wrong Command code
512+mduCommandCode Command is not handled
768+mduCommandCode Parameter out of range
3584+mduCommandCode Command sent to MDU
3840+mduCommandCode Command executed"
::= { mduCommand 5 }
mduTraps OBJECT IDENTIFIER ::= { mduMIB 4 }
-- This section defines the well-known notifications sent by
-- MDU agents.
-- Care must be taken to insure that no particular notification
-- is sent to a single receiving entity more often than once
-- every minute.
mduNormal TRAP-TYPE
ENTERPRISE mduTraps
DESCRIPTION "This trap is sent when MDU is on normal status"
::= 1
mduAnomaly TRAP-TYPE
ENTERPRISE mduTraps
DESCRIPTION "This trap is sent when MDU is has some anomaly and is resent every minute"
::= 2
mduFault TRAP-TYPE
ENTERPRISE mduTraps
DESCRIPTION "This trap is sent when MDU is has some fault and is resent every minute"
::= 3
mduLock TRAP-TYPE
ENTERPRISE mduTraps
DESCRIPTION "This trap is sent when MDU is locked and is resent every minute"
::= 4
mduManualBypassEnabled TRAP-TYPE
ENTERPRISE mduTraps
DESCRIPTION "This trap is sent when MDU is on manual bypass and is resent every minute"
::= 5
END

592
mibs/riello/RIELLOMTS-MIB Normal file
View File

@ -0,0 +1,592 @@
-- RPS S.p.A enterprise MIB definition
-- Copyright (c) RPS S.p.A.
-- Version: 1.0.1 by Michele Marcon
-- Date: 07.06.2017
-- Title: RIELLOMTS-MIB
-- MDU-MIB { iso org(3) dod(6) internet(1) private(4)
-- enterprises(1) riello(5491) }
-- ************************************************************************
-- ************************************************************************
RIELLOMTS-MIB DEFINITIONS ::= BEGIN
IMPORTS
DisplayString
FROM RFC1213-MIB
OBJECT-TYPE
FROM RFC-1212
TRAP-TYPE
FROM RFC-1215
rielloMIB
FROM RIELLO-MIB;
mtsMIB OBJECT IDENTIFIER ::= { rielloMIB 12 }
mtsIdent OBJECT IDENTIFIER ::= { mtsMIB 1 }
mtsIdentManufacturer OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The name of the mts manufacturer."
::= { mtsIdent 1 }
mtsIdentModel OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The mts Model designation."
::= { mtsIdent 2 }
mtsIdentSoftwareVersion OBJECT-TYPE
SYNTAX DisplayString
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The mts Software version."
::= { mtsIdent 3 }
mtsIdentIOConfiguration OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The mts input/output configuration (1 for Mono/mono, 4 for Tri/tri)."
::= { mtsIdent 4 }
mtsIdentType OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The mts type (5 for ATS, 6 for STS)."
::= { mtsIdent 5 }
mtsIdentInputSockets OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The number of mts input sockets."
::= { mtsIdent 6 }
mtsIdentOutputSockets OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The number of mts output sockets."
::= { mtsIdent 7 }
mtsIdentNominalCurrent OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The mts nominal current (A)."
::= { mtsIdent 8 }
mtsIdentNominalVoltage OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The mts nominal voltage (V)."
::= { mtsIdent 9 }
mtsIdentNominalFrequency OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The mts nominal frequency (0.1 Hz)."
::= { mtsIdent 10 }
mtsStatus OBJECT IDENTIFIER ::= { mtsMIB 2 }
mtsS1Frequency OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The frequency of source 1 (0.1 Hz)."
::= { mtsStatus 1 }
mtsS1VoltageL1 OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The voltage of source 1, line 1 (V)."
::= { mtsStatus 2 }
mtsS1VoltageL2 OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The voltage of source 1, line 2 (V)."
::= { mtsStatus 3 }
mtsS1VoltageL3 OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The voltage of source 1, line 3 (V)."
::= { mtsStatus 4 }
mtsS2Frequency OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The frequency of source 2 (0.1 Hz)."
::= { mtsStatus 5 }
mtsS2VoltageL1 OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The voltage of source 2, line 1 (V)."
::= { mtsStatus 6 }
mtsS2VoltageL2 OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The voltage of source 2, line 2 (V)."
::= { mtsStatus 7 }
mtsS2VoltageL3 OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The voltage of source 2, line 3 (V)."
::= { mtsStatus 8 }
mtsPhaseDifference OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"Phase difference between sources (degrees)."
::= { mtsStatus 9 }
mtsLoadL1 OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The output load of line 1 (%)."
::= { mtsStatus 10 }
mtsLoadL2 OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The output load of line 2 (%)."
::= { mtsStatus 11 }
mtsLoadL3 OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The output load of line 3 (%)."
::= { mtsStatus 12 }
mtsOutputCurrentL1 OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The output load current of line 1 (0.1 A)."
::= { mtsStatus 13 }
mtsOutputCurrentL2 OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The output load current of line 2 (0.1 A)."
::= { mtsStatus 14 }
mtsOutputCurrentL3 OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The output load current of line 3 (0.1 A)."
::= { mtsStatus 15 }
mtsTemperature OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The temperature (degrees C)."
::= { mtsStatus 16 }
mtsSoundOff OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= sound on, 0= sound off."
::= { mtsStatus 17 }
mtsTestInProgress OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= test in progress, 0= test not in progress."
::= { mtsStatus 18 }
mtsAuxPower2fail OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= fail, 0= not fail."
::= { mtsStatus 19 }
mtsAuxPower1fail OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= fail, 0= not fail."
::= { mtsStatus 20 }
mtsSynchrobad OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= bad, 0= not bad."
::= { mtsStatus 21 }
mtsPreferredSource OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= S2, 0= S1."
::= { mtsStatus 22 }
mtsTransferhinibit OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= hinibit, 0= not hinibit."
::= { mtsStatus 23 }
mtsNonSynchInibit OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= yes, 0= no."
::= { mtsStatus 24 }
mtsSourceS2bad OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= bad, 0= not bad."
::= { mtsStatus 25 }
mtsSourceS1bad OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= bad, 0= not bad."
::= { mtsStatus 26 }
mtsOnSourceS2 OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= yes, 0= no."
::= { mtsStatus 27 }
mtsOnSourceS1 OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= yes, 0= no."
::= { mtsStatus 28 }
mtsLocked OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= locked, 0= not locked."
::= { mtsStatus 29 }
mtsOutputSwitchOff OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= yes, 0= no."
::= { mtsStatus 30 }
mtsS2Blackout OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= blackout, 0= no blackout."
::= { mtsStatus 31 }
mtsS2PhaseseqNotok OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= yes, 0= no."
::= { mtsStatus 32 }
mtsS2VoltOutoftolerance OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= yes, 0= no."
::= { mtsStatus 33 }
mtsS1SCRAlternateLoss OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= yes, 0= no."
::= { mtsStatus 34 }
mtsS1InputSWOff OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= yes, 0= no."
::= { mtsStatus 35 }
mtsS1Frequencybad OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= bad, 0= not bad."
::= { mtsStatus 36 }
mtsS1Balancebad OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= yes, 0= no."
::= { mtsStatus 37 }
mtsS1Blackout OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= yes, 0= no."
::= { mtsStatus 38 }
mtsS1PhaseseqNotok OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= yes, 0= no."
::= { mtsStatus 39 }
mtsS1VoltOutoftolerance OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= yes, 0= no."
::= { mtsStatus 40 }
mtsUserlogin OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= yes, 0= no."
::= { mtsStatus 41 }
mtsAlarmTemperature OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= yes, 0= no."
::= { mtsStatus 42 }
mtsAlarmOverload OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= yes, 0= no."
::= { mtsStatus 43 }
mtsGeneralFailure OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= yes, 0= no."
::= { mtsStatus 44 }
mtsS2InputMCCBtrip OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= yes, 0= no."
::= { mtsStatus 45 }
mtsS1InputMCCBtrip OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= yes, 0= no."
::= { mtsStatus 46 }
mtsServicelogin OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= yes, 0= no."
::= { mtsStatus 47 }
mtsOutputSCRalternanceloss OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= yes, 0= no."
::= { mtsStatus 48 }
mtsManBypassS2 OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= yes, 0= no."
::= { mtsStatus 49 }
mtsManBypassS1 OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= yes, 0= no."
::= { mtsStatus 50 }
mtsManTransferS2 OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= yes, 0= no."
::= { mtsStatus 51 }
mtsManTransferS1 OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= yes, 0= no."
::= { mtsStatus 52 }
mtsS2SCRalternanceloss OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= yes, 0= no."
::= { mtsStatus 53 }
mtsS2InputSWoff OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= yes, 0= no."
::= { mtsStatus 54 }
mtsS2Frequencybad OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= yes, 0= no."
::= { mtsStatus 55 }
mtsS2Balancebad OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"1= yes, 0= no."
::= { mtsStatus 56 }
mtsTraps OBJECT IDENTIFIER ::= { mtsMIB 4 }
mtsNormal TRAP-TYPE
ENTERPRISE mtsTraps
DESCRIPTION "This trap is sent when STS is on normal status"
::= 1
mtsAnomaly TRAP-TYPE
ENTERPRISE mtsTraps
DESCRIPTION "This trap is sent when STS is has some anomaly and is resent every minute"
::= 2
mtsFault TRAP-TYPE
ENTERPRISE mtsTraps
DESCRIPTION "This trap is sent when STS is has some fault and is resent every minute"
::= 3
mtsLock TRAP-TYPE
ENTERPRISE mtsTraps
DESCRIPTION "This trap is sent when STS is locked and is resent every minute"
::= 4
mtsManualBypassEnabled TRAP-TYPE
ENTERPRISE mtsTraps
DESCRIPTION "This trap is sent when STS is on manual bypass and is resent every minute"
::= 5
END

1643
mibs/riello/RIELLOUPS-MIB Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,97 @@
-- IRMS-MIB { iso org(3) dod(6) internet(1) private(4)
-- enterprises(1) riello(5491) }
SENSORTRAP-MIB DEFINITIONS ::= BEGIN
-- Title: SENSOR TRAP MIB
-- Version: 1.0 by Michele Marcon
-- Date: 02.11.2009
IMPORTS
enterprises
FROM RFC1155-SMI
OBJECT-TYPE
FROM RFC-1212
TRAP-TYPE
FROM RFC-1215;
rielloMIB OBJECT IDENTIFIER ::= { enterprises 5491 }
sensorgroup OBJECT IDENTIFIER ::= { rielloMIB 9 }
sensor OBJECT IDENTIFIER ::= { sensorgroup 1 }
sensorId OBJECT-TYPE
SYNTAX INTEGER
ACCESS read-only
STATUS mandatory
DESCRIPTION
"The number of the sensor."
::= { sensor 1 }
sensorTrapGroup OBJECT IDENTIFIER ::= { sensor 2 }
sensorAlarmTMax TRAP-TYPE
ENTERPRISE sensorTrapGroup
VARIABLES { sensorId }
DESCRIPTION "This trap is sent each minute when temperature reaches maximum level"
::= 1
sensorAlarmTMaxRemoved TRAP-TYPE
ENTERPRISE sensorTrapGroup
VARIABLES { sensorId }
DESCRIPTION "This trap is sent when temperature returns to standard level"
::= 2
sensorAlarmTMin TRAP-TYPE
ENTERPRISE sensorTrapGroup
VARIABLES { sensorId }
DESCRIPTION "This trap is sent each minute when temperature reaches minimum level"
::= 3
sensorAlarmTMinRemoved TRAP-TYPE
ENTERPRISE sensorTrapGroup
VARIABLES { sensorId }
DESCRIPTION "This trap is sent when temperature returns to standard level"
::= 4
sensorIOAlarm TRAP-TYPE
ENTERPRISE sensorTrapGroup
VARIABLES { sensorId }
DESCRIPTION "This trap is sent each minute when input contact is in alarm"
::= 5
sensorIOAlarmRemoved TRAP-TYPE
ENTERPRISE sensorTrapGroup
VARIABLES { sensorId }
DESCRIPTION "This trap is sent when input contact is normal"
::= 6
sensorHumidityAlarm TRAP-TYPE
ENTERPRISE sensorTrapGroup
VARIABLES { sensorId }
DESCRIPTION "This trap is sent each minute when humidity reaches maximum level"
::= 7
sensorHumidityAlarmRemoved TRAP-TYPE
ENTERPRISE sensorTrapGroup
VARIABLES { sensorId }
DESCRIPTION "This trap is sent when humidity returns to normal level"
::= 8
sensorHumidityLowAlarm TRAP-TYPE
ENTERPRISE sensorTrapGroup
VARIABLES { sensorId }
DESCRIPTION "This trap is sent each minute when humidity reaches minimum level"
::= 9
sensorHumidityLowAlarmRemoved TRAP-TYPE
ENTERPRISE sensorTrapGroup
VARIABLES { sensorId }
DESCRIPTION "This trap is sent when humidity returns to normal level"
::= 10
END

1588
tests/data/riello.json Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,161 @@
1.3.6.1.2.1.1.1.0|4|Netman 204
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.5491.304
1.3.6.1.2.1.1.3.0|67|51669102
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.1.2|2|2
1.3.6.1.2.1.2.2.1.2.1|4|Loopback Interface
1.3.6.1.2.1.2.2.1.2.2|4|RPS Wired Network
1.3.6.1.2.1.2.2.1.3.1|2|24
1.3.6.1.2.1.2.2.1.3.2|2|6
1.3.6.1.2.1.2.2.1.4.1|2|1500
1.3.6.1.2.1.2.2.1.4.2|2|1500
1.3.6.1.2.1.2.2.1.5.1|66|10000000
1.3.6.1.2.1.2.2.1.5.2|66|100000000
1.3.6.1.2.1.2.2.1.6.1|4|
1.3.6.1.2.1.2.2.1.6.2|4|0:2:63:6:65:d8
1.3.6.1.2.1.2.2.1.7.1|2|1
1.3.6.1.2.1.2.2.1.7.2|2|1
1.3.6.1.2.1.2.2.1.8.1|2|1
1.3.6.1.2.1.2.2.1.8.2|2|1
1.3.6.1.2.1.2.2.1.9.1|67|0
1.3.6.1.2.1.2.2.1.9.2|67|0
1.3.6.1.2.1.2.2.1.10.1|65|0
1.3.6.1.2.1.2.2.1.10.2|65|186741460
1.3.6.1.2.1.2.2.1.11.1|65|0
1.3.6.1.2.1.2.2.1.11.2|65|1171399
1.3.6.1.2.1.2.2.1.12.1|65|0
1.3.6.1.2.1.2.2.1.12.2|65|0
1.3.6.1.2.1.2.2.1.13.1|65|0
1.3.6.1.2.1.2.2.1.13.2|65|0
1.3.6.1.2.1.2.2.1.14.1|65|0
1.3.6.1.2.1.2.2.1.14.2|65|0
1.3.6.1.2.1.2.2.1.15.1|65|0
1.3.6.1.2.1.2.2.1.15.2|65|0
1.3.6.1.2.1.2.2.1.16.1|65|0
1.3.6.1.2.1.2.2.1.16.2|65|288042756
1.3.6.1.2.1.2.2.1.17.1|65|0
1.3.6.1.2.1.2.2.1.17.2|65|515513
1.3.6.1.2.1.2.2.1.18.1|65|0
1.3.6.1.2.1.2.2.1.18.2|65|0
1.3.6.1.2.1.2.2.1.19.1|65|0
1.3.6.1.2.1.2.2.1.19.2|65|0
1.3.6.1.2.1.2.2.1.20.1|65|0
1.3.6.1.2.1.2.2.1.20.2|65|0
1.3.6.1.2.1.2.2.1.21.1|66|0
1.3.6.1.2.1.2.2.1.21.2|66|0
1.3.6.1.2.1.2.2.1.22.1|6|0.0
1.3.6.1.2.1.2.2.1.22.2|6|1.3.6.1
1.3.6.1.2.1.4.20.1.2.127.0.0.1|2|1
1.3.6.1.2.1.4.20.1.2.192.168.1.250|2|2
1.3.6.1.2.1.4.20.1.3.127.0.0.1|64|255.0.0.0
1.3.6.1.2.1.4.20.1.3.192.168.1.250|64|255.255.255.0
1.3.6.1.2.1.4.22.1.2.2.192.168.1.1|4|30:30:3a:32:35:3a:39:30:3a:64:30:3a:62:61:3a:30:30
1.3.6.1.2.1.4.22.1.2.2.192.168.1.90|4|30:63:3a:63:34:3a:37:61:3a:62:30:3a:35:66:3a:33:30
1.3.6.1.2.1.4.22.1.2.2.192.168.1.91|4|30:30:3a:32:35:3a:39:30:3a:65:33:3a:35:64:3a:61:38
1.3.6.1.2.1.4.22.1.2.2.192.168.1.100|4|30:63:3a:63:34:3a:37:61:3a:62:30:3a:36:30:3a:39:32
1.3.6.1.2.1.4.22.1.2.2.192.168.1.101|4|30:30:3a:32:35:3a:39:30:3a:65:33:3a:35:64:3a:61:38
1.3.6.1.2.1.4.22.1.2.2.192.168.1.110|4|30:63:3a:63:34:3a:37:61:3a:62:30:3a:35:66:3a:33:30
1.3.6.1.2.1.5.1.0|65|7251
1.3.6.1.2.1.5.2.0|65|136
1.3.6.1.2.1.5.3.0|65|0
1.3.6.1.2.1.5.4.0|65|2
1.3.6.1.2.1.5.5.0|65|0
1.3.6.1.2.1.5.6.0|65|0
1.3.6.1.2.1.5.7.0|65|0
1.3.6.1.2.1.5.8.0|65|0
1.3.6.1.2.1.5.9.0|65|7249
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|0
1.3.6.1.2.1.5.15.0|65|7113
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|0
1.3.6.1.2.1.5.23.0|65|7113
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.11.1.0|65|0
1.3.6.1.2.1.11.2.0|65|0
1.3.6.1.2.1.11.3.0|65|0
1.3.6.1.2.1.11.4.0|65|0
1.3.6.1.2.1.11.5.0|65|0
1.3.6.1.2.1.11.6.0|65|0
1.3.6.1.2.1.11.8.0|65|0
1.3.6.1.2.1.11.9.0|65|0
1.3.6.1.2.1.11.10.0|65|0
1.3.6.1.2.1.11.11.0|65|0
1.3.6.1.2.1.11.12.0|65|0
1.3.6.1.2.1.11.13.0|65|0
1.3.6.1.2.1.11.14.0|65|0
1.3.6.1.2.1.11.15.0|65|0
1.3.6.1.2.1.11.16.0|65|0
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|0
1.3.6.1.2.1.11.29.0|65|0
1.3.6.1.2.1.11.30.0|2|0
1.3.6.1.2.1.11.31.0|65|0
1.3.6.1.2.1.11.32.0|65|0
1.3.6.1.2.1.33.1.1.1.0|4|RPS SpA
1.3.6.1.2.1.33.1.2.1.0|2|2
1.3.6.1.2.1.33.1.2.2.0|2|0
1.3.6.1.2.1.33.1.2.3.0|2|135
1.3.6.1.2.1.33.1.2.4.0|2|100
1.3.6.1.2.1.33.1.2.5.0|2|1225
1.3.6.1.2.1.33.1.2.6.0|2|-1
1.3.6.1.2.1.33.1.2.7.0|2|37
1.3.6.1.2.1.33.1.3.3.1.2.1|2|501
1.3.6.1.2.1.33.1.3.3.1.2.2|2|0
1.3.6.1.2.1.33.1.3.3.1.2.3|2|0
1.3.6.1.2.1.33.1.3.3.1.3.1|2|242
1.3.6.1.2.1.33.1.3.3.1.3.2|2|0
1.3.6.1.2.1.33.1.3.3.1.3.3|2|0
1.3.6.1.2.1.33.1.3.3.1.4.1|2|-1
1.3.6.1.2.1.33.1.3.3.1.4.2|2|-1
1.3.6.1.2.1.33.1.3.3.1.4.3|2|-1
1.3.6.1.2.1.33.1.3.3.1.5.1|2|0
1.3.6.1.2.1.33.1.3.3.1.5.2|2|0
1.3.6.1.2.1.33.1.3.3.1.5.3|2|0
1.3.6.1.2.1.33.1.4.1.0|2|3
1.3.6.1.2.1.33.1.4.2.0|2|501
1.3.6.1.2.1.33.1.4.4.1.2.1|2|231
1.3.6.1.2.1.33.1.4.4.1.2.2|2|0
1.3.6.1.2.1.33.1.4.4.1.2.3|2|0
1.3.6.1.2.1.33.1.4.4.1.3.1|2|11
1.3.6.1.2.1.33.1.4.4.1.3.2|2|0
1.3.6.1.2.1.33.1.4.4.1.3.3|2|0
1.3.6.1.2.1.33.1.4.4.1.4.1|2|184
1.3.6.1.2.1.33.1.4.4.1.4.2|2|0
1.3.6.1.2.1.33.1.4.4.1.4.3|2|0
1.3.6.1.2.1.33.1.4.4.1.5.1|2|8
1.3.6.1.2.1.33.1.4.4.1.5.2|2|0
1.3.6.1.2.1.33.1.4.4.1.5.3|2|0
1.3.6.1.2.1.33.1.5.1.0|2|501
1.3.6.1.2.1.33.1.5.3.1.2.1|2|242
1.3.6.1.2.1.33.1.5.3.1.2.2|2|0
1.3.6.1.2.1.33.1.5.3.1.2.3|2|0
1.3.6.1.2.1.33.1.5.3.1.3.1|2|0
1.3.6.1.2.1.33.1.5.3.1.3.2|2|0
1.3.6.1.2.1.33.1.5.3.1.3.3|2|0
1.3.6.1.2.1.33.1.5.3.1.4.1|2|0
1.3.6.1.2.1.33.1.5.3.1.4.2|2|0
1.3.6.1.2.1.33.1.5.3.1.4.3|2|0
1.3.6.1.6.3.10.2.1.3.0|2|516722