TMF642 Alarm Management API User Guide v4.0.0
TMF642 Alarm Management API User Guide v4.0.0
TMF642
Team Approved Date: 03-Apr-2020
NOTICE
Copyright © TM Forum 2020. All Rights Reserved.
This document and translations of it may be copied and furnished to others, and derivative works that comment on
or otherwise explain it or assist in its implementation may be prepared, copied, published, and distributed, in
whole or in part, without restriction of any kind, provided that the above copyright notice and this section are
included on all such copies and derivative works. However, this document itself may not be modified in any way,
including by removing the copyright notice or references to TM FORUM, except as needed for the purpose of
developing any document or deliverable produced by a TM FORUM Collaboration Project Team (in which case the
rules applicable to copyrights, as set forth in the TM FORUM IPR Policy, must be followed) or as required to
translate it into languages other than English.
The limited permissions granted above are perpetual and will not be revoked by TM FORUM or its successors or
assigns.
This document and the information contained herein is provided on an "AS IS" basis and TM FORUM DISCLAIMS
ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
INFORMATION HEREIN WILL NOT INFRINGE ANY OWNERSHIP RIGHTS OR ANY IMPLIED WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
Table of Contents
NOTICE ....................................................................................................................................................................... 2
Table of Contents ..................................................................................................................................................... 3
List of Tables ............................................................................................................................................................. 6
Introduction .............................................................................................................................................................. 7
Alarm Information ...................................................................................................................................................... 7
Alarm Type .............................................................................................................................................................. 8
Probable Cause ........................................................................................................................................................ 8
SAMPLE USE CASES ....................................................................................................................................................... 14
Sample Use Case – Simple Alarm Forwarding .......................................................................................................... 14
Sample Use Case – OSS-to-OSS ................................................................................................................................. 15
Support of polymorphism and extension patterns ...................................................................................................... 17
RESOURCE MODEL ........................................................................................................................................................ 18
Managed Entity and Task Resource Models ..................................................................................................... 18
Alarm resource ...................................................................................................................................................... 18
Ack Alarms resource .............................................................................................................................................. 25
Un Ack Alarms resource ........................................................................................................................................ 34
Clear Alarms resource ........................................................................................................................................... 43
Comment Alarms resource.................................................................................................................................... 53
Group Alarms resource ......................................................................................................................................... 62
Un Group Alarms resource .................................................................................................................................... 70
Notification Resource Models .............................................................................................................................. 77
Alarm Create Event................................................................................................................................................ 79
Alarm Attribute Value Change Event .................................................................................................................... 80
Alarm State Change Event ..................................................................................................................................... 80
Alarm Delete Event................................................................................................................................................ 80
Ack Alarms Create Event ....................................................................................................................................... 81
Ack Alarms State Change Event............................................................................................................................. 81
Un Ack Alarms Create Event .................................................................................................................................. 81
Un Ack Alarms State Change Event ....................................................................................................................... 82
Clear Alarms Create Event ..................................................................................................................................... 82
List of Tables
N/A
Introduction
The TM Forum Alarm Management API applies lessons that were learned in previous generations of similar APIs
that were implemented in the Telecommunication industry, starting from ITU recommendations, TM Forum OSS/J,
MTOSI and TIP interfaces, NGMN alignment initiative between 3GPP and TM Forum interfaces, and the more
recent ETSI work on requirements for NFV interfaces.
This document defines the REST API for Alarm Management. The API does not assume a particular management
layer, so the monitored objects can be either Resource, Service or Customer layer.
There is a strong desire from Service Providers to provide a Fault Management interface that can be used in a
simple way to do simple alarm reporting while also covering more complex OSS-to-OSS scenarios. The Alarm
Management interface should support both and should not add complexity when used in the context of simple
Alarm Reporting.
Alarm Information
An alarm is described in increasing detail by the attributes shown in the diagram below. Every alarm must include
an alarmType which places the fault within a small set of broad categories. A probableCause is also required and
attributes one of an industry agreed set of descriptions of the probable cause. Vendor specific descriptions may be
contained in specificProblem and more detailed information about the fault may be provided in alarmDetails.
alarmType
probableCause
specificProblem
alarmDetails
Alarm Type
The categories for alarm classification are defined in X.733 8.1.1 and 3GPP TS 32.111-2 Annex A. The complete
enumerated list of possible values for the mandatory alarmType attribute is as follows:
alarmType Description
physicalViolation A physical resource has been violated in a way that suggests a security attack.
Probable Cause
Probable Cause values are defined in ITU-T X.733 and 3GPP TS 32.111-2 Annex B. It is highly recommended to
choose a value from the existing list. If none of the specific values below are satisfactory consider choosing “other”
and describe your situation with the specificProblem attribute.
The enumerated list of values for the mandatory probableCause attribute is as follows:
abisBtsInterfaceFailure abisTrxInterfaceFailure
adapterError airCompressorFailure
airConditioningFailure airDryerFailure
ais antennaFailure
applicationSubsystemFailure authenticationFailure
backplaneFailure bandwidthReduced
batteryBreakdown batteryChargingFailure
batteryDischarging batteryFailure
breachOfConfidentiality broadcastChannelFailure
cableTamper callEstablishmentError
callSetUpFailure clockSynchronizationProblem
combinerProblem commercialPowerFailure
communicationsProtocolError communicationsSubsystemFailure
configurationOrCustomizationError congestion
connectionEstablishmentError coolingFanFailure
coolingSystemFailure corruptData
cpuCyclesLimitExceeded dataSetOrModemError
databaseInconsistency degradedSignal
delayedInformation demodulationFailure
denialOfService diskFailure
duplicateInformation enclosureDoorOpen
engineFailure equipmentFailure
equipmentIdentifierDuplication excessiveBitErrorRate
excessiveReceiverTemperature excessiveResponseTime
excessiveRetransmissionRate excessiveTransmitterOutputPower
excessiveTransmitterTemperature excessiveVibration
explosiveGas externalEquipmentFailure
externalIfDeviceProblem externalPointFailure
externalPowerSupplyFailure externalTransmissionDeviceFailure
farEndReceiverFailure fileError
fileSystemCallUnsuccessful fire
fireDetectorFailure flood
framingError frequencyHoppingDegraded
frequencyHoppingFailure frequencyRedefinitionFailed
fuseFailure generatorFailure
heatingVentCoolingSystemProblem highHumidity
highTemperature highWind
humidityUnacceptable iceBuildUp
informationMissing informationModificationDetected
informationOutOfSequence inputDeviceError
inputOutputDeviceError inputParameterOutOfRange
intrusionDetection invalidMessageReceived
invalidParameter invalidPointer
ioDeviceError keyExpired
lanError lapdLinkProtocolFailure
leakDetected lineCardProblem
lineInterfaceFailure linkFailure
localAlarmIndication localNodeTransmissionError
lossOfFrame lossOfMultiFrame
lossOfPointer lossOfRealTime
lossOfRedundancy lossOfSignal
lossOfSynchronisation lowBatteryThreshold
lowCablePressure lowFuel
lowHumidity lowTemperatue
lowWater mainsBreakdownWithBatteryBackUp
mainsBreakdownWithoutBatteryBackUp materialSupplyExhausted
memoryMismatch messageNotExpected
messageNotInitialized messageOutOfSequence
modulationFailure multiplexerProblem
neIdentifierDuplication nonRepudiationFailure
other ouputDeviceError
outOfCpuCycles outOfHoursActivity
outOfMemory outOfService
pathTraceMismatch payloadTypeMismatch
performanceDegraded powerProblems
powerSupplyFailure pressureUnacceptable
proceduralError processorProblem
protectingResourceFailure protectionMechanismFailure
protectionPathFailure pumpFailure
queueSizeExceeded realTimeClockFailure
receiveFailure receiverAntennaFault
receiverFailure receiverMulticouplerFailure
rectifierFailure rectifierHighVoltage
rectifierLowVoltage reducedAlarmReporting
reducedEventReporting reducedLoggingCapability
reducedTransmitterOutputPower reinitialized
remoteAlarmIndication remoteAlarmInterface
remoteNodeTransmissionError replaceableUnitMissing
replaceableUnitProblem replaceableUnitTypeMismatch
resourceAtOrNearingCapacity responseTimeExecessive
retransmissionRateExcessive routingFailure
signalLabelMismatch signalQualityEvaluationFailure
smoke softwareDownloadFailure
softwareEnvironmentProblem softwareError
softwareProgramAbnormallyTerminated softwareProgramError
ss7ProtocolFailure storageCapacityProblem
synchronizationSourceMismatch systemCallUnsuccessful
systemResourcesOverload temperatureUnacceptable
terminalProblem thresholdCrossed
timeoutExpired timeslotHardwareFailure
timingProblem toxicGas
toxicLeakDetected transceiverFailure
transcoderOrRateAdapterProblem transcoderProblem
transmissionError transmitFailure
transmiterFailure transmitterAntennaFailure
transmitterAntennaNotAdjusted transmitterFailure
transmitterLowVoltageOrCurrent transmitterOffFrequency
trunkCardProblem unauthorizedAccessAttempt
unavailable underlyingResourceUnavailable
unexpectedInformation variableOutOfRange
ventilationsSystemFailure versionMismatch
watchdogTimerExpired
In real-life deployments we see various levels of fault management API needs starting from simple subscription on
alarm lifecycle events, up to full synchronization of acknowledgements and root cause analysis between two alarm
management systems.
• Alarm management system A can raise, change and clear alarms in Alarm Management system Z
• Alarm management system A can acknowledge alarms in Alarm Management system Z
• Alarm Management system A can apply root cause analysis results in Alarm Management system Z by using
the Group and Ungroup operations.
• Alarm management system A can comment (annotate) alarms in Alarm Management system Z
• Get Alarms operations used by the Management Function to get synchronized on the state of active alarms
in situations where snapshots of the active alarms are required, such as system start, or recovery from
communication failures. This operation may include a filter on the subset of alarms that are of interest.
In this scenario, since the level of integration is tighter, it is important that Alarm Management System A gets the
information on the success of the operations in Alarm management system Z.
Support of polymorphic collections and types and schema based extension is provided by means of a list of generic
meta-attributes that we describe below. Polymorphism in collections occurs when entities inherit from base
entities, for instance a BillingAccount and SettlementAccount inheriting properties from the abstract Account
entity.
Generic support of polymorphism and pattern extensions is described in the TMF API Guidelines v3.0 Part 2
document.
The @type attribute provides a way to represent the actual class type of an entity. For example, within a list of
Account instances some may be instances of BillingAccount where other could be instances of SettlementAccount.
The @type gives this information. All resources and sub-resources of this API have a @type attributes that can be
provided when this is useful.
The @referredType can be used within reference entities (like for instance an AccountRef object) to explicitly
denote the actual entity type of the referred class. Notice that in reference entities the @type, when used, denotes
the class type of the reference itself, such as BillingAccountRef or SettlementAccountRef, and not the class type of
the referred object. However, since reference classes are rarely sub-classed, @type is generally not useful in
reference objects.
The @schemaLocation property can be used in resources to allow specifying user-defined properties of an Entity or
to specify the expected characteristics of an entity.
The @baseType attribute gives a way to provide explicitly the base of class of a given resource that has been
extended.
RESOURCE MODEL
Managed Entity and Task Resource Models
Alarm resource
This resource represents an alarm supporting the information model defined in ITU-T X.733.
Resource model
Field descriptions
Alarm fields
ackSystemId A string. Provides the name of the system that last changed the ackState of an
alarm, i.e. acknowledged or unacknowledged the alarm.
ackUserId A string. Provides the id of the user who has last changed the ack state of the
alarm, i.e. acknowledged or unacknowledged the alarm.
alarmChangedTime A date time (DateTime). Indicates the last date and time when the alarm is changed
on the alarm-owning system. Any change to the alarm whether coming from the
alarmed resource, or triggered by a change from the client is changing this time.
alarmClearedTime A date time (DateTime). Indicates the time (as a date + time) at which the alarm is
cleared at the source.
alarmRaisedTime A date time (DateTime). Indicates the time (as a date + time) at which the alarm
occurred at its source.
alarmReportingTime A date time (DateTime). Indicates the time (as a date + time) at which the alarm
was reported by the owning OSS. It might be different from the alarmRaisedTime.
For instance, if the alarm list is maintained by an EMS, the alarmRaisedtime would
be the time the alarm
was detected by the NE, while the alarmReportingTime would be the time this
alarm was stored in the alarm list of the EMS.
alarmType An alarm type (AlarmType). Categorizes the alarm (X.733 8.1.1, 3GPP TS 32.111-2
Annex A).
alarmedObjectType A string. The type (class) of the managed object associated with the event.
clearSystemId A string. Provides the id of the system where the user who invoked the
alarmCleared operation is located.
clearUserId A string. Provides the id of the user who invoked the alarmCleared operation.
comment A list of comments (Comment [*]). Indicates the comments entered on the alarm.
perceivedSeverity A perceived severity (PerceivedSeverity). Lists the possible severities that can be
allocated to an Alarm. The values are consistent with ITU-T Recommendation
X.733.
Once an alarm has been cleared, its perceived severity is set to 'cleared' and can no
longer be set.
place A list of related place ref or values (RelatedPlaceRefOrValue [*]). Related Entity
reference. A related place defines a place described by reference or by value linked
to a specific entity. The polymorphic attributes @type, @schemaLocation &
@referredType are related to the place entity and not the RelatedPlaceRefOrValue
class itself.
plannedOutageIndicator A string. Indicates that the Managed Object (related to this alarm) is in planned
outage (in planned maintenance, or out-of-service).
probableCause A string. Provides the probable cause of the alarm. The values are consistent with
ITU-T Recommendation X.733 or 3GPP TS 32.111-2 Annex B.
proposedRepairedActions A string. Indicates proposed repair actions, if known to the system emitting the
alarm.
state A string. Defines the alarm state during its life cycle (raised | updated | cleared).
AffectedService sub-resource
href A string. Provides the identifier of the service affected by the alarm.
id A string.
AlarmedObject sub-resource
href A string. A reference to the managed object associated with the event.
id A string. The identifier of the managed object associated with the event.
Comment sub-resource
systemId A string. Indicates the system identifier on which the client set the comment.
time A date time (DateTime). Indicates the time commenting the alarm.
CrossedThresholdInformation sub-resource
granularity A string. Indicates the granularity at which the indicator is evaluated for threshold
crossing.
indicatorName A string. Indicates the name of indicator which crossed the threshold.
indicatorUnit A string. Indicates the unit of the measurement of the indicator corresponding to
the threshold that has been crossed.
observedValue A string. Indicates the value of the indicator which crossed the threshold.
RelatedPlaceRefOrValue sub-resource
Related Entity reference. A related place defines a place described by reference or by value linked to a specific
entity. The polymorphic attributes @type, @schemaLocation & @referredType are related to the place entity and
not the RelatedPlaceRefOrValue class itself.
@referredType A string. The actual type of the target instance when needed for disambiguation.
name A string. A user-friendly name for the place, such as [Paris Store], [London Store],
[Main Home].
@schemaLocation An uri (Uri). A URI to a JSON-Schema file that defines additional attributes and
relationships.
@type A string. When sub-classing, this defines the sub-class Extensible name.
role A string.
AlarmRef relationship
@referredType A string. The actual type of the target instance when needed for disambiguation.
@schemaLocation An uri (Uri). A URI to a JSON-Schema file that defines additional attributes and
relationships.
@type A string. When sub-classing, this defines the sub-class Extensible name.
ThresholdRef relationship
@referredType A string. The actual type of the target instance when needed for disambiguation.
@schemaLocation An uri (Uri). A URI to a JSON-Schema file that defines additional attributes and
relationships.
@type A string. When sub-classing, this defines the sub-class Extensible name.
{
"id": "8675309",
"href": "/alarmManagement/v4/alarm/8675309",
"@baseType": "Alarm",
"@type": "Alarm",
"@schemaLocation": "/alarmManagement/v4/schema/Alarm.schema.json",
"externalAlarmId": "5551212",
"state": "updated",
"alarmType": "environmentalAlarm",
"perceivedSeverity": "major",
"probableCause": "rectifierLowVoltage",
"specificProblem": "ps=3,sl=1,in=8",
"alarmedObjectType": "Rectifier",
"alarmedObject": {
"id": "93051825",
"href": "/resourceInventoryManagement/v4/resource/93051825"
},
"sourceSystemId": "ems-1",
"alarmDetails": "voltage=95",
"alarmRaisedTime": "2019-07-03T03:32:17.235Z",
"alarmReportingTime": "2019-07-03T03:32:17.552Z",
"alarmChangedTime": "2019-07-03T03:32:52.744Z",
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:33:12.623Z",
"ackState": "acknowledged",
"isRoot": false,
"parentAlarm": {
"id": "8675300"
},
"correlatedAlarm": [
{
"id": "8675399",
"href": "/alarmManagement/v4/alarm/868675399"
}
],
"comment": [
{
"userId": "bob@example.net",
© TM Forum 2020. All Rights Reserved. Page 24 of 134
Alarm Management API User Guide
"systemId": "ems-1",
"time": "2019-07-03T03:37:33.827Z",
"comment": "Dispatched"
}
]
}
Resource model
Field descriptions
AckAlarms fields
ackedAlarm A list of alarm ref or values (AlarmRefOrValue [*]). The successfully acknowledged
alarms.
alarmPattern A list of alarms (Alarm [*]). An alarm will match if all of the sttributes in any of the
patterns compare equal to those attributes of the alarm.
AffectedService sub-resource
href A string. Provides the identifier of the service affected by the alarm.
id A string.
Alarm sub-resource
This resource represents an alarm supporting the information model defined in ITU-T X.733.
ackSystemId A string. Provides the name of the system that last changed the ackState of an
alarm, i.e. acknowledged or unacknowledged the alarm.
ackUserId A string. Provides the id of the user who has last changed the ack state of the
alarm, i.e. acknowledged or unacknowledged the alarm.
alarmChangedTime A date time (DateTime). Indicates the last date and time when the alarm is changed
on the alarm-owning system. Any change to the alarm whether coming from the
alarmed resource or triggered by a change from the client is changing this time.
alarmClearedTime A date time (DateTime). Indicates the time (as a date + time) at which the alarm is
cleared at the source.
alarmRaisedTime A date time (DateTime). Indicates the time (as a date + time) at which the alarm
occurred at its source.
alarmReportingTime A date time (DateTime). Indicates the time (as a date + time) at which the alarm
was reported by the owning OSS. It might be different from the alarmRaisedTime.
For instance, if the alarm list is maintained by an EMS, the alarmRaisedtime would
be the time the alarm
was detected by the NE, while the alarmReportingTime would be the time this
alarm was stored in the alarm list of the EMS.
alarmType An alarm type (AlarmType). Categorizes the alarm (X.733 8.1.1, 3GPP TS 32.111-2
Annex A).
alarmedObjectType A string. The type (class) of the managed object associated with the event.
clearSystemId A string. Provides the id of the system where the user who invoked the
alarmCleared operation is located.
clearUserId A string. Provides the id of the user who invoked the alarmCleared operation.
comment A list of comments (Comment [*]). Indicates the comments entered on the alarm.
perceivedSeverity A perceived severity (PerceivedSeverity). Lists the possible severities that can be
allocated to an Alarm. The values are consistent with ITU-T Recommendation
X.733.
Once an alarm has been cleared, its perceived severity is set to 'cleared' and can no
longer be set.
place A list of related place ref or values (RelatedPlaceRefOrValue [*]). Related Entity
reference. A related place defines a place described by reference or by value linked
to a specific entity. The polymorphic attributes @type, @schemaLocation &
© TM Forum 2020. All Rights Reserved. Page 27 of 134
Alarm Management API User Guide
@referredType are related to the place entity and not the RelatedPlaceRefOrValue
class itself.
plannedOutageIndicator A string. Indicates that the Managed Object (related to this alarm) is in planned
outage (in planned maintenance, or out-of-service).
probableCause A string. Provides the probable cause of the alarm. The values are consistent with
ITU-T Recommendation X.733 or 3GPP TS 32.111-2 Annex B.
proposedRepairedActions A string. Indicates proposed repair actions, if known to the system emitting the
alarm.
state A string. Defines the alarm state during its life cycle (raised | updated | cleared).
AlarmRefOrValue sub-resource
An alarm defined by reference or value. The polymorphic attributes @type, @schemaLocation & @referredType
are related to the alarm entity and not the RelatedAlarmRefOrValue class itself.
@referredType A string. The actual type of the target instance when needed for disambiguation.
ackSystemId A string. Provides the name of the system that last changed the ackState of an
alarm, i.e. acknowledged or unacknowledged the alarm.
ackUserId A string. Provides the id of the user who has last changed the ack state of the
alarm, i.e. acknowledged or unacknowledged the alarm.
alarmChangedTime A date time (DateTime). Indicates the last date and time when the alarm is changed
on the alarm-owning system. Any change to the alarm whether coming from the
alarmed resource or triggered by a change from the client is changing this time.
alarmClearedTime A date time (DateTime). Indicates the time (as a date + time) at which the alarm is
cleared at the source.
alarmRaisedTime A date time (DateTime). Indicates the time (as a date + time) at which the alarm
occurred at its source.
alarmReportingTime A date time (DateTime). Indicates the time (as a date + time) at which the alarm
was reported by the owning OSS. It might be different from the alarmRaisedTime.
For instance, if the alarm list is maintained by an EMS, the alarmRaisedtime would
be the time the alarm
was detected by the NE, while the alarmReportingTime would be the time this
alarm was stored in the alarm list of the EMS.
alarmedObjectType A string. The type (class) of the managed object associated with the event.
clearSystemId A string. Provides the id of the system where the user who invoked the
alarmCleared operation is located.
clearUserId A string. Provides the id of the user who invoked the alarmCleared operation.
plannedOutageIndicator A string. Indicates that the Managed Object (related to this alarm) is in planned
outage (in planned maintenance, or out-of-service).
probableCause A string. Provides the probable cause of the alarm. The values are consistent with
ITU-T Recommendation X.733 or 3GPP TS 32.111-2 Annex B.
proposedRepairedActions A string. Indicates proposed repair actions, if known to the system emitting the
alarm.
state A string. Defines the alarm state during its life cycle (raised | updated | cleared).
alarmType An alarm type (AlarmType). Categorizes the alarm (X.733 8.1.1, 3GPP TS 32.111-2
Annex A).
comment A list of comments (Comment [*]). Indicates the comments entered on the alarm.
perceivedSeverity A perceived severity (PerceivedSeverity). Lists the possible severities that can be
allocated to an Alarm. The values are consistent with ITU-T Recommendation
X.733.
Once an alarm has been cleared, its perceived severity is set to 'cleared' and can no
longer be set.
place A list of related place ref or values (RelatedPlaceRefOrValue [*]). Related Entity
reference. A related place defines a place described by reference or by value linked
to a specific entity. The polymorphic attributes @type, @schemaLocation &
@referredType are related to the place entity and not the RelatedPlaceRefOrValue
class itself.
AlarmedObject sub-resource
href A string. A reference to the managed object associated with the event.
id A string. The identifier of the managed object associated with the event.
Comment sub-resource
systemId A string. Indicates the system identifier on which the client set the comment.
time A date time (DateTime). Indicates the time commenting the alarm.
CrossedThresholdInformation sub-resource
granularity A string. Indicates the granularity at which the indicator is evaluated for threshold
crossing.
indicatorName A string. Indicates the name of indicator which crossed the threshold.
indicatorUnit A string. Indicates the unit of the measurement of the indicator corresponding to
the threshold that has been crossed.
observedValue A string. Indicates the value of the indicator which crossed the threshold.
RelatedPlaceRefOrValue sub-resource
Related Entity reference. A related place defines a place described by reference or by value linked to a specific
entity. The polymorphic attributes @type, @schemaLocation & @referredType are related to the place entity and
not the RelatedPlaceRefOrValue class itself.
@referredType A string. The actual type of the target instance when needed for disambiguation.
name A string. A user-friendly name for the place, such as [Paris Store], [London Store],
[Main Home].
@schemaLocation An uri (Uri). A URI to a JSON-Schema file that defines additional attributes and
relationships.
@type A string. When sub-classing, this defines the sub-class Extensible name.
role A string.
AlarmRef relationship
@referredType A string. The actual type of the target instance when needed for disambiguation.
@schemaLocation An uri (Uri). A URI to a JSON-Schema file that defines additional attributes and
relationships.
@type A string. When sub-classing, this defines the sub-class Extensible name.
ThresholdRef relationship
@referredType A string. The actual type of the target instance when needed for disambiguation.
@schemaLocation An uri (Uri). A URI to a JSON-Schema file that defines additional attributes and
relationships.
@type A string. When sub-classing, this defines the sub-class Extensible name.
{
"id": "1038",
"href": "/alarmManagement/v4/ackAlarms/1038",
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:33:12.623Z",
"alarmPattern": [
{
"id": "8675309"
},
{
"id": "8675399"
}
],
"state": "done",
© TM Forum 2020. All Rights Reserved. Page 32 of 134
Alarm Management API User Guide
"ackedAlarm": [
{
"id": "8675309",
"href": "/alarmManagement/v4/alarm/8675309",
"@baseType": "Alarm",
"@type": "Alarm",
"@schemaLocation": "/alarmManagement/v4/schema/Alarm.schema.json",
"externalAlarmId": "5551212",
"state": "updated",
"alarmType": "environmentalAlarm",
"perceivedSeverity": "major",
"probableCause": "rectifierLowVoltage",
"specificProblem": "ps=3,sl=1,in=8",
"alarmedObjectType": "Rectifier",
"alarmedObject": {
"id": "93051825",
"href": "/resourceInventoryManagement/v4/resource/93051825"
},
"sourceSystemId": "ems-1",
"alarmDetails": "voltage=95",
"alarmRaisedTime": "2019-07-03T03:32:17.235Z",
"alarmReportingTime": "2019-07-03T03:32:17.552Z",
"alarmChangedTime": "2019-07-03T03:32:52.744Z",
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:33:12.623Z",
"ackState": "acknowledged",
"correlatedAlarm": [
{
"id": "8675399",
"href": "/alarmManagement/v4/alarm/868675399"
}
]
},
{
"id": "8675399",
"href": "/alarmManagement/v4/alarm/8675399",
"@baseType": "Alarm",
"@type": "Alarm",
"@schemaLocation": "/alarmManagement/v4/schema/Alarm.schema.json",
"externalAlarmId": "5551234",
"state": "raised",
"alarmType": "equipmentAlarm",
"perceivedSeverity": "minor",
"probableCause": "powerSupplyFailure",
"specificProblem": "ch=1,ps=3",
"alarmedObjectType": "Chassis",
"alarmedObject": {
"id": "95830731",
"href": "/resourceInventoryManagement/v4/resource/95830731"
},
"sourceSystemId": "ems-1",
"alarmRaisedTime": "2019-07-03T03:32:17.843Z",
"alarmReportingTime": "2019-07-03T03:32:18.102Z",
"alarmChangedTime": "2019-07-03T03:32:52.744Z",
© TM Forum 2020. All Rights Reserved. Page 33 of 134
Alarm Management API User Guide
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:33:12.623Z",
"ackState": "acknowledged",
"parentAlarm": [
{
"id": "8675309",
"href": "/alarmManagement/v4/alarm/868675309"
}
]
}
]
}
Resource model
Field descriptions
UnAckAlarms fields
alarmPattern A list of alarms (Alarm [*]). An alarm will match if all of the attributes in any of the
patterns compare equal to those attributes of the alarm.
unAckedAlarm A list of alarm ref or values (AlarmRefOrValue [*]). The successfully unacknowledged
alarms.
AffectedService sub-resource
href A string. Provides the identifier of the service affected by the alarm.
id A string.
Alarm sub-resource
This resource represents an alarm supporting the information model defined in ITU-T X.733.
ackSystemId A string. Provides the name of the system that last changed the ackState of an
alarm, i.e. acknowledged or unacknowledged the alarm.
ackUserId A string. Provides the id of the user who has last changed the ack state of the
alarm, i.e. acknowledged or unacknowledged the alarm.
alarmChangedTime A date time (DateTime). Indicates the last date and time when the alarm is changed
on the alarm-owning system. Any change to the alarm whether coming from the
alarmed resource or triggered by a change from the client is changing this time.
alarmClearedTime A date time (DateTime). Indicates the time (as a date + time) at which the alarm is
cleared at the source.
alarmRaisedTime A date time (DateTime). Indicates the time (as a date + time) at which the alarm
occurred at its source.
alarmReportingTime A date time (DateTime). Indicates the time (as a date + time) at which the alarm
was reported by the owning OSS. It might be different from the alarmRaisedTime.
For instance, if the alarm list is maintained by an EMS, the alarmRaisedtime would
be the time the alarm
was detected by the NE, while the alarmReportingTime would be the time this
alarm was stored in the alarm list of the EMS.
alarmType An alarm type (AlarmType). Categorizes the alarm (X.733 8.1.1, 3GPP TS 32.111-2
Annex A).
alarmedObjectType A string. The type (class) of the managed object associated with the event.
clearSystemId A string. Provides the id of the system where the user who invoked the
alarmCleared operation is located.
clearUserId A string. Provides the id of the user who invoked the alarmCleared operation.
comment A list of comments (Comment [*]). Indicates the comments entered on the alarm.
perceivedSeverity A perceived severity (PerceivedSeverity). Lists the possible severities that can be
allocated to an Alarm. The values are consistent with ITU-T Recommendation
X.733.
Once an alarm has been cleared, its perceived severity is set to 'cleared' and can no
longer be set.
place A list of related place ref or values (RelatedPlaceRefOrValue [*]). Related Entity
reference. A related place defines a place described by reference or by value linked
to a specific entity. The polymorphic attributes @type, @schemaLocation &
@referredType are related to the place entity and not the RelatedPlaceRefOrValue
class itself.
plannedOutageIndicator A string. Indicates that the Managed Object (related to this alarm) is in planned
outage (in planned maintenance, or out-of-service).
probableCause A string. Provides the probable cause of the alarm. The values are consistent with
ITU-T Recommendation X.733 or 3GPP TS 32.111-2 Annex B.
proposedRepairedActions A string. Indicates proposed repair actions, if known to the system emitting the
alarm.
state A string. Defines the alarm state during its life cycle (raised | updated | cleared).
AlarmRefOrValue sub-resource
An alarm defined by reference or value. The polymorphic attributes @type, @schemaLocation & @referredType
are related to the alarm entity and not the RelatedAlarmRefOrValue class itself.
@referredType A string. The actual type of the target instance when needed for disambiguation.
acknowledged).
ackSystemId A string. Provides the name of the system that last changed the ackState of an
alarm, i.e. acknowledged or unacknowledged the alarm.
ackUserId A string. Provides the id of the user who has last changed the ack state of the
alarm, i.e. acknowledged or unacknowledged the alarm.
alarmChangedTime A date time (DateTime). Indicates the last date and time when the alarm is changed
on the alarm-owning system. Any change to the alarm whether coming from the
alarmed resource, or triggered by a change from the client is changing this time.
alarmClearedTime A date time (DateTime). Indicates the time (as a date + time) at which the alarm is
cleared at the source.
alarmRaisedTime A date time (DateTime). Indicates the time (as a date + time) at which the alarm
occurred at its source.
alarmReportingTime A date time (DateTime). Indicates the time (as a date + time) at which the alarm
was reported by the owning OSS. It might be different from the alarmRaisedTime.
For instance, if the alarm list is maintained by an EMS, the alarmRaisedtime would
be the time the alarm
was detected by the NE, while the alarmReportingTime would be the time this
alarm was stored in the alarm list of the EMS.
alarmedObjectType A string. The type (class) of the managed object associated with the event.
clearSystemId A string. Provides the id of the system where the user who invoked the
alarmCleared operation is located.
clearUserId A string. Provides the id of the user who invoked the alarmCleared operation.
plannedOutageIndicator A string. Indicates that the Managed Object (related to this alarm) is in planned
outage (in planned maintenance, or out-of-service).
probableCause A string. Provides the probable cause of the alarm. The values are consistent with
ITU-T Recommendation X.733 or 3GPP TS 32.111-2 Annex B.
proposedRepairedActions A string. Indicates proposed repair actions, if known to the system emitting the
alarm.
state A string. Defines the alarm state during its life cycle (raised | updated | cleared).
alarmType An alarm type (AlarmType). Categorizes the alarm (X.733 8.1.1, 3GPP TS 32.111-2
Annex A).
comment A list of comments (Comment [*]). Indicates the comments entered on the alarm.
perceivedSeverity A perceived severity (PerceivedSeverity). Lists the possible severities that can be
allocated to an Alarm. The values are consistent with ITU-T Recommendation
X.733.
Once an alarm has been cleared, its perceived severity is set to 'cleared' and can no
longer be set.
place A list of related place ref or values (RelatedPlaceRefOrValue [*]). Related Entity
reference. A related place defines a place described by reference or by value linked
to a specific entity. The polymorphic attributes @type, @schemaLocation &
@referredType are related to the place entity and not the RelatedPlaceRefOrValue
class itself.
AlarmedObject sub-resource
href A string. A reference to the managed object associated with the event.
id A string. The identifier of the managed object associated with the event.
Comment sub-resource
systemId A string. Indicates the system identifier on which the client set the comment.
time A date time (DateTime). Indicates the time commenting the alarm.
CrossedThresholdInformation sub-resource
granularity A string. Indicates the granularity at which the indicator is evaluated for threshold
crossing.
indicatorName A string. Indicates the name of indicator which crossed the threshold.
indicatorUnit A string. Indicates the unit of the measurement of the indicator corresponding to
the threshold that has been crossed.
observedValue A string. Indicates the value of the indicator which crossed the threshold.
RelatedPlaceRefOrValue sub-resource
Related Entity reference. A related place defines a place described by reference or by value linked to a specific
entity. The polymorphic attributes @type, @schemaLocation & @referredType are related to the place entity and
not the RelatedPlaceRefOrValue class itself.
@referredType A string. The actual type of the target instance when needed for disambiguation.
name A string. A user-friendly name for the place, such as [Paris Store], [London Store],
[Main Home].
@schemaLocation An uri (Uri). A URI to a JSON-Schema file that defines additional attributes and
relationships.
@type A string. When sub-classing, this defines the sub-class Extensible name.
role A string.
AlarmRef relationship
@referredType A string. The actual type of the target instance when needed for disambiguation.
@schemaLocation An uri (Uri). A URI to a JSON-Schema file that defines additional attributes and
relationships.
@type A string. When sub-classing, this defines the sub-class Extensible name.
ThresholdRef relationship
@referredType A string. The actual type of the target instance when needed for disambiguation.
@schemaLocation An uri (Uri). A URI to a JSON-Schema file that defines additional attributes and
relationships.
@type A string. When sub-classing, this defines the sub-class Extensible name.
{
"id": "1052",
"href": "/alarmManagement/v4/unAckAlarms/1052",
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:38:06.890Z",
"alarmPattern": [
{
"id": "8675309"
},
{
"id": "8675399"
}
],
"state": "done",
"unAckedAlarm": [
{
"id": "8675309",
"href": "/alarmManagement/v4/alarm/8675309",
"@baseType": "Alarm",
"@type": "Alarm",
"@schemaLocation": "/alarmManagement/v4/schema/Alarm.schema.json",
"externalAlarmId": "5551212",
"state": "raised",
"alarmType": "environmentalAlarm",
"perceivedSeverity": "minor",
"probableCause": "rectifierLowVoltage",
"specificProblem": "ps=3,sl=1,in=8",
"alarmedObjectType": "Rectifier",
"alarmedObject": {
"id": "93051825",
"href": "/resourceInventoryManagement/v4/resource/93051825"
},
"sourceSystemId": "ems-1",
"alarmDetails": "voltage=204",
"alarmRaisedTime": "2019-07-03T03:32:17.235Z",
"alarmReportingTime": "2019-07-03T03:32:17.552Z",
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:38:06.890Z",
"ackState": "UNacknowledged",
"correlatedAlarm": [
{
"id": "8675399",
"href": "/alarmManagement/v4/alarm/868675399"
}
],
"comment": [
{
"userId": "bob@example.net",
"systemId": "ems-1",
"time": "2019-07-03T03:37:33.827Z",
"comment": "Dispatched"
}
]
},
{
"id": "8675399",
"href": "/alarmManagement/v4/alarm/8675399",
"@baseType": "Alarm",
"@type": "Alarm",
"@schemaLocation": "/alarmManagement/v4//Alarm.schema.json",
"externalAlarmId": "5551234",
© TM Forum 2020. All Rights Reserved. Page 42 of 134
Alarm Management API User Guide
"state": "raised",
"alarmType": "equipmentAlarm",
"perceivedSeverity": "minor",
"probableCause": "powerSupplyFailure",
"specificProblem": "ch=1,ps=3",
"alarmedObjectType": "Chassis",
"alarmedObject": {
"id": "95830731",
"href": "/resourceInventoryManagement/v4/resource/95830731"
},
"sourceSystemId": "ems-1",
"alarmRaisedTime": "2019-07-03T03:32:17.843Z",
"alarmReportingTime": "2019-07-03T03:32:18.102Z",
"alarmChangedTime": "2019-07-03T03:32:52.744Z",
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:38:06.890Z",
"ackState": "unacknowledged",
"parentAlarm": [
{
"id": "8675309",
"href": "/alarmManagement/v4/alarm/868675309"
}
],
"comment": [
{
"userId": "bob@example.net",
"systemId": "ems-1",
"time": "2019-07-03T03:37:33.827Z",
"comment": "Dispatched"
}
]
}
]
}
Resource model
Field descriptions
ClearAlarms fields
alarmPattern A list of alarms (Alarm [*]). An alarm will match if all of the attributes in any of the
patterns compare equal to those attributes of the alarm.
clearedAlarm A list of alarm ref or values (AlarmRefOrValue [*]). The successfully cleared alarms.
AffectedService sub-resource
href A string. Provides the identifier of the service affected by the alarm.
id A string.
Alarm sub-resource
This resource represents an alarm supporting the information model defined in ITU-T X.733.
ackSystemId A string. Provides the name of the system that last changed the ackState of an
alarm, i.e. acknowledged or unacknowledged the alarm.
ackUserId A string. Provides the id of the user who has last changed the ack state of the
alarm, i.e. acknowledged or unacknowledged the alarm.
alarmChangedTime A date time (DateTime). Indicates the last date and time when the alarm is changed
on the alarm-owning system. Any change to the alarm whether coming from the
alarmed resource or triggered by a change from the client is changing this time.
alarmClearedTime A date time (DateTime). Indicates the time (as a date + time) at which the alarm is
cleared at the source.
alarmRaisedTime A date time (DateTime). Indicates the time (as a date + time) at which the alarm
occurred at its source.
alarmReportingTime A date time (DateTime). Indicates the time (as a date + time) at which the alarm
was reported by the owning OSS. It might be different from the alarmRaisedTime.
For instance, if the alarm list is maintained by an EMS, the alarmRaisedtime would
be the time the alarm
was detected by the NE, while the alarmReportingTime would be the time this
alarm was stored in the alarm list of the EMS.
alarmType An alarm type (AlarmType). Categorizes the alarm (X.733 8.1.1, 3GPP TS 32.111-2
Annex A).
alarmedObjectType A string. The type (class) of the managed object associated with the event.
clearSystemId A string. Provides the id of the system where the user who invoked the
alarmCleared operation is located.
clearUserId A string. Provides the id of the user who invoked the alarmCleared operation.
comment A list of comments (Comment [*]). Indicates the comments entered on the alarm.
perceivedSeverity A perceived severity (PerceivedSeverity). Lists the possible severities that can be
allocated to an Alarm. The values are consistent with ITU-T Recommendation
X.733.
Once an alarm has been cleared, its perceived severity is set to 'cleared' and can no
longer be set.
place A list of related place ref or values (RelatedPlaceRefOrValue [*]). Related Entity
reference. A related place defines a place described by reference or by value linked
to a specific entity. The polymorphic attributes @type, @schemaLocation &
@referredType are related to the place entity and not the RelatedPlaceRefOrValue
class itself.
plannedOutageIndicator A string. Indicates that the Managed Object (related to this alarm) is in planned
outage (in planned maintenance, or out-of-service).
probableCause A string. Provides the probable cause of the alarm. The values are consistent with
ITU-T Recommendation X.733 or 3GPP TS 32.111-2 Annex B.
proposedRepairedActions A string. Indicates proposed repair actions, if known to the system emitting the
alarm.
state A string. Defines the alarm state during its life cycle (raised | updated | cleared).
AlarmRefOrValue sub-resource
An alarm defined by reference or value. The polymorphic attributes @type, @schemaLocation & @referredType
are related to the alarm entity and not the RelatedAlarmRefOrValue class itself.
@referredType A string. The actual type of the target instance when needed for disambiguation.
ackSystemId A string. Provides the name of the system that last changed the ackState of an
alarm, i.e. acknowledged or unacknowledged the alarm.
ackUserId A string. Provides the id of the user who has last changed the ack state of the
alarm, i.e. acknowledged or unacknowledged the alarm.
alarmChangedTime A date time (DateTime). Indicates the last date and time when the alarm is changed
on the alarm-owning system. Any change to the alarm whether coming from the
alarmed resource or triggered by a change from the client is changing this time.
alarmClearedTime A date time (DateTime). Indicates the time (as a date + time) at which the alarm is
cleared at the source.
alarmRaisedTime A date time (DateTime). Indicates the time (as a date + time) at which the alarm
alarmReportingTime A date time (DateTime). Indicates the time (as a date + time) at which the alarm
was reported by the owning OSS. It might be different from the alarmRaisedTime.
For instance, if the alarm list is maintained by an EMS, the alarmRaisedtime would
be the time the alarm
was detected by the NE, while the alarmReportingTime would be the time this
alarm was stored in the alarm list of the EMS.
alarmedObjectType A string. The type (class) of the managed object associated with the event.
clearSystemId A string. Provides the id of the system where the user who invoked the
alarmCleared operation is located.
clearUserId A string. Provides the id of the user who invoked the alarmCleared operation.
plannedOutageIndicator A string. Indicates that the Managed Object (related to this alarm) is in planned
outage (in planned maintenance, or out-of-service).
probableCause A string. Provides the probable cause of the alarm. The values are consistent with
ITU-T Recommendation X.733 or 3GPP TS 32.111-2 Annex B.
proposedRepairedActions A string. Indicates proposed repair actions, if known to the system emitting the
alarm.
state A string. Defines the alarm state during its life cycle (raised | updated | cleared).
alarmType An alarm type (AlarmType). Categorizes the alarm (X.733 8.1.1, 3GPP TS 32.111-2
Annex A).
comment A list of comments (Comment [*]). Indicates the comments entered on the alarm.
perceivedSeverity A perceived severity (PerceivedSeverity). Lists the possible severities that can be
allocated to an Alarm. The values are consistent with ITU-T Recommendation
X.733.
Once an alarm has been cleared, its perceived severity is set to 'cleared' and can no
longer be set.
place A list of related place ref or values (RelatedPlaceRefOrValue [*]). Related Entity
reference. A related place defines a place described by reference or by value linked
to a specific entity. The polymorphic attributes @type, @schemaLocation &
@referredType are related to the place entity and not the RelatedPlaceRefOrValue
class itself.
AlarmedObject sub-resource
href A string. A reference to the managed object associated with the event.
id A string. The identifier of the managed object associated with the event.
Comment sub-resource
systemId A string. Indicates the system identifier on which the client set the comment.
time A date time (DateTime). Indicates the time commenting the alarm.
CrossedThresholdInformation sub-resource
granularity A string. Indicates the granularity at which the indicator is evaluated for threshold
crossing.
indicatorName A string. Indicates the name of indicator which crossed the threshold.
indicatorUnit A string. Indicates the unit of the measurement of the indicator corresponding to
the threshold that has been crossed.
observedValue A string. Indicates the value of the indicator which crossed the threshold.
RelatedPlaceRefOrValue sub-resource
Related Entity reference. A related place defines a place described by reference or by value linked to a specific
entity. The polymorphic attributes @type, @schemaLocation & @referredType are related to the place entity and
not the RelatedPlaceRefOrValue class itself.
@referredType A string. The actual type of the target instance when needed for disambiguation.
name A string. A user-friendly name for the place, such as [Paris Store], [London Store],
[Main Home].
@schemaLocation An uri (Uri). A URI to a JSON-Schema file that defines additional attributes and
relationships.
@type A string. When sub-classing, this defines the sub-class Extensible name.
role A string.
AlarmRef relationship
@referredType A string. The actual type of the target instance when needed for disambiguation.
@schemaLocation An uri (Uri). A URI to a JSON-Schema file that defines additional attributes and
relationships.
@type A string. When sub-classing, this defines the sub-class Extensible name.
ThresholdRef relationship
@referredType A string. The actual type of the target instance when needed for disambiguation.
@schemaLocation An uri (Uri). A URI to a JSON-Schema file that defines additional attributes and
relationships.
@type A string. When sub-classing, this defines the sub-class Extensible name.
{
"id": "1089",
"href": "/alarmManagement/v4/commentAlarms/1089",
"clearSystemId": "ems-1",
"clearUserId": "bob@example.net",
"alarmClearedTime": "2019-07-03T03:55:45.937Z",
"alarmPattern": [
{
"id": "8675309"
},
{
"id": "8675399"
}
],
"state": "done",
"clearedAlarm": [
{
"id": "8675309",
"href": "/alarmManagement/v4/alarm/8675309",
"@baseType": "Alarm",
"@type": "Alarm",
"@schemaLocation": "/alarmManagement/v4/schema/Alarm.schema.json",
"externalAlarmId": "5551212",
"state": "cleared",
"alarmType": "environmentalAlarm",
"perceivedSeverity": "cleared",
"probableCause": "rectifierLowVoltage",
"specificProblem": "ps=3,sl=1,in=8",
"alarmedObjectType": "Rectifier",
"alarmedObject": {
"id": "93051825",
"href": "/resourceInventoryManagement/v4/resource/93051825"
},
"sourceSystemId": "ems-1",
"alarmDetails": "voltage=204",
"alarmRaisedTime": "2019-07-03T03:32:17.235Z",
"alarmReportingTime": "2019-07-03T03:32:17.552Z",
"alarmChangedTime": "2019-07-03T03:42:12.861Z",
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:38:06.890Z",
"ackState": "UNacknowledged",
"comment": [
{
"userId": "bob@example.net",
"systemId": "ems-1",
"time": "2019-07-03T03:37:33.827Z",
"comment": "Dispatched"
}
],
"clearSystemId": "ems-1",
"clearUserId": "bob@example.net",
"alarmClearedTime": "2019-07-03T03:55:45.937Z"
},
{
"id": "8675399",
"href": "/alarmManagement/v4/alarm/8675399",
"@baseType": "Alarm",
"@type": "Alarm",
"@schemaLocation": "/alarmManagement/v4/schema/Alarm.schema.json",
"externalAlarmId": "5551234",
"state": "cleared",
"alarmType": "equipmentAlarm",
"perceivedSeverity": "cleared",
"probableCause": "powerSupplyFailure",
"specificProblem": "ch=1,ps=3",
"alarmedObjectType": "Chassis",
"alarmedObject": {
"id": "95830731",
"href": "/resourceInventoryManagement/v4/resource/95830731"
},
"sourceSystemId": "ems-1",
"alarmRaisedTime": "2019-07-03T03:32:17.843Z",
"alarmReportingTime": "2019-07-03T03:32:18.102Z",
"alarmChangedTime": "2019-07-03T03:42:12.861Z",
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:38:06.890Z",
"ackState": "unacknowledged",
"comment": [
{
"userId": "bob@example.net",
"systemId": "ems-1",
© TM Forum 2020. All Rights Reserved. Page 52 of 134
Alarm Management API User Guide
"time": "2019-07-03T03:37:33.827Z",
"comment": "Dispatched"
}
],
"clearSystemId": "ems-1",
"clearUserId": "bob@example.net",
"alarmClearedTime": "2019-07-03T03:55:45.937Z"
}
]
}
Resource model
Field descriptions
CommentAlarms fields
alarmPattern A list of alarms (Alarm [*]). An alarm will match if all of the sttributes in any of the
patterns compare equal to those attributes of the alarm.
commentedAlarm A list of alarm ref or values (AlarmRefOrValue [*]). The successfully commented
alarms.
AffectedService sub-resource
href A string. Provides the identifier of the service affected by the alarm.
id A string.
Alarm sub-resource
This resource represents an alarm supporting the information model defined in ITU-T X.733.
ackSystemId A string. Provides the name of the system that last changed the ackState of an
alarm, i.e. acknowledged or unacknowledged the alarm.
ackUserId A string. Provides the id of the user who has last changed the ack state of the
alarm, i.e. acknowledged or unacknowledged the alarm.
alarmChangedTime A date time (DateTime). Indicates the last date and time when the alarm is changed
on the alarm-owning system. Any change to the alarm whether coming from the
alarmed resource or triggered by a change from the client is changing this time.
alarmClearedTime A date time (DateTime). Indicates the time (as a date + time) at which the alarm is
cleared at the source.
alarmRaisedTime A date time (DateTime). Indicates the time (as a date + time) at which the alarm
occurred at its source.
alarmReportingTime A date time (DateTime). Indicates the time (as a date + time) at which the alarm
was reported by the owning OSS. It might be different from the alarmRaisedTime.
For instance, if the alarm list is maintained by an EMS, the alarmRaisedtime would
be the time the alarm
was detected by the NE, while the alarmReportingTime would be the time this
alarm was stored in the alarm list of the EMS.
alarmType An alarm type (AlarmType). Categorizes the alarm (X.733 8.1.1, 3GPP TS 32.111-2
Annex A).
alarmedObjectType A string. The type (class) of the managed object associated with the event.
clearSystemId A string. Provides the id of the system where the user who invoked the
alarmCleared operation is located.
clearUserId A string. Provides the id of the user who invoked the alarmCleared operation.
comment A list of comments (Comment [*]). Indicates the comments entered on the alarm.
perceivedSeverity A perceived severity (PerceivedSeverity). Lists the possible severities that can be
allocated to an Alarm. The values are consistent with ITU-T Recommendation
X.733.
Once an alarm has been cleared, its perceived severity is set to 'cleared' and can no
longer be set.
place A list of related place ref or values (RelatedPlaceRefOrValue [*]). Related Entity
reference. A related place defines a place described by reference or by value linked
to a specific entity. The polymorphic attributes @type, @schemaLocation &
@referredType are related to the place entity and not the RelatedPlaceRefOrValue
class itself.
plannedOutageIndicator A string. Indicates that the Managed Object (related to this alarm) is in planned
outage (in planned maintenance, or out-of-service).
probableCause A string. Provides the probable cause of the alarm. The values are consistent with
ITU-T Recommendation X.733 or 3GPP TS 32.111-2 Annex B.
proposedRepairedActions A string. Indicates proposed repair actions, if known to the system emitting the
alarm.
state A string. Defines the alarm state during its life cycle (raised | updated | cleared).
AlarmRefOrValue sub-resource
An alarm defined by reference or value. The polymorphic attributes @type, @schemaLocation & @referredType
are related to the alarm entity and not the RelatedAlarmRefOrValue class itself.
@referredType A string. The actual type of the target instance when needed for disambiguation.
acknowledged).
ackSystemId A string. Provides the name of the system that last changed the ackState of an
alarm, i.e. acknowledged or unacknowledged the alarm.
ackUserId A string. Provides the id of the user who has last changed the ack state of the
alarm, i.e. acknowledged or unacknowledged the alarm.
alarmChangedTime A date time (DateTime). Indicates the last date and time when the alarm is changed
on the alarm-owning system. Any change to the alarm whether coming from the
alarmed resource or triggered by a change from the client is changing this time.
alarmClearedTime A date time (DateTime). Indicates the time (as a date + time) at which the alarm is
cleared at the source.
alarmRaisedTime A date time (DateTime). Indicates the time (as a date + time) at which the alarm
occurred at its source.
alarmReportingTime A date time (DateTime). Indicates the time (as a date + time) at which the alarm
was reported by the owning OSS. It might be different from the alarmRaisedTime.
For instance, if the alarm list is maintained by an EMS, the alarmRaisedtime would
be the time the alarm
was detected by the NE, while the alarmReportingTime would be the time this
alarm was stored in the alarm list of the EMS.
alarmedObjectType A string. The type (class) of the managed object associated with the event.
clearSystemId A string. Provides the id of the system where the user who invoked the
alarmCleared operation is located.
clearUserId A string. Provides the id of the user who invoked the alarmCleared operation.
plannedOutageIndicator A string. Indicates that the Managed Object (related to this alarm) is in planned
outage (in planned maintenance, or out-of-service).
probableCause A string. Provides the probable cause of the alarm. The values are consistent with
ITU-T Recommendation X.733 or 3GPP TS 32.111-2 Annex B.
proposedRepairedActions A string. Indicates proposed repair actions, if known to the system emitting the
alarm.
state A string. Defines the alarm state during its life cycle (raised | updated | cleared).
alarmType An alarm type (AlarmType). Categorizes the alarm (X.733 8.1.1, 3GPP TS 32.111-2
Annex A).
comment A list of comments (Comment [*]). Indicates the comments entered on the alarm.
perceivedSeverity A perceived severity (PerceivedSeverity). Lists the possible severities that can be
allocated to an Alarm. The values are consistent with ITU-T Recommendation
X.733.
Once an alarm has been cleared, its perceived severity is set to 'cleared' and can no
longer be set.
place A list of related place ref or values (RelatedPlaceRefOrValue [*]). Related Entity
reference. A related place defines a place described by reference or by value linked
to a specific entity. The polymorphic attributes @type, @schemaLocation &
@referredType are related to the place entity and not the RelatedPlaceRefOrValue
class itself.
AlarmedObject sub-resource
href A string. A reference to the managed object associated with the event.
id A string. The identifier of the managed object associated with the event.
Comment sub-resource
systemId A string. Indicates the system identifier on which the client set the comment.
time A date time (DateTime). Indicates the time commenting the alarm.
CrossedThresholdInformation sub-resource
granularity A string. Indicates the granularity at which the indicator is evaluated for threshold
crossing.
indicatorName A string. Indicates the name of indicator which crossed the threshold.
indicatorUnit A string. Indicates the unit of the measurement of the indicator corresponding to
the threshold that has been crossed.
observedValue A string. Indicates the value of the indicator which crossed the threshold.
RelatedPlaceRefOrValue sub-resource
Related Entity reference. A related place defines a place described by reference or by value linked to a specific
entity. The polymorphic attributes @type, @schemaLocation & @referredType are related to the place entity and
not the RelatedPlaceRefOrValue class itself.
@referredType A string. The actual type of the target instance when needed for disambiguation.
name A string. A user-friendly name for the place, such as [Paris Store], [London Store],
[Main Home].
@schemaLocation An uri (Uri). A URI to a JSON-Schema file that defines additional attributes and
relationships.
@type A string. When sub-classing, this defines the sub-class Extensible name.
role A string.
AlarmRef relationship
@referredType A string. The actual type of the target instance when needed for disambiguation.
@schemaLocation An uri (Uri). A URI to a JSON-Schema file that defines additional attributes and
relationships.
@type A string. When sub-classing, this defines the sub-class Extensible name.
ThresholdRef relationship
@referredType A string. The actual type of the target instance when needed for disambiguation.
@schemaLocation An uri (Uri). A URI to a JSON-Schema file that defines additional attributes and
relationships.
@type A string. When sub-classing, this defines the sub-class Extensible name.
{
"id": "1045",
"href": "/alarmManagement/v4/ackAlarms/1045",
"comment": {
"userId": "bob@example.net",
"systemId": "ems-1",
"time": "2019-07-03T03:37:33.827Z",
"comment": "Dispatched"
},
"alarmPattern": [
{
"id": "8675309"
},
{
"id": "8675399"
}
],
"state": "done",
"commentedAlarm": [
{
"id": "8675309",
"href": "/alarmManagement/v4/alarm/8675309",
"@baseType": "Alarm",
"@type": "Alarm",
"@schemaLocation": "/alarmManagement/v4/schema/Alarm.schema.json",
"externalAlarmId": "5551212",
"state": "raised",
"alarmType": "environmentalAlarm",
"perceivedSeverity": "minor",
"probableCause": "rectifierLowVoltage",
"specificProblem": "ps=3,sl=1,in=8",
"alarmedObjectType": "Rectifier",
"alarmedObject": {
"id": "93051825",
"href": "/resourceInventoryManagement/v4/resource/93051825"
},
"sourceSystemId": "ems-1",
"alarmDetails": "voltage=204",
"alarmRaisedTime": "2019-07-03T03:32:17.235Z",
"alarmReportingTime": "2019-07-03T03:32:17.552Z",
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:33:12.623Z",
"ackState": "acknowledged",
"correlatedAlarm": [
{
"id": "8675399",
"href": "/alarmManagement/v4/alarm/868675399"
}
],
"comment": [
{
"userId": "bob@example.net",
"systemId": "ems-1",
"time": "2019-07-03T03:37:33.827Z",
"comment": "Dispatched"
}
]
},
{
"id": "8675399",
"href": "/alarmManagement/v4/alarm/8675399",
"@baseType": "Alarm",
© TM Forum 2020. All Rights Reserved. Page 61 of 134
Alarm Management API User Guide
"@type": "Alarm",
"@schemaLocation": "/alarmManagement/v4/schema/Alarm.schema.json",
"externalAlarmId": "5551234",
"state": "raised",
"alarmType": "equipmentAlarm",
"perceivedSeverity": "minor",
"probableCause": "powerSupplyFailure",
"specificProblem": "ch=1,ps=3",
"alarmedObjectType": "Chassis",
"alarmedObject": {
"id": "95830731",
"href": "/resourceInventoryManagement/v4/resource/95830731"
},
"sourceSystemId": "ems-1",
"alarmRaisedTime": "2019-07-03T03:32:17.843Z",
"alarmReportingTime": "2019-07-03T03:32:18.102Z",
"alarmChangedTime": "2019-07-03T03:32:52.744Z",
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:33:12.623Z",
"ackState": "acknowledged",
"parentAlarm": [
{
"id": "8675309",
"href": "/alarmManagement/v4/alarm/868675309"
}
],
"comment": [
{
"userId": "bob@example.net",
"systemId": "ems-1",
"time": "2019-07-03T03:37:33.827Z",
"comment": "Dispatched"
}
]
}
]
}
Resource model
Field descriptions
GroupAlarms fields
groupedAlarm A list of alarm ref or values (AlarmRefOrValue [*]). The successfully correlated alarms.
AffectedService sub-resource
href A string. Provides the identifier of the service affected by the alarm.
id A string.
AlarmRefOrValue sub-resource
An alarm defined by reference or value. The polymorphic attributes @type, @schemaLocation & @referredType
are related to the alarm entity and not the RelatedAlarmRefOrValue class itself.
@referredType A string. The actual type of the target instance when needed for disambiguation.
ackSystemId A string. Provides the name of the system that last changed the ackState of an
alarm, i.e. acknowledged or unacknowledged the alarm.
ackUserId A string. Provides the id of the user who has last changed the ack state of the
alarm, i.e. acknowledged or unacknowledged the alarm.
alarmChangedTime A date time (DateTime). Indicates the last date and time when the alarm is changed
on the alarm-owning system. Any change to the alarm whether coming from the
alarmed resource or triggered by a change from the client is changing this time.
alarmClearedTime A date time (DateTime). Indicates the time (as a date + time) at which the alarm is
cleared at the source.
alarmRaisedTime A date time (DateTime). Indicates the time (as a date + time) at which the alarm
occurred at its source.
alarmReportingTime A date time (DateTime). Indicates the time (as a date + time) at which the alarm
was reported by the owning OSS. It might be different from the alarmRaisedTime.
For instance, if the alarm list is maintained by an EMS, the alarmRaisedtime would
be the time the alarm
was detected by the NE, while the alarmReportingTime would be the time this
alarm was stored in the alarm list of the EMS.
alarmedObjectType A string. The type (class) of the managed object associated with the event.
clearSystemId A string. Provides the id of the system where the user who invoked the
alarmCleared operation is located.
clearUserId A string. Provides the id of the user who invoked the alarmCleared operation.
plannedOutageIndicator A string. Indicates that the Managed Object (related to this alarm) is in planned
outage (in planned maintenance, or out-of-service).
probableCause A string. Provides the probable cause of the alarm. The values are consistent with
ITU-T Recommendation X.733 or 3GPP TS 32.111-2 Annex B.
proposedRepairedActions A string. Indicates proposed repair actions, if known to the system emitting the
alarm.
state A string. Defines the alarm state during its life cycle (raised | updated | cleared).
alarmType An alarm type (AlarmType). Categorizes the alarm (X.733 8.1.1, 3GPP TS 32.111-2
Annex A).
comment A list of comments (Comment [*]). Indicates the comments entered on the alarm.
perceivedSeverity A perceived severity (PerceivedSeverity). Lists the possible severities that can be
allocated to an Alarm. The values are consistent with ITU-T Recommendation
X.733.
Once an alarm has been cleared, its perceived severity is set to 'cleared' and can no
longer be set.
place A list of related place ref or values (RelatedPlaceRefOrValue [*]). Related Entity
reference. A related place defines a place described by reference or by value linked
to a specific entity. The polymorphic attributes @type, @schemaLocation &
@referredType are related to the place entity and not the RelatedPlaceRefOrValue
class itself.
AlarmedObject sub-resource
href A string. A reference to the managed object associated with the event.
id A string. The identifier of the managed object associated with the event.
Comment sub-resource
systemId A string. Indicates the system identifier on which the client set the comment.
time A date time (DateTime). Indicates the time commenting the alarm.
CrossedThresholdInformation sub-resource
© TM Forum 2020. All Rights Reserved. Page 66 of 134
Alarm Management API User Guide
granularity A string. Indicates the granularity at which the indicator is evaluated for threshold
crossing.
indicatorName A string. Indicates the name of indicator which crossed the threshold.
indicatorUnit A string. Indicates the unit of the measurement of the indicator corresponding to
the threshold that has been crossed.
observedValue A string. Indicates the value of the indicator which crossed the threshold.
RelatedPlaceRefOrValue sub-resource
Related Entity reference. A related place defines a place described by reference or by value linked to a specific
entity. The polymorphic attributes @type, @schemaLocation & @referredType are related to the place entity and
not the RelatedPlaceRefOrValue class itself.
@referredType A string. The actual type of the target instance when needed for disambiguation.
name A string. A user-friendly name for the place, such as [Paris Store], [London Store],
[Main Home].
@schemaLocation An uri (Uri). A URI to a JSON-Schema file that defines additional attributes and
relationships.
@type A string. When sub-classing, this defines the sub-class Extensible name.
role A string.
AlarmRef relationship
@referredType A string. The actual type of the target instance when needed for disambiguation.
@schemaLocation An uri (Uri). A URI to a JSON-Schema file that defines additional attributes and
relationships.
@type A string. When sub-classing, this defines the sub-class Extensible name.
ThresholdRef relationship
@referredType A string. The actual type of the target instance when needed for disambiguation.
@schemaLocation An uri (Uri). A URI to a JSON-Schema file that defines additional attributes and
relationships.
@type A string. When sub-classing, this defines the sub-class Extensible name.
{
"id": "1029",
"href": "/alarmManagement/v4/groupAlarms/1029",
"sourceSystemId": "ems-1",
"alarmChangedTime": "2019-07-03T03:32:52.744Z",
"parentAlarm": {
"id": "8675309"
},
"correlatedAlarm": [
{
"id": "8675399"
}
],
"state": "done",
"groupedAlarm": [
{
"id": "8675309",
"href": "/alarmManagement/v4/alarm/8675309",
"@baseType": "Alarm",
© TM Forum 2020. All Rights Reserved. Page 68 of 134
Alarm Management API User Guide
"@type": "Alarm",
"@schemaLocation": "/alarmManagement/v4/schema/Alarm.schema.json",
"externalAlarmId": "5551212",
"state": "raised",
"alarmType": "environmentalAlarm",
"perceivedSeverity": "minor",
"probableCause": "rectifierLowVoltage",
"specificProblem": "ps=3,sl=1,in=8",
"alarmedObjectType": "Rectifier",
"alarmedObject": {
"id": "93051825",
"href": "/resourceInventoryManagement/v4/resource/93051825"
},
"sourceSystemId": "ems-1",
"alarmDetails": "voltage=204",
"alarmRaisedTime": "2019-07-03T03:32:17.235Z",
"alarmReportingTime": "2019-07-03T03:32:17.552Z",
"alarmChangedTime": "2019-07-03T03:32:52.744Z",
"correlatedAlarm": [
{
"id": "8675399",
"href": "/alarmManagement/v4/alarm/868675399"
}
]
},
{
"id": "8675399",
"href": "/alarmManagement/v4/alarm/8675399",
"@baseType": "Alarm",
"@type": "Alarm",
"@schemaLocation": "/alarmManagement/v4/Alarm.schema.json",
"externalAlarmId": "5551234",
"state": "raised",
"alarmType": "equipmentAlarm",
"perceivedSeverity": "minor",
"probableCause": "powerSupplyFailure",
"specificProblem": "ch=1,ps=3",
"alarmedObjectType": "Chassis",
"alarmedObject": {
"id": "95830731",
"href": "/resourceInventoryManagement/v4/resource/95830731"
},
"sourceSystemId": "ems-1",
"alarmRaisedTime": "2019-07-03T03:32:17.843Z",
"alarmReportingTime": "2019-07-03T03:32:18.102Z",
"alarmChangedTime": "2019-07-03T03:32:52.744Z",
"parentAlarm": [
{
"id": "8675309",
"href": "/alarmManagement/v4/alarm/868675309"
}
]
}
]
}
© TM Forum 2020. All Rights Reserved. Page 69 of 134
Alarm Management API User Guide
Resource model
Field descriptions
UnGroupAlarms fields
unGroupedAlarm A list of alarm ref or values (AlarmRefOrValue [*]). The successfully uncorrelated
alarms.
AffectedService sub-resource
href A string. Provides the identifier of the service affected by the alarm.
id A string.
AlarmRefOrValue sub-resource
An alarm defined by reference or value. The polymorphic attributes @type, @schemaLocation & @referredType
are related to the alarm entity and not the RelatedAlarmRefOrValue class itself.
@referredType A string. The actual type of the target instance when needed for disambiguation.
ackSystemId A string. Provides the name of the system that last changed the ackState of an
alarm, i.e. acknowledged or unacknowledged the alarm.
ackUserId A string. Provides the id of the user who has last changed the ack state of the
alarm, i.e. acknowledged or unacknowledged the alarm.
alarmChangedTime A date time (DateTime). Indicates the last date and time when the alarm is changed
on the alarm-owning system. Any change to the alarm whether coming from the
alarmed resource or triggered by a change from the client is changing this time.
alarmClearedTime A date time (DateTime). Indicates the time (as a date + time) at which the alarm is
cleared at the source.
alarmRaisedTime A date time (DateTime). Indicates the time (as a date + time) at which the alarm
occurred at its source.
alarmReportingTime A date time (DateTime). Indicates the time (as a date + time) at which the alarm
was reported by the owning OSS. It might be different from the alarmRaisedTime.
For instance, if the alarm list is maintained by an EMS, the alarmRaisedtime would
be the time the alarm
was detected by the NE, while the alarmReportingTime would be the time this
alarm was stored in the alarm list of the EMS.
alarmedObjectType A string. The type (class) of the managed object associated with the event.
clearSystemId A string. Provides the id of the system where the user who invoked the
alarmCleared operation is located.
clearUserId A string. Provides the id of the user who invoked the alarmCleared operation.
plannedOutageIndicator A string. Indicates that the Managed Object (related to this alarm) is in planned
outage (in planned maintenance, or out-of-service).
probableCause A string. Provides the probable cause of the alarm. The values are consistent with
ITU-T Recommendation X.733 or 3GPP TS 32.111-2 Annex B.
proposedRepairedActions A string. Indicates proposed repair actions, if known to the system emitting the
alarm.
state A string. Defines the alarm state during its life cycle (raised | updated | cleared).
alarmType An alarm type (AlarmType). Categorizes the alarm (X.733 8.1.1, 3GPP TS 32.111-2
Annex A).
comment A list of comments (Comment [*]). Indicates the comments entered on the alarm.
perceivedSeverity A perceived severity (PerceivedSeverity). Lists the possible severities that can be
allocated to an Alarm. The values are consistent with ITU-T Recommendation
X.733.
Once an alarm has been cleared, its perceived severity is set to 'cleared' and can no
longer be set.
place A list of related place ref or values (RelatedPlaceRefOrValue [*]). Related Entity
reference. A related place defines a place described by reference or by value linked
to a specific entity. The polymorphic attributes @type, @schemaLocation &
@referredType are related to the place entity and not the RelatedPlaceRefOrValue
class itself.
AlarmedObject sub-resource
href A string. A reference to the managed object associated with the event.
id A string. The identifier of the managed object associated with the event.
Comment sub-resource
systemId A string. Indicates the system identifier on which the client set the comment.
time A date time (DateTime). Indicates the time commenting the alarm.
CrossedThresholdInformation sub-resource
granularity A string. Indicates the granularity at which the indicator is evaluated for threshold
crossing.
indicatorName A string. Indicates the name of indicator which crossed the threshold.
indicatorUnit A string. Indicates the unit of the measurement of the indicator corresponding to
the threshold that has been crossed.
observedValue A string. Indicates the value of the indicator which crossed the threshold.
RelatedPlaceRefOrValue sub-resource
Related Entity reference. A related place defines a place described by reference or by value linked to a specific
entity. The polymorphic attributes @type, @schemaLocation & @referredType are related to the place entity and
not the RelatedPlaceRefOrValue class itself.
@referredType A string. The actual type of the target instance when needed for disambiguation.
name A string. A user-friendly name for the place, such as [Paris Store], [London Store],
[Main Home].
@schemaLocation An uri (Uri). A URI to a JSON-Schema file that defines additional attributes and
relationships.
@type A string. When sub-classing, this defines the sub-class Extensible name.
role A string.
AlarmRef relationship
© TM Forum 2020. All Rights Reserved. Page 74 of 134
Alarm Management API User Guide
@referredType A string. The actual type of the target instance when needed for disambiguation.
@schemaLocation An uri (Uri). A URI to a JSON-Schema file that defines additional attributes and
relationships.
@type A string. When sub-classing, this defines the sub-class Extensible name.
ThresholdRef relationship
@referredType A string. The actual type of the target instance when needed for disambiguation.
@schemaLocation An uri (Uri). A URI to a JSON-Schema file that defines additional attributes and
relationships.
@type A string. When sub-classing, this defines the sub-class Extensible name.
{
"id": "1069",
"href": "/alarmManagement/v4/groupAlarms/1069",
"sourceSystemId": "ems-1",
"alarmChangedTime": "2019-07-03T03:42:12.861Z",
"parentAlarm": {
"id": "8675309"
},
"correlatedAlarm": [
{
"id": "8675399"
},
{
"id": "8675399"
}
],
"state": "done",
"unGroupedAlarm": [
{
"id": "8675309",
"href": "/alarmManagement/v4/alarm/8675309",
"@baseType": "Alarm",
"@type": "Alarm",
"@schemaLocation": "/alarmManagement/v4/schema/Alarm.schema.json",
"externalAlarmId": "5551212",
"state": "raised",
"alarmType": "environmentalAlarm",
"perceivedSeverity": "minor",
"probableCause": "rectifierLowVoltage",
"specificProblem": "ps=3,sl=1,in=8",
"alarmedObjectType": "Rectifier",
"alarmedObject": {
"id": "93051825",
"href": "/resourceInventoryManagement/v4/resource/93051825"
},
"sourceSystemId": "ems-1",
"alarmDetails": "voltage=204",
"alarmRaisedTime": "2019-07-03T03:32:17.235Z",
"alarmReportingTime": "2019-07-03T03:32:17.552Z",
"alarmChangedTime": "2019-07-03T03:42:12.861Z",
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:38:06.890Z",
"ackState": "UNacknowledged",
"comment": [
{
"userId": "bob@example.net",
"systemId": "ems-1",
"time": "2019-07-03T03:37:33.827Z",
"comment": "Dispatched"
}
]
},
{
"id": "8675399",
"href": "/alarmManagement/v4/alarm/8675399",
"@baseType": "Alarm",
"@type": "Alarm",
"@schemaLocation": "/alarmManagement/v4/schema/Alarm.schema.json",
"externalAlarmId": "5551234",
"state": "raised",
"alarmType": "equipmentAlarm",
"perceivedSeverity": "minor",
"probableCause": "powerSupplyFailure",
"specificProblem": "ch=1,ps=3",
"alarmedObjectType": "Chassis",
"alarmedObject": {
© TM Forum 2020. All Rights Reserved. Page 76 of 134
Alarm Management API User Guide
"id": "95830731",
"href": "/resourceInventoryManagement/v4/resource/95830731"
},
"sourceSystemId": "ems-1",
"alarmRaisedTime": "2019-07-03T03:32:17.843Z",
"alarmReportingTime": "2019-07-03T03:32:18.102Z",
"alarmChangedTime": "2019-07-03T03:42:12.861Z",
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:38:06.890Z",
"ackState": "unacknowledged",
"comment": [
{
"userId": "bob@example.net",
"systemId": "ems-1",
"time": "2019-07-03T03:37:33.827Z",
"comment": "Dispatched"
}
]
}
]
}
The notification structure for all notifications in this API follow the pattern depicted by the figure below.
A notification event resource (depicted by "SpecificEvent" placeholder) is a sub class of a generic Event structure
containing at least an id of the event occurrence (eventId), an event timestamp (eventTime), and the name of the
resource (eventType).
This notification structure owns an event payload structure ("SpecificEventPayload" placeholder) linked to the
resource concerned by the notification using the resource name as access field ("resourceName" placeholder).
We provide below the json representation of an example of a 'AlarmCreateEvent' notification event object
{
"eventId":"00001",
"eventTime":"2015-11-16T16:42:25-04:00",
"eventType":"AlarmCreateEvent",
"event": {
© TM Forum 2020. All Rights Reserved. Page 79 of 134
Alarm Management API User Guide
"alarm" :
{-- SEE Alarm RESOURCE SAMPLE --}
}
}
{
"eventId":"00001",
"eventTime":"2015-11-16T16:42:25-04:00",
"eventType":"AlarmAttributeValueChangeEvent",
"event": {
"alarm" :
{-- SEE Alarm RESOURCE SAMPLE --}
}
}
We provide below the json representation of an example of an 'AlarmStateChangeEvent' notification event object
{
"eventId":"00001",
"eventTime":"2015-11-16T16:42:25-04:00",
"eventType":"AlarmStateChangeEvent",
"event": {
"alarm" :
{-- SEE Alarm RESOURCE SAMPLE --}
}
}
We provide below the json representation of an example of an 'AlarmDeleteEvent' notification event object
{
"eventId":"00001",
"eventTime":"2015-11-16T16:42:25-04:00",
"eventType":"AlarmDeleteEvent",
"event": {
"alarm" :
{-- SEE Alarm RESOURCE SAMPLE --}
}
}
We provide below the json representation of an example of an 'AckAlarmsCreateEvent' notification event object
{
"eventId":"00001",
"eventTime":"2015-11-16T16:42:25-04:00",
"eventType":"AckAlarmsCreateEvent",
"event": {
"ackAlarms" :
{-- SEE AckAlarms RESOURCE SAMPLE --}
}
}
{
"eventId":"00001",
"eventTime":"2015-11-16T16:42:25-04:00",
"eventType":"AckAlarmsStateChangeEvent",
"event": {
"ackAlarms" :
{-- SEE AckAlarms RESOURCE SAMPLE --}
}
}
We provide below the json representation of an example of a 'UnAckAlarmsCreateEvent' notification event object
{
"eventId":"00001",
"eventTime":"2015-11-16T16:42:25-04:00",
"eventType":"UnAckAlarmsCreateEvent",
"event": {
"unAckAlarms" :
{-- SEE UnAckAlarms RESOURCE SAMPLE --}
}
}
{
"eventId":"00001",
"eventTime":"2015-11-16T16:42:25-04:00",
"eventType":"UnAckAlarmsStateChangeEvent",
"event": {
"unAckAlarms" :
{-- SEE UnAckAlarms RESOURCE SAMPLE --}
}
}
We provide below the json representation of an example of a 'ClearAlarmsCreateEvent' notification event object
{
"eventId":"00001",
"eventTime":"2015-11-16T16:42:25-04:00",
"eventType":"ClearAlarmsCreateEvent",
"event": {
"clearAlarms" :
{-- SEE ClearAlarms RESOURCE SAMPLE --}
}
}
{
"eventId":"00001",
"eventTime":"2015-11-16T16:42:25-04:00",
"eventType":"ClearAlarmsStateChangeEvent",
"event": {
"clearAlarms" :
{-- SEE ClearAlarms RESOURCE SAMPLE --}
}
}
{
"eventId":"00001",
"eventTime":"2015-11-16T16:42:25-04:00",
"eventType":"CommentAlarmsCreateEvent",
"event": {
"commentAlarms" :
{-- SEE CommentAlarms RESOURCE SAMPLE --}
}
}
{
"eventId":"00001",
"eventTime":"2015-11-16T16:42:25-04:00",
"eventType":"CommentAlarmsStateChangeEvent",
"event": {
"commentAlarms" :
{-- SEE CommentAlarms RESOURCE SAMPLE --}
}
}
We provide below the json representation of an example of a 'GroupAlarmsCreateEvent' notification event object
{
"eventId":"00001",
"eventTime":"2015-11-16T16:42:25-04:00",
"eventType":"GroupAlarmsCreateEvent",
"event": {
"groupAlarms" :
{-- SEE GroupAlarms RESOURCE SAMPLE --}
}
}
{
"eventId":"00001",
"eventTime":"2015-11-16T16:42:25-04:00",
"eventType":"GroupAlarmsStateChangeEvent",
"event": {
"groupAlarms" :
{-- SEE GroupAlarms RESOURCE SAMPLE --}
}
}
{
"eventId":"00001",
"eventTime":"2015-11-16T16:42:25-04:00",
"eventType":"UnGroupAlarmsCreateEvent",
"event": {
"unGroupAlarms" :
{-- SEE UnGroupAlarms RESOURCE SAMPLE --}
}
}
{
"eventId":"00001",
"eventTime":"2015-11-16T16:42:25-04:00",
"eventType":"UnGroupAlarmsStateChangeEvent",
"event": {
"unGroupAlarms" :
{-- SEE UnGroupAlarms RESOURCE SAMPLE --}
}
}
API OPERATIONS
Remember the following Uniform Contract:
Other Request Methods POST on TASK Resource GET and POST must not be
used to tunnel other request
methods.
Filtering and attribute selection rules are described in the TMF REST Design Guidelines.
Operations on Alarm
© TM Forum 2020. All Rights Reserved. Page 86 of 134
Alarm Management API User Guide
List alarms
GET /alarm?fields=...&{filtering}
Description
Usage Samples
Request
GET /tmf-api/alarmManagement/v4/alarm
Accept: application/json
Response
200
[
{
"id": "8675309",
"href": "/alarmManagement/v4/alarm/8675309",
"@baseType": "Alarm",
"@type": "Alarm",
"@schemaLocation": "/alarmManagement/v4/schema/Alarm.schema.json",
"externalAlarmId": "5551212",
"state": "updated",
"alarmType": "environmentalAlarm",
"perceivedSeverity": "major",
"probableCause": "rectifierLowVoltage",
"specificProblem": "ps=3,sl=1,in=8",
"alarmedObjectType": "Rectifier",
"alarmedObject": {
"id": "93051825",
"href": "/resourceInventoryManagement/v4/resource/93051825"
},
"sourceSystemId": "ems-1",
"alarmDetails": "voltage=95",
"alarmRaisedTime": "2019-07-03T03:32:17.235Z",
"alarmReportingTime": "2019-07-03T03:32:17.552Z",
"alarmChangedTime": "2019-07-03T03:32:24.715Z"
},
{
"id": "8675399",
"href": "/alarmManagement/v4/alarm/8675399",
"@baseType": "Alarm",
"@type": "Alarm",
"@schemaLocation": "/alarmManagement/v4/schema/Alarm.schema.json",
"externalAlarmId": "5551234",
"state": "updated",
"alarmType": "equipmentAlarm",
"perceivedSeverity": "minor",
"probableCause": "powerSupplyFailure",
"specificProblem": "ch=1,ps=3",
"alarmedObjectType": "Chassis",
"alarmedObject": {
"id": "95830731",
"href": "/resourceInventoryManagement/v4/resource/95830731"
},
"sourceSystemId": "ems-1",
"alarmRaisedTime": "2019-07-03T03:32:17.843Z",
"alarmReportingTime": "2019-07-03T03:32:18.102Z"
}
]
Retrieve alarm
GET /alarm/{id}?fields=...&{filtering}
Description
Usage Samples
Request
GET /tmf-api/alarmManagement/v4/alarm/8675309
Accept: application/json
Response
200
{
"id": "8675309",
"href": "/alarmManagement/v4/alarm/8675309",
"@baseType": "Alarm",
"@type": "Alarm",
"@schemaLocation": "/alarmManagement/v4/schema/Alarm.schema.json",
"externalAlarmId": "5551212",
"state": "updated",
"alarmType": "environmentalAlarm",
"perceivedSeverity": "major",
"probableCause": "rectifierLowVoltage",
"specificProblem": "ps=3,sl=1,in=8",
"alarmedObjectType": "Rectifier",
"alarmedObject": {
"id": "93051825",
"href": "/resourceInventoryManagement/v4/resource/93051825"
},
"sourceSystemId": "ems-1",
"alarmDetails": "voltage=95",
"alarmRaisedTime": "2019-07-03T03:32:17.235Z",
"alarmReportingTime": "2019-07-03T03:32:17.552Z",
"alarmChangedTime": "2019-07-03T03:32:24.715Z",
"ackState": "unacknowledged"
}
Create alarm
POST /alarm
Description
The following tables provide the list of mandatory and non mandatory attributes when creating a Alarm, including
any possible rule conditions and applicable default values. Notice that it is up to an implementer to add additional
mandatory attributes.
Usage Samples
Request
POST /tmf-api/alarmManagement/v4/alarm
Content-Type: application/json
{
"externalAlarmId": "5551212",
"state": "raised",
"alarmType": "environmentalAlarm",
"perceivedSeverity": "minor",
"probableCause": "rectifierLowVoltage",
"specificProblem": "ps=3,sl=1,in=8",
"alarmedObjectType": "NePowerSupply",
"alarmedObject": {
"id": "93051825",
© TM Forum 2020. All Rights Reserved. Page 90 of 134
Alarm Management API User Guide
"href": "/resourceInventoryManagement/v4/resource/93051825"
},
"sourceSystemId": "ems-1",
"alarmDetails": "voltage=204",
"alarmRaisedTime": "2019-07-03T03:32:17.235Z",
"alarmReportingTime": "2019-07-03T03:32:17.552Z"
}
Response
201
{
"id": "8675309",
"href": "/alarmManagement/v4/alarm/8675309",
"externalAlarmId": "5551212",
"state": "raised",
"alarmType": "environmentalAlarm",
"perceivedSeverity": "minor",
"probableCause": "rectifierLowVoltage",
"specificProblem": "ps=3,sl=1,in=8",
"alarmedObjectType": "Rectifier",
"alarmedObject": {
"id": "93051825",
"href": "/resourceInventoryManagement/v4/resource/93051825"
},
"sourceSystemId": "ems-1",
"alarmDetails": "voltage=204",
"alarmRaisedTime": "2019-07-03T03:32:17.235Z",
"alarmReportingTime": "2019-07-03T03:32:17.552Z"
}
Patch alarm
PATCH /alarm/{id}
Description
Note: If the update operation yields to the creation of sub-resources or relationships, the same rules concerning
mandatory sub-resource attributes and default value settings in the POST operation applies to the PATCH
operation. Hence these tables are not repeated here.
The tables below provide the list of patchable and non patchable attributes, including constraint rules on their
usage.
Usage Samples
Request
PATCH /tmf-api/alarmManagement/v4/alarm/8675309
Content-Type: application/json-patch+json
[
{
"op": "replace",
"path": "/state",
"value": "updated"
},
{
"op": "replace",
"path": "/perceivedSeverity",
"value": "major"
},
{
"op": "replace",
"path": "/alarmChangedTime",
"value": "2019-07-03T03:32:24.715Z"
},
{
"op": "replace",
"path": "/alarmDetails",
"value": "voltage=95"
}
]
Response
200
{
"id": "8675309",
"href": "/alarmManagement/v4/alarm/8675309",
"externalAlarmId": "5551212",
"state": "updated",
"alarmType": "environmentalAlarm",
"perceivedSeverity": "major",
"probableCause": "rectifierLowVoltage",
"specificProblem": "ps=3,sl=1,in=8",
"alarmedObjectType": "Rectifier",
"alarmedObject": {
"id": "93051825",
"href": "/resourceInventoryManagement/v4/resource/93051825"
},
"sourceSystemId": "ems-1",
"alarmDetails": "voltage=95",
"alarmRaisedTime": "2019-07-03T03:32:17.235Z",
"alarmReportingTime": "2019-07-03T03:32:17.552Z",
"alarmChangedTime": "2019-07-03T03:32:24.715Z"
© TM Forum 2020. All Rights Reserved. Page 93 of 134
Alarm Management API User Guide
Request
PATCH /tmf-api/alarmManagement/v4/alarm/8675309
Content-Type: application/merge-patch+json
{
"state": "updated",
"perceivedSeverity": "major",
"alarmDetails": "voltage=95",
"alarmChangedTime": "2019-07-03T03:32:24.715Z"
}
Response
200
{
"id": "8675309",
"href": "/alarmManagement/v4/alarm/8675309",
"externalAlarmId": "5551212",
"state": "updated",
"alarmType": "environmentalAlarm",
"perceivedSeverity": "major",
"probableCause": "rectifierLowVoltage",
"specificProblem": "ps=3,sl=1,in=8",
"alarmedObjectType": "Rectifier",
"alarmedObject": {
"id": "93051825",
"href": "/resourceInventoryManagement/v4/resource/93051825"
},
"sourceSystemId": "ems-1",
"alarmDetails": "voltage=95",
"alarmRaisedTime": "2019-07-03T03:32:17.235Z",
"alarmReportingTime": "2019-07-03T03:32:17.552Z",
"alarmChangedTime": "2019-07-03T03:32:24.715Z"
}
Request
PATCH /tmf-api/alarmManagement/v4/alarm/8675309
Content-Type: application/json-patch+json
[
{
"op": "replace",
"path": "/ackState",
"value": "acknowledged"
},
{
"op": "replace",
"path": "/ackSystemId",
"value": "ems-1"
},
{
"op": "replace",
"path": "/ackUserId",
"value": "bob@example.net"
},
{
"op": "replace",
"path": "/ackTime",
"value": "2019-07-03T03:33:12.623Z"
}
]
Response
200
{
"id": "8675309",
"href": "/alarmManagement/v4/alarm/8675309",
"externalAlarmId": "5551212",
"state": "updated",
"alarmType": "environmentalAlarm",
"perceivedSeverity": "major",
"probableCause": "rectifierLowVoltage",
"specificProblem": "ps=3,sl=1,in=8",
"alarmedObjectType": "Rectifier",
"alarmedObject": {
"id": "93051825",
"href": "/resourceInventoryManagement/v4/resource/93051825"
},
"sourceSystemId": "ems-1",
"alarmDetails": "voltage=95",
"alarmRaisedTime": "2019-07-03T03:32:17.235Z",
"alarmReportingTime": "2019-07-03T03:32:17.552Z",
"alarmChangedTime": "2019-07-03T03:32:24.715Z",
"ackTime": "2019-07-03T03:33:12.623Z",
"ackState": "acknowledged",
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net"
© TM Forum 2020. All Rights Reserved. Page 95 of 134
Alarm Management API User Guide
Request
PATCH /tmf-api/alarmManagement/v4/alarm/8675309
Content-Type: application/json-patch+json
[
{
"op": "replace",
"path": "/state",
"value": "cleared"
},
{
"op": "replace",
"path": "/perceivedSeverity",
"value": "cleared"
},
{
"op": "replace",
"path": "/alarmClearedTime",
"value": "2019-07-03T03:55:45.937Z"
},
{
"op": "replace",
"path": "/clearSystemId",
"value": "ems-1"
},
{
"op": "replace",
"path": "/clearUserId",
"value": "bob@example.net"
}
]
Response
200
{
"id": "8675309",
"href": "/alarmManagement/v4/alarm/8675309",
"externalAlarmId": "5551212",
"state": "cleared",
"alarmType": "environmentalAlarm",
"perceivedSeverity": "cleared",
"probableCause": "rectifierLowVoltage",
© TM Forum 2020. All Rights Reserved. Page 96 of 134
Alarm Management API User Guide
"specificProblem": "ps=3,sl=1,in=8",
"alarmedObjectType": "Rectifier",
"alarmedObject": {
"id": "93051825",
"href": "/resourceInventoryManagement/v4/resource/93051825"
},
"sourceSystemId": "ems-1",
"alarmDetails": "voltage=95",
"alarmRaisedTime": "2019-07-03T03:32:17.235Z",
"alarmReportingTime": "2019-07-03T03:32:17.552Z",
"alarmChangedTime": "2019-07-03T03:35:45.923Z",
"alarmClearedTime": "2019-07-03T03:55:45.937Z",
"clearSystemId": "ems-1",
"clearUserId": "bob@example.net"
}
Delete alarm
DELETE /alarm/{id}
Description
Usage Samples
Request
DELETE /tmf-api/alarmManagement/v4/alarm/8675309
Response
204
GET /ackAlarms?fields=...&{filtering}
Description
© TM Forum 2020. All Rights Reserved. Page 97 of 134
Alarm Management API User Guide
Usage Samples
Request
GET /tmf-api/alarmManagement/v4/ackAlarms
Accept: application/json
Response
200
[
{
"id": "1038",
"href": "/alarmManagement/v4/ackAlarms/1038",
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:33:12.623Z",
"alarmPattern": [
{
"id": "8675309"
},
{
"id": "8675399"
}
],
"state": "inProgress",
"ackedAlarm": []
}
]
GET /ackAlarms/{id}?fields=...&{filtering}
Description
Usage Samples
Request
GET /tmf-api/alarmManagement/v4/ackAlarms/1038
Accept: application/json
Response
200
{
"id": "1038",
"href": "/alarmManagement/v4/ackAlarms/1038",
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:33:12.623Z",
"alarmPattern": [
{
"id": "8675309"
},
{
"id": "8675399"
}
],
"state": "inProgress",
"ackedAlarm": []
}
POST /ackAlarms
Description
The following tables provide the list of mandatory and non mandatory attributes when creating an AckAlarms,
including any possible rule conditions and applicable default values. Notice that it is up to an implementer to add
additional mandatory attributes.
Usage Samples
Request
POST /tmf-api/alarmManagement/v4/ackAlarms
Content-Type: application/json
{
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:33:12.623Z",
"alarmPattern": [
{
"id": "8675309"
},
{
"id": "8675399"
}
]
}
Response
201
{
"id": "1038",
"href": "/alarmManagement/v4/ackAlarms/1038",
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:33:12.623Z",
© TM Forum 2020. All Rights Reserved. Page 100 of 134
Alarm Management API User Guide
"alarmPattern": [
{
"id": "8675309"
},
{
"id": "8675399"
}
],
"state": "done",
"ackedAlarm": [
{
"id": "8675309",
"href": "/alarmManagement/v4/alarm/8675309",
"@baseType": "Alarm",
"@type": "Alarm",
"@schemaLocation": "/alarmManagement/v4/schema/Alarm.schema.json",
"externalAlarmId": "5551212",
"state": "updated",
"alarmType": "environmentalAlarm",
"perceivedSeverity": "major",
"probableCause": "rectifierLowVoltage",
"specificProblem": "ps=3,sl=1,in=8",
"alarmedObjectType": "Rectifier",
"alarmedObject": {
"id": "93051825",
"href": "/resourceInventoryManagement/v4/resource/93051825"
},
"sourceSystemId": "ems-1",
"alarmDetails": "voltage=204",
"alarmRaisedTime": "2019-07-03T03:32:17.235Z",
"alarmReportingTime": "2019-07-03T03:32:17.552Z",
"alarmChangedTime": "2019-07-03T03:32:24.715Z",
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:33:12.623Z",
"ackState": "acknowledged",
"correlatedAlarm": [
{
"id": "8675399",
"href": "/alarmManagement/v4/alarm/868675399"
}
]
},
{
"id": "8675399",
"href": "/alarmManagement/v4/alarm/8675399",
"@baseType": "Alarm",
"@type": "Alarm",
"@schemaLocation": "/alarmManagement/v4/schema/Alarm.schema.json",
"externalAlarmId": "5551234",
"state": "raised",
"alarmType": "Equipment Alarm",
"perceivedSeverity": "minor",
"probableCause": "powerSupplyFailure",
"specificProblem": "ch=1,ps=3",
"alarmedObjectType": "Chassis",
"alarmedObject": {
"id": "95830731",
"href": "/resourceInventoryManagement/v4/resource/95830731"
},
"sourceSystemId": "ems-1",
"alarmRaisedTime": "2019-07-03T03:32:17.843Z",
"alarmReportingTime": "2019-07-03T03:32:18.102Z",
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:33:12.623Z",
"ackState": "acknowledged",
"parentAlarm": [
{
"id": "8675309",
"href": "/alarmManagement/v4/alarm/868675309"
}
]
}
]
}
Request
POST /tmf-api/alarmManagement/v4/ackAlarms
Content-Type: application/json
{
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:33:12.623Z",
"alarmPattern": [
{
"sourceSystemId": "ems-1",
"externalAlarmId": "5551212"
}
]
}
Response
201
{
"id": "1039",
"href": "/alarmManagement/v4/ackAlarms/1039",
© TM Forum 2020. All Rights Reserved. Page 102 of 134
Alarm Management API User Guide
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:33:12.623Z",
"alarmPattern": [
{
"sourceSystemId": "ems-1",
"externalAlarmId": "5551212"
}
],
"state": "done",
"ackedAlarm": [
{
"id": "8675309",
"href": "/alarmManagement/v4/alarm/8675309",
"@baseType": "Alarm",
"@type": "Alarm",
"@schemaLocation": "/alarmManagement/v4/schema/Alarm.schema.json",
"externalAlarmId": "5551212",
"state": "updated",
"alarmType": "environmentalAlarm",
"perceivedSeverity": "major",
"probableCause": "rectifierLowVoltage",
"specificProblem": "ps=3,sl=1,in=8",
"alarmedObjectType": "Rectifier",
"alarmedObject": {
"id": "93051825",
"href": "/resourceInventoryManagement/v4/resource/93051825"
},
"sourceSystemId": "ems-1",
"alarmDetails": "voltage=204",
"alarmRaisedTime": "2019-07-03T03:32:17.235Z",
"alarmReportingTime": "2019-07-03T03:32:17.552Z",
"alarmChangedTime": "2019-07-03T03:32:24.715Z",
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:33:12.623Z",
"ackState": "acknowledged",
"correlatedAlarm": [
{
"id": "8675399",
"href": "/alarmManagement/v4/alarm/868675399"
}
]
}
]
}
Request
POST /tmf-api/alarmManagement/v4/ackAlarms
© TM Forum 2020. All Rights Reserved. Page 103 of 134
Alarm Management API User Guide
Content-Type: application/json
{
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:33:12.623Z",
"alarmPattern": [
{
"id": "8675309"
},
{
"parentAlarm": {
"id": "8675309"
}
}
]
}
Response
201
{
"id": "1040",
"href": "/alarmManagement/v4/ackAlarms/1040",
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:33:12.623Z",
"alarmPattern": [
{
"id": "8675309"
},
{
"parentAlarm": {
"id": "8675309"
}
}
],
"state": "done",
"ackedAlarm": [
{
"id": "8675309",
"href": "/alarmManagement/v4/alarm/8675309",
"@baseType": "Alarm",
"@type": "Alarm",
"@schemaLocation": "/alarmManagement/v4/schema/Alarm.schema.json",
"externalAlarmId": "5551212",
"state": "updated",
"alarmType": "environmentalAlarm",
"perceivedSeverity": "major",
"probableCause": "rectifierLowVoltage",
"specificProblem": "ps=3,sl=1,in=8",
© TM Forum 2020. All Rights Reserved. Page 104 of 134
Alarm Management API User Guide
"alarmedObjectType": "Rectifier",
"alarmedObject": {
"id": "93051825",
"href": "/resourceInventoryManagement/v4/resource/93051825"
},
"sourceSystemId": "ems-1",
"alarmDetails": "voltage=204",
"alarmRaisedTime": "2019-07-03T03:32:17.235Z",
"alarmReportingTime": "2019-07-03T03:32:17.552Z",
"alarmChangedTime": "2019-07-03T03:32:24.715Z",
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:33:12.623Z",
"ackState": "acknowledged",
"correlatedAlarm": [
{
"id": "8675399",
"href": "/alarmManagement/v4/alarm/868675399"
}
]
},
{
"id": "8675399",
"href": "/alarmManagement/v4/alarm/8675399",
"@baseType": "Alarm",
"@type": "Alarm",
"@schemaLocation": "/alarmManagement/v4/schema/Alarm.schema.json",
"externalAlarmId": "5551234",
"state": "raised",
"alarmType": "equipmentAlarm",
"perceivedSeverity": "minor",
"probableCause": "powerSupplyFailure",
"specificProblem": "ch=1,ps=3",
"alarmedObjectType": "Chassis",
"alarmedObject": {
"id": "95830731",
"href": "/resourceInventoryManagement/v4/resource/95830731"
},
"sourceSystemId": "ems-1",
"alarmRaisedTime": "2019-07-03T03:32:17.843Z",
"alarmReportingTime": "2019-07-03T03:32:18.102Z",
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:33:12.623Z",
"ackState": "acknowledged",
"parentAlarm": [
{
"id": "8675309",
"href": "/alarmManagement/v4/alarm/868675309"
}
]
}
]
}
GET /unAckAlarms?fields=...&{filtering}
Description
Usage Samples
Request
GET /tmf-api/alarmManagement/v4/unAckAlarms
Accept: application/json
Response
200
[
{
"id": "1052",
"href": "/alarmManagement/v4/unAckAlarms/1052",
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:38:06.890Z",
"alarmPattern": [
{
"id": "8675309"
},
{
"id": "8675399"
}
],
"state": "inProgress",
"unAckedAlarm": []
}
]
GET /unAckAlarms/{id}?fields=...&{filtering}
Description
Usage Samples
Request
GET /tmf-api/alarmManagement/v4/unAckAlarms/1052
Accept: application/json
Response
200
{
"id": "1052",
"href": "/alarmManagement/v4/unAckAlarms/1052",
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:38:06.890Z",
"alarmPattern": [
{
"id": "8675309"
},
{
"id": "8675399"
}
],
"state": "inProgress",
"unAckedAlarm": []
}
POST /unAckAlarms
Description
The following tables provide the list of mandatory and non mandatory attributes when creating a UnAckAlarms,
including any possible rule conditions and applicable default values. Notice that it is up to an implementer to add
additional mandatory attributes.
Usage Samples
Request
POST /tmf-api/alarmManagement/v4/unAckAlarms
Content-Type: application/json
{
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:38:06.890Z",
"alarmPattern": [
{
"id": "8675309"
},
{
"id": "8675399"
}
]
}
Response
© TM Forum 2020. All Rights Reserved. Page 108 of 134
Alarm Management API User Guide
201
{
"id": "1052",
"href": "/alarmManagement/v4/unAckAlarms/1052",
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:38:06.890Z",
"alarmPattern": [
{
"id": "8675309"
},
{
"id": "8675399"
}
],
"state": "done",
"unAckedAlarm": [
{
"id": "8675309",
"href": "/alarmManagement/v4/alarm/8675309",
"@baseType": "Alarm",
"@type": "Alarm",
"@schemaLocation": "/alarmManagement/v4/schema/Alarm.schema.json",
"externalAlarmId": "5551212",
"state": "updated",
"alarmType": "environmentalAlarm",
"perceivedSeverity": "major",
"probableCause": "rectifierLowVoltage",
"specificProblem": "ps=3,sl=1,in=8",
"alarmedObjectType": "Rectifier",
"alarmedObject": {
"id": "93051825",
"href": "/resourceInventoryManagement/v4/resource/93051825"
},
"sourceSystemId": "ems-1",
"alarmDetails": "voltage=95",
"alarmRaisedTime": "2019-07-03T03:32:17.235Z",
"alarmReportingTime": "2019-07-03T03:32:17.552Z",
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:38:06.890Z",
"ackState": "UNacknowledged",
"correlatedAlarm": [
{
"id": "8675399",
"href": "/alarmManagement/v4/alarm/868675399"
}
],
"comment": [
{
"userId": "bob@example.net",
"systemId": "ems-1",
"time": "2019-07-03T03:37:33.827Z",
"comment": "Dispatched"
}
]
},
{
"id": "8675399",
"href": "/alarmManagement/v4/alarm/8675399",
"@baseType": "Alarm",
"@type": "Alarm",
"@schemaLocation": "/alarmManagement/v4/schema/Alarm.schema.json",
"externalAlarmId": "5551234",
"state": "raised",
"alarmType": "equipmentAlarm",
"perceivedSeverity": "minor",
"probableCause": "powerSupplyFailure",
"specificProblem": "ch=1,ps=3",
"alarmedObjectType": "Chassis",
"alarmedObject": {
"id": "95830731",
"href": "/resourceInventoryManagement/v4/resource/95830731"
},
"sourceSystemId": "ems-1",
"alarmRaisedTime": "2019-07-03T03:32:17.843Z",
"alarmReportingTime": "2019-07-03T03:32:18.102Z",
"alarmChangedTime": "2019-07-03T03:32:52.744Z",
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:38:06.890Z",
"ackState": "unacknowledged",
"parentAlarm": [
{
"id": "8675309",
"href": "/alarmManagement/v4/alarm/868675309"
}
],
"comment": [
{
"userId": "bob@example.net",
"systemId": "ems-1",
"time": "2019-07-03T03:37:33.827Z",
"comment": "Dispatched"
}
]
}
]
}
GET /clearAlarms?fields=...&{filtering}
Description
Usage Samples
Request
GET /tmf-api/alarmManagement/v4/clearAlarms
Accept: application/json
Response
200
[
{
"id": "1089",
"href": "/alarmManagement/v4/commentAlarms/1089",
"clearSystemId": "ems-1",
"clearUserId": "bob@example.net",
"alarmClearedTime": "2019-07-03T03:55:45.937Z",
"alarmPattern": [
{
"id": "8675309"
},
{
"id": "8675399"
}
],
"state": "inProgress",
"clearedAlarm": []
}
]
GET /clearAlarms/{id}?fields=...&{filtering}
Description
© TM Forum 2020. All Rights Reserved. Page 111 of 134
Alarm Management API User Guide
Usage Samples
Request
GET /tmf-api/alarmManagement/v4/clearAlarms/1089
Accept: application/json
Response
200
{
"id": "1089",
"href": "/alarmManagement/v4/commentAlarms/1089",
"clearSystemId": "ems-1",
"clearUserId": "bob@example.net",
"alarmClearedTime": "2019-07-03T03:55:45.937Z",
"alarmPattern": [
{
"id": "8675309"
},
{
"id": "8675399"
}
],
"state": "inProgress",
"clearedAlarm": []
}
POST /clearAlarms
Description
The following tables provide the list of mandatory and non mandatory attributes when creating a ClearAlarms,
including any possible rule conditions and applicable default values. Notice that it is up to an implementer to add
additional mandatory attributes.
Usage Samples
Request
POST /tmf-api/alarmManagement/v4/clearAlarms
Content-Type: application/json
{
"clearSystemId": "ems-1",
"clearUserId": "bob@example.net",
"alarmClearedTime": "2019-07-03T03:55:45.937Z",
"alarmPattern": [
{
"id": "8675309"
},
{
"id": "8675399"
}
]
}
Response
201
{
"id": "1089",
"href": "/alarmManagement/v4/commentAlarms/1089",
"clearSystemId": "ems-1",
"clearUserId": "bob@example.net",
"alarmClearedTime": "2019-07-03T03:55:45.937Z",
© TM Forum 2020. All Rights Reserved. Page 113 of 134
Alarm Management API User Guide
"alarmPattern": [
{
"id": "8675309"
},
{
"id": "8675399"
}
],
"state": "done",
"clearedAlarm": [
{
"id": "8675309",
"href": "/alarmManagement/v4/alarm/8675309",
"@baseType": "Alarm",
"@type": "Alarm",
"@schemaLocation": "/alarmManagement/v4/schema/Alarm.schema.json",
"externalAlarmId": "5551212",
"state": "cleared",
"alarmType": "environmentalAlarm",
"perceivedSeverity": "cleared",
"probableCause": "rectifierLowVoltage",
"specificProblem": "ps=3,sl=1,in=8",
"alarmedObjectType": "Rectifier",
"alarmedObject": {
"id": "93051825",
"href": "/resourceInventoryManagement/v4/resource/93051825"
},
"sourceSystemId": "ems-1",
"alarmDetails": "voltage=95",
"alarmRaisedTime": "2019-07-03T03:32:17.235Z",
"alarmReportingTime": "2019-07-03T03:32:17.552Z",
"alarmChangedTime": "2019-07-03T03:42:12.861Z",
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:38:06.890Z",
"ackState": "UNacknowledged",
"comment": [
{
"userId": "bob@example.net",
"systemId": "ems-1",
"time": "2019-07-03T03:37:33.827Z",
"comment": "Dispatched"
}
],
"clearSystemId": "ems-1",
"clearUserId": "bob@example.net",
"alarmClearedTime": "2019-07-03T03:55:45.937Z"
},
{
"id": "8675399",
"href": "/alarmManagement/v4/alarm/8675399",
"@baseType": "Alarm",
"@type": "Alarm",
"@schemaLocation": "/alarmManagement/v4/schema/Alarm.schema.json",
"externalAlarmId": "5551234",
"state": "cleared",
"alarmType": "equipmentAlarm",
"perceivedSeverity": "cleared",
"probableCause": "powerSupplyFailure",
"specificProblem": "ch=1,ps=3",
"alarmedObjectType": "Chassis",
"alarmedObject": {
"id": "95830731",
"href": "/resourceInventoryManagement/v4/resource/95830731"
},
"sourceSystemId": "ems-1",
"alarmRaisedTime": "2019-07-03T03:32:17.843Z",
"alarmReportingTime": "2019-07-03T03:32:18.102Z",
"alarmChangedTime": "2019-07-03T03:42:12.861Z",
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:38:06.890Z",
"ackState": "unacknowledged",
"comment": [
{
"userId": "bob@example.net",
"systemId": "ems-1",
"time": "2019-07-03T03:37:33.827Z",
"comment": "Dispatched"
}
],
"clearSystemId": "ems-1",
"clearUserId": "bob@example.net",
"alarmClearedTime": "2019-07-03T03:55:45.937Z"
}
]
}
GET /commentAlarms?fields=...&{filtering}
Description
Usage Samples
Request
GET /tmf-api/alarmManagement/v4/commentAlarms
Accept: application/json
Response
200
[
{
"id": "1045",
"href": "/alarmManagement/v4/ackAlarms/1045",
"comment": {
"userId": "bob@example.net",
"systemId": "ems-1",
"time": "2019-07-03T03:37:33.827Z",
"comment": "Dispatched"
},
"alarmPattern": [
{
"id": "8675309"
},
{
"id": "8675399"
}
],
"state": "inProgress",
"commentedAlarm": []
}
]
GET /commentAlarms/{id}?fields=...&{filtering}
Description
Usage Samples
Request
GET /tmf-api/alarmManagement/v4/commentAlarms/1045
Accept: application/json
Response
200
{
"id": "1045",
"href": "/alarmManagement/v4/ackAlarms/1045",
"comment": {
"userId": "bob@example.net",
"systemId": "ems-1",
"time": "2019-07-03T03:37:33.827Z",
"comment": "Dispatched"
},
"alarmPattern": [
{
"id": "8675309"
},
{
"id": "8675399"
}
],
"state": "inProgress",
"commentedAlarm": []
}
POST /commentAlarms
Description
The following tables provide the list of mandatory and non mandatory attributes when creating a CommentAlarms,
including any possible rule conditions and applicable default values. Notice that it is up to an implementer to add
additional mandatory attributes.
Usage Samples
Request
POST /tmf-api/alarmManagement/v4/commentAlarms
Content-Type: application/json
{
"comment": {
"userId": "bob@example.net",
"systemId": "ems-1",
"time": "2019-07-03T03:37:33.827Z",
"comment": "Dispatched"
},
"alarmPattern": [
{
"id": "8675309"
},
{
"id": "8675399"
}
]
}
Response
201
{
"id": "1045",
"href": "/alarmManagement/v4/ackAlarms/1045",
"comment": {
"userId": "bob@example.net",
"systemId": "ems-1",
"time": "2019-07-03T03:37:33.827Z",
"comment": "Dispatched"
},
"alarmPattern": [
{
"id": "8675309"
},
{
"id": "8675399"
© TM Forum 2020. All Rights Reserved. Page 118 of 134
Alarm Management API User Guide
}
],
"state": "done",
"commentedAlarm": [
{
"id": "8675309",
"href": "/alarmManagement/v4/alarm/8675309",
"@baseType": "Alarm",
"@type": "Alarm",
"@schemaLocation": "/alarmManagement/v4/schema/Alarm.schema.json",
"externalAlarmId": "5551212",
"state": "updated",
"alarmType": "environmentalAlarm",
"perceivedSeverity": "major",
"probableCause": "rectifierLowVoltage",
"specificProblem": "ps=3,sl=1,in=8",
"alarmedObjectType": "Rectifier",
"alarmedObject": {
"id": "93051825",
"href": "/resourceInventoryManagement/v4/resource/93051825"
},
"sourceSystemId": "ems-1",
"alarmDetails": "voltage=95",
"alarmRaisedTime": "2019-07-03T03:32:17.235Z",
"alarmReportingTime": "2019-07-03T03:32:17.552Z",
"alarmChangedTime": "2019-07-03T03:32:52.744Z",
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:33:12.623Z",
"ackState": "acknowledged",
"correlatedAlarm": [
{
"id": "8675399",
"href": "/alarmManagement/v4/alarm/868675399"
}
],
"comment": [
{
"userId": "bob@example.net",
"systemId": "ems-1",
"time": "2019-07-03T03:37:33.827Z",
"comment": "Dispatched"
}
]
},
{
"id": "8675399",
"href": "/alarmManagement/v4/alarm/8675399",
"@baseType": "Alarm",
"@type": "Alarm",
"@schemaLocation": "/alarmManagement/v4/schema/Alarm.schema.json",
"externalAlarmId": "5551234",
"state": "raised",
"alarmType": "equipmentAlarm",
"perceivedSeverity": "minor",
"probableCause": "powerSupplyFailure",
"specificProblem": "ch=1,ps=3",
"alarmedObjectType": "Chassis",
"alarmedObject": {
"id": "95830731",
"href": "/resourceInventoryManagement/v4/resource/95830731"
},
"sourceSystemId": "ems-1",
"alarmRaisedTime": "2019-07-03T03:32:17.843Z",
"alarmReportingTime": "2019-07-03T03:32:18.102Z",
"alarmChangedTime": "2019-07-03T03:32:52.744Z",
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:33:12.623Z",
"ackState": "acknowledged",
"parentAlarm": [
{
"id": "8675309",
"href": "/alarmManagement/v4/alarm/868675309"
}
],
"comment": [
{
"userId": "bob@example.net",
"systemId": "ems-1",
"time": "2019-07-03T03:37:33.827Z",
"comment": "Dispatched"
}
]
}
]
}
GET /groupAlarms?fields=...&{filtering}
Description
Usage Samples
Request
GET /tmf-api/alarmManagement/v4/groupAlarms
Accept: application/json
Response
200
[
{
"id": "1029",
"href": "/alarmManagement/v4/groupAlarms/1029",
"sourceSystemId": "ems-1",
"alarmChangedTime": "2019-07-03T03:32:52.744Z",
"parentAlarm": {
"id": "8675309"
},
"correlatedAlarm": [
{
"id": "8675399"
}
],
"state": "inProgress",
"groupedAlarm": []
}
]
GET /groupAlarms/{id}?fields=...&{filtering}
Description
Usage Samples
Request
GET /tmf-api/alarmManagement/v4/groupAlarms/1029
© TM Forum 2020. All Rights Reserved. Page 121 of 134
Alarm Management API User Guide
Accept: application/json
Response
200
{
"id": "1029",
"href": "/alarmManagement/v4/groupAlarms/1029",
"sourceSystemId": "ems-1",
"alarmChangedTime": "2019-07-03T03:32:52.744Z",
"parentAlarm": {
"id": "8675309"
},
"correlatedAlarm": [
{
"id": "8675399"
}
],
"state": "inProgress",
"groupedAlarm": []
}
POST /groupAlarms
Description
The following tables provide the list of mandatory and non mandatory attributes when creating a GroupAlarms,
including any possible rule conditions and applicable default values. Notice that it is up to an implementer to add
additional mandatory attributes.
Usage Samples
Request
POST /tmf-api/alarmManagement/v4/groupAlarms
Content-Type: application/json
{
"sourceSystemId": "ems-1",
"alarmChangedTime": "2019-07-03T03:32:52.744Z",
"parentAlarm": {
"id": "8675309"
},
"correlatedAlarm": [
{
"id": "8675399"
}
]
}
Response
201
{
"id": "1029",
"href": "/alarmManagement/v4/groupAlarms/1029",
"sourceSystemId": "ems-1",
"alarmChangedTime": "2019-07-03T03:32:52.744Z",
"parentAlarm": {
"id": "8675309"
},
"correlatedAlarm": [
{
"id": "8675399"
}
],
"state": "done",
"groupedAlarm": [
{
"id": "8675309",
"href": "/alarmManagement/v4/alarm/8675309",
"@baseType": "Alarm",
"@type": "Alarm",
"@schemaLocation": "/alarmManagement/v4/schema/Alarm.schema.json",
"externalAlarmId": "5551212",
"state": "updated",
"alarmType": "environmentalAlarm",
"perceivedSeverity": "major",
© TM Forum 2020. All Rights Reserved. Page 123 of 134
Alarm Management API User Guide
"probableCause": "rectifierLowVoltage",
"specificProblem": "ps=3,sl=1,in=8",
"alarmedObjectType": "Rectifier",
"alarmedObject": {
"id": "93051825",
"href": "/resourceInventoryManagement/v4/resource/93051825"
},
"sourceSystemId": "ems-1",
"alarmDetails": "voltage=95",
"alarmRaisedTime": "2019-07-03T03:32:17.235Z",
"alarmReportingTime": "2019-07-03T03:32:17.552Z",
"alarmChangedTime": "2019-07-03T03:32:52.744Z",
"correlatedAlarm": [
{
"id": "8675399",
"href": "/alarmManagement/v4/alarm/868675399"
}
]
},
{
"id": "8675399",
"href": "/alarmManagement/v4/alarm/8675399",
"@baseType": "Alarm",
"@type": "Alarm",
"@schemaLocation": "/alarmManagement/v4/schema/Alarm.schema.json",
"externalAlarmId": "5551234",
"state": "raised",
"alarmType": "equipmentAlarm",
"perceivedSeverity": "minor",
"probableCause": "powerSupplyFailure",
"specificProblem": "ch=1,ps=3",
"alarmedObjectType": "Chassis",
"alarmedObject": {
"id": "95830731",
"href": "/resourceInventoryManagement/v4/resource/95830731"
},
"sourceSystemId": "ems-1",
"alarmRaisedTime": "2019-07-03T03:32:17.843Z",
"alarmReportingTime": "2019-07-03T03:32:18.102Z",
"alarmChangedTime": "2019-07-03T03:32:52.744Z",
"parentAlarm": [
{
"id": "8675309",
"href": "/alarmManagement/v4/alarm/868675309"
}
]
}
]
}
GET /unGroupAlarms?fields=...&{filtering}
Description
Usage Samples
Request
GET /tmf-api/alarmManagement/v4/unGroupAlarms
Accept: application/json
Response
200
[
{
"id": "1069",
"href": "/alarmManagement/v4/groupAlarms/1069",
"sourceSystemId": "ems-1",
"alarmChangedTime": "2019-07-03T03:42:12.861Z",
"parentAlarm": {
"id": "8675309"
},
"correlatedAlarm": [
{
"id": "8675399"
},
{
"id": "8675399"
}
],
"state": "inProgress",
"unGroupedAlarm": []
}
]
GET /unGroupAlarms/{id}?fields=...&{filtering}
© TM Forum 2020. All Rights Reserved. Page 125 of 134
Alarm Management API User Guide
Description
Usage Samples
Request
GET /tmf-api/alarmManagement/v4/unGroupAlarms/1069
Accept: application/json
Response
200
{
"id": "1069",
"href": "https://host:port/alarmManagement/v4/groupAlarms/1069",
"sourceSystemId": "ems-1",
"alarmChangedTime": "2019-07-03T03:42:12.861Z",
"parentAlarm": {
"id": "8675309"
},
"correlatedAlarm": [
{
"id": "8675399"
},
{
"id": "8675399"
}
],
"state": "inProgress",
"unGroupedAlarm": []
}
POST /unGroupAlarms
Description
The following tables provide the list of mandatory and non mandatory attributes when creating a UnGroupAlarms,
including any possible rule conditions and applicable default values. Notice that it is up to an implementer to add
additional mandatory attributes.
Usage Samples
Request
POST /tmf-api/alarmManagement/v4/unGroupAlarms
Content-Type: application/json
{
"sourceSystemId": "ems-1",
"alarmChangedTime": "2019-07-03T03:42:12.861Z",
"parentAlarm": {
"id": "8675309"
},
"correlatedAlarm": [
{
"id": "8675399"
},
{
"id": "8675399"
}
]
}
Response
201
"id": "1069",
"href": "/alarmManagement/v4/groupAlarms/1069",
"sourceSystemId": "ems-1",
"alarmChangedTime": "2019-07-03T03:42:12.861Z",
"parentAlarm": {
"id": "8675309"
},
"correlatedAlarm": [
{
"id": "8675399"
},
{
"id": "8675399"
}
],
"state": "done",
"unGroupedAlarm": [
{
"id": "8675309",
"href": "/alarmManagement/v4/alarm/8675309",
"@baseType": "Alarm",
"@type": "Alarm",
"@schemaLocation": "/alarmManagement/v4/schema/Alarm.schema.json",
"externalAlarmId": "5551212",
"state": "updated",
"alarmType": "environmentalAlarm",
"perceivedSeverity": "major",
"probableCause": "rectifierLowVoltage",
"specificProblem": "ps=3,sl=1,in=8",
"alarmedObjectType": "Rectifier",
"alarmedObject": {
"id": "93051825",
"href": "/resourceInventoryManagement/v4/resource/93051825"
},
"sourceSystemId": "ems-1",
"alarmDetails": "voltage=95",
"alarmRaisedTime": "2019-07-03T03:32:17.235Z",
"alarmReportingTime": "2019-07-03T03:32:17.552Z",
"alarmChangedTime": "2019-07-03T03:42:12.861Z",
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:38:06.890Z",
"ackState": "UNacknowledged",
"comment": [
{
"userId": "bob@example.net",
"systemId": "ems-1",
"time": "2019-07-03T03:37:33.827Z",
"comment": "Dispatched"
}
]
},
{
"id": "8675399",
"href": "/alarmManagement/v4/alarm/8675399",
"@baseType": "Alarm",
"@type": "Alarm",
"@schemaLocation": "/alarmManagement/v4/schema/Alarm.schema.json",
"externalAlarmId": "5551234",
"state": "updated",
"alarmType": "equipmentAlarm",
"perceivedSeverity": "minor",
"probableCause": "powerSupplyFailure",
"specificProblem": "ch=1,ps=3",
"alarmedObjectType": "Chassis",
"alarmedObject": {
"id": "95830731",
"href": "/resourceInventoryManagement/v4/resource/95830731"
},
"sourceSystemId": "ems-1",
"alarmRaisedTime": "2019-07-03T03:32:17.843Z",
"alarmReportingTime": "2019-07-03T03:32:18.102Z",
"alarmChangedTime": "2019-07-03T03:42:12.861Z",
"ackSystemId": "ems-1",
"ackUserId": "bob@example.net",
"ackTime": "2019-07-03T03:38:06.890Z",
"ackState": "unacknowledged",
"comment": [
{
"userId": "bob@example.net",
"systemId": "ems-1",
"time": "2019-07-03T03:37:33.827Z",
"comment": "Dispatched"
}
]
}
]
}
API NOTIFICATIONS
For every single of operation on the entities use the following templates and provide sample REST
notification POST calls.
It is assumed that the Pub/Sub uses the Register and UnRegister mechanisms described in the REST
Guidelines reproduced below.
Register listener
POST /hub
Description
Sets the communication endpoint address the service instance must use to deliver information about its health
state, execution state, failures and metrics. Subsequent POST calls will be rejected by the service if it does not
support multiple listeners. In this case DELETE /api/hub/{id} must be called before an endpoint can be created
again.
Behavior
Usage Samples
Request
POST /api/hub
Accept: application/json
{"callback": "http://in.listener.com"}
Response
201
Content-Type: application/json
Location: /api/hub/42
{"id":"42","callback":"http://in.listener.com","query":null}
Unregister listener
DELETE /hub/{id}
Description
Clears the communication endpoint address that was set by creating the Hub.
Behavior
Usage Samples
Request
DELETE /api/hub/42
Accept: application/json
Response
204
Clears the communication endpoint address that was set by creating the Hub.
Provides to a registered listener the description of the event that was raised. The /client/listener url is the
callback url passed when registering the listener.
Behavior
Returns HTTP/1.1 status code 201 if the service is able to set the configuration.
Usage Samples
Here's an example of a notification received by the listener. In this example “EVENT TYPE” should be replaced by
one of the notification types supported by this API (see Notification resources Models section) and EVENT BODY
refers to the data structure of the given notification type.
© TM Forum 2020. All Rights Reserved. Page 131 of 134
Alarm Management API User Guide
Request
POST /client/listener
Accept: application/json
{
"event": {
EVENT BODY
},
"eventType": "EVENT_TYPE"
}
Response
201
For detailed examples on the general TM Forum notification mechanism, see the TMF REST Design
Guidelines.
Acknowledgements
Version History
Release Date Release led by: Description
Number
Release History
Release 17.0.0 20-Sep-2017 Yuval Stein, TEOCO First Release of the Document.
Contributors to Document