ENM CLI - Alarm
ENM CLI - Alarm
ENM CLI - Alarm
alarm get
< Back To Alarm
Syntax
Syntax to get open alarms in the network
Scope
Use the scope to specify node names or collections or both to search on.
NetworkElement id (it allows the use of the wildcard "*" for matching characters)
ManagementSystem id (it allows the use of the wildcard "*" for matching characters)
FDN of NetworkElement
FDN of ManagementSytem
FDN of VirtualNetworkFunctionManager
FDN of MeContext (if it has been created)
FDN of ManagedElement (if the node has been synchronized and the MeContext is not present)
<collectionName> is the name of a collection of managed objects. The supported managed objects are:
NetworkElement, ManagementSytem and VirtualNetworkFunctionManager. One or more collections can be defined as
scope. Multiple collection names must be separated with a semi-colon, for example: Collection01;Collection02
Names with special characters listed in following table must be used quoted (e.g. "Special@Name_12")
Character Description
. full stop
? question mark
! exclamation mark
@ at sign
% percent sign
& ampersand
^ circumflex accent
_ low line
/ slash
| vertical bar
- hyphen-minus
= equal
https://enm2.mtnirancell.ir/#help/app/cliapp/concept/syntax_alarm/get 1/17
8/21/2021 ENM CLI - Help Center - enm2
$ dollar
space
Quick Filter
Use the quick filter to limit the output of alarm get command by specifying either the severity, state or both. If not
specified, all instances are involved.
-ack, --ack
-cle, --cleared
-closed, --closed
-cri, --critical
-ind, --indeterminate
-maj, --major
Filter alarms with severity major.
-min, --minor
-unack, --unack
-und, --undefined
-war, --warning
--primary
Filter alarms with root primary.
--secondary
Filter
Use the filter to limit the output of the get command by specifying an alarm attribute.
-<attributeShortName>, --<attributeName>
Specify a list of values to be used for filtering the alarms for a specific attribute. The <attributeShortName> is either a
two-letter or three-letter abbreviation. The filter criteria for text attributes is always "contains". The available values are:
-addi, --additionalInformation
-aid, --alarmId
https://enm2.mtnirancell.ir/#help/app/cliapp/concept/syntax_alarm/get 2/17
8/21/2021 ENM CLI - Help Center - enm2
-alobj, --alarmingObject
-als, --alarmState
-an, --alarmNumber
-ao, --ackOperator
-boi, --backupObjectInstance
-bs, --backupStatus
-co, --ceaseOperator
-cop, --commentOperator
-ctx, --commentText
-cv, --correlatedVisibility
-evt, --eventType
-fmxg, --fmxGenerated
-lao, --lastAlarmOperation
-mc, --manualCease
-oc, --oscillationCount
-oor, --objectOfReference
-pc, --probableCause
-pd, --problemDetail
-pra, --proposedRepairAction
-press, --presentSeverity
-prevs, --previousSeverity
-ptx, --problemText
-pty, --processingType
-rpc, --repeatCount
-rt, --recordType
-sp, --specificProblem
-ss, --syncState
-ti, --trendIndication
-tz, --timeZone
-vis, --visibility
-id
Specify the alarmId to filter alarms. Note that alarmId is not unique in the ENM scope. To get a single alarm, filter also
by objectOfReference.
-ta, --timeAttribute
eventTime
insertTime
lastUpdated
ackTime
commentTime
ceaseTime
https://enm2.mtnirancell.ir/#help/app/cliapp/concept/syntax_alarm/get 3/17
8/21/2021 ENM CLI - Help Center - enm2
-b, --beginSpecify a starting date or time for filtering the alarms. The default attribute is the eventTime The format is
YYYY-MM-DDThh:mm:ss. The time part is an optional attribute (00:00:00 is assumed).
-e, --end
Specify an end date or time for filtering the alarms. The default attribute is the eventTime. The format is YYYY-MM-
DDThh:mm:ss. The time part is an optional attribute (23:59:59 is assumed).
--correlation-group
Specify a correlation group to filter related alarms. Alarms are ordered by root column.
Options
Use the options to further restrict the output specification.
--count, -ct
--export, -xp
--list, -l
--verbose, -v
presentSeverity
NodeName
specificProblem
eventTime
objectOfReference
problemText
alarmState
alarmId
probableCause
eventType
recordType
alarmingObject
alarmNumber
backupObjectInstance
backupStatus
trendIndication
previousSeverity
proposedRepairAction
ceaseTime
ceaseOperator
ackTime
ackOperator
problemDetail
additionalInformation
https://enm2.mtnirancell.ir/#help/app/cliapp/concept/syntax_alarm/get 4/17
8/21/2021 ENM CLI - Help Center - enm2
commentText
insertTime
eventPoId
processingType
fmxGenerated
visibility
lastUpdated
commentTime
repeatCount
--view-correlationInfo, -vci
root
ciFirstGroup
ciSecondGroup
The ciFirstGroup and ciSecondGroup attributes refers to correlation UUID alarm and they can be used to retrieve
alarms belonging to the same group (see --correlation-group filter option for further details).
Description
alarm get is used to query alarms for the network nodes.
The output is ordered by event time from the more recent to the less recent.
Command Consequences
Examples
Get all the alarms in the network
alarm get *
Response
This command displays the following information for all the alarms in the network. The output is formatted as a table:
presentSeverity
NodeName
specificProblem
eventTime
objectOfReference
problemText
alarmState
alarmId
probableCause
eventType
https://enm2.mtnirancell.ir/#help/app/cliapp/concept/syntax_alarm/get 5/17
8/21/2021 ENM CLI - Help Center - enm2
recordType
Get all the alarms for a node
Response
This command displays the following information for all the alarms of the specified node. The output is formatted as a
table:
presentSeverity
NodeName
specificProblem
eventTime
objectOfReference
problemText
alarmState
alarmId
probableCause
eventType
recordType
Get all the internal alarms and alarms for a node
Response
This command displays the following information for the alarms. The output is formatted as a table:
presentSeverity
NodeName
specificProblem
eventTime
objectOfReference
problemText
alarmState
alarmId
probableCause
eventType
recordType
https://enm2.mtnirancell.ir/#help/app/cliapp/concept/syntax_alarm/get 6/17
8/21/2021 ENM CLI - Help Center - enm2
Get all the alarms for a collection
Response
This command displays the following information for the alarms of the nodes in MyCollection. The output is formatted as
a table:
presentSeverity
NodeName
specificProblem
eventTime
objectOfReference
problemText
alarmState
alarmId
probableCause
eventType
recordType
Get all the alarms for a VirtualNetworkFunctionManager
Response
This command displays the following information for the alarms of the specified VNF Manager. The output is formatted
as a table:
presentSeverity
NodeName
specificProblem
eventTime
objectOfReference
problemText
alarmState
alarmId
probableCause
eventType
recordType
Get the alarms with specific severities for the nodes that match a string starting with a specific name
https://enm2.mtnirancell.ir/#help/app/cliapp/concept/syntax_alarm/get 7/17
8/21/2021 ENM CLI - Help Center - enm2
or
Response
This command displays the following information for the alarms specified by filter options. The output is formatted as a
table:
presentSeverity
NodeName
specificProblem
eventTime
objectOfReference
problemText
alarmState
alarmId
probableCause
eventType
recordType
Export the alarms with specific severities for the nodes that match a string starting with a specific name
or
Response
Get the alarms with all the attributes and specific severities for the nodes that match a string starting with a
specific name
Response
This command displays the following information for the alarms specified by filter options. The output is formatted as a
table:
presentSeverity
NodeName
specificProblem
eventTime
objectOfReference
problemText
https://enm2.mtnirancell.ir/#help/app/cliapp/concept/syntax_alarm/get 8/17
8/21/2021 ENM CLI - Help Center - enm2
alarmState
alarmId
probableCause
eventType
recordType
alarmingObject
alarmNumber
backupObjectInstance
backupStatus
trendIndication
previousSeverity
proposedRepairAction
ceaseTime
ceaseOperator
ackTime
ackOperator
problemDetail
additionalInformation
commentText
insertTime
eventPoId
processingType
fmxGenerated
visibility
lastUpdated
commentTime
repeatCount
Get the alarms with specific severities starting a specific date and time for the nodes that match a string
starting with a specific name
or
Response
This command displays the following information for the alarms specified by filter options. The output is formatted as a
table:
presentSeverity
NodeName
specificProblem
https://enm2.mtnirancell.ir/#help/app/cliapp/concept/syntax_alarm/get 9/17
8/21/2021 ENM CLI - Help Center - enm2
eventTime
objectOfReference
problemText
alarmState
alarmId
probableCause
eventType
recordType
alarmingObject
alarmNumber
backupObjectInstance
backupStatus
trendIndication
previousSeverity
proposedRepairAction
ceaseTime
ceaseOperator
ackTime
ackOperator
problemDetail
additionalInformation
commentText
insertTime
eventPoId
processingType
fmxGenerated
visibility
lastUpdated
commentTime
repeatCount
Get all the alarms acknowledged until a specific date and time for the nodes that match a string starting
with a specific name
or
Response
This command displays the following information for the alarms specified by filter options. The output is formatted as a
table:
https://enm2.mtnirancell.ir/#help/app/cliapp/concept/syntax_alarm/get 10/17
8/21/2021 ENM CLI - Help Center - enm2
presentSeverity
NodeName
specificProblem
eventTime
objectOfReference
problemText
alarmState
alarmId
probableCause
eventType
recordType
Get all the alarms for the network raised in a specific date and time interval
Response
This command displays the following information for the alarms specified by filter options. The output is formatted as a
table:
presentSeverity
NodeName
specificProblem
eventTime
objectOfReference
problemText
alarmState
alarmId
probableCause
eventType
recordType
Get all the alarms in the network with a specif attribute name
or
Response
This command displays the following information for the alarms specified by filter options. The output is formatted as a
table:
https://enm2.mtnirancell.ir/#help/app/cliapp/concept/syntax_alarm/get 11/17
8/21/2021 ENM CLI - Help Center - enm2
presentSeverity
NodeName
specificProblem
eventTime
objectOfReference
problemText
alarmState
alarmId
probableCause
eventType
recordType
get the default attributes for the alarm with a specific Id
Response
This command displays the following information for the alarm with the specified id. The output is formatted as a table:
presentSeverity
NodeName
specificProblem
eventTime
objectOfReference
problemText
alarmState
alarmId
probableCause
eventType
recordType
get and display as a list all the alarms for the nodes that match a string starting with a specific name
or
Response
This command displays the following information for all the alarms of nodes matching the specified string in their name.
The output is formatted as a list:
https://enm2.mtnirancell.ir/#help/app/cliapp/concept/syntax_alarm/get 12/17
8/21/2021 ENM CLI - Help Center - enm2
presentSeverity
NodeName
specificProblem
eventTime
objectOfReference
problemText
alarmState
alarmId
probableCause
eventType
recordType
Get a single alarm in the network
or
Response
This command displays the following information for the alarms matching the search criteria. The output is formatted as
a table:
presentSeverity
NodeName
specificProblem
eventTime
objectOfReference
problemText
alarmState
alarmId
probableCause
eventType
recordType
Get alarms using MeContext value to search nodes
Response
This command displays the following information for the alarms of the searched nodes. The output is formatted as a
table:
https://enm2.mtnirancell.ir/#help/app/cliapp/concept/syntax_alarm/get 13/17
8/21/2021 ENM CLI - Help Center - enm2
presentSeverity
NodeName
specificProblem
eventTime
objectOfReference
problemText
alarmState
alarmId
probableCause
eventType
recordType
Get alarms using ManagedElement value to search nodes
Response
This command displays the following information for the alarms of the searched nodes. The output is formatted as a
table:
presentSeverity
NodeName
specificProblem
eventTime
objectOfReference
problemText
alarmState
alarmId
probableCause
eventType
recordType
Get alarms using MeContext and ManagedElement values to search nodes
Response
This command displays the following information for the alarms of the searched nodes. The output is formatted as a
table:
presentSeverity
NodeName
specificProblem
https://enm2.mtnirancell.ir/#help/app/cliapp/concept/syntax_alarm/get 14/17
8/21/2021 ENM CLI - Help Center - enm2
eventTime
objectOfReference
problemText
alarmState
alarmId
probableCause
eventType
recordType
Get and display default attributes, including correlation information, of all the alarms in the network
or
Response
This command displays the following information for all the alarms. The output is formatted as default:
presentSeverity
NodeName
specificProblem
eventTime
objectOfReference
problemText
alarmState
alarmId
probableCause
eventType
recordType
root
ciFirstGroup
ciSecondGroup
Get and display default attributes of all primary alarms in the network
Response
This command displays the following information for all the alarms. The output is formatted as default:
presentSeverity
https://enm2.mtnirancell.ir/#help/app/cliapp/concept/syntax_alarm/get 15/17
8/21/2021 ENM CLI - Help Center - enm2
NodeName
specificProblem
eventTime
objectOfReference
problemText
alarmState
alarmId
probableCause
eventType
recordType
Get and display default attributes, including correlation information, of all secondary alarms in the network
Response
This command displays the following information for all the alarms. The output is formatted as default:
presentSeverity
NodeName
specificProblem
eventTime
objectOfReference
problemText
alarmState
alarmId
probableCause
eventType
recordType
root
ciFirstGroup
ciSecondGroup
Get and display default attributes, including root attribute, of all alarms with specified
correlation UUID in
the network. Alarms are ordered by root column (PRIMARY first).
Response
This command displays the following information for all the alarms. The output is formatted as default:
root
presentSeverity
https://enm2.mtnirancell.ir/#help/app/cliapp/concept/syntax_alarm/get 16/17
8/21/2021 ENM CLI - Help Center - enm2
NodeName
specificProblem
eventTime
objectOfReference
problemText
alarmState
alarmId
probableCause
eventType
recordType
ciFirstGroup
ciSecondGroup
https://enm2.mtnirancell.ir/#help/app/cliapp/concept/syntax_alarm/get 17/17