|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NcEmsStatus
NAME
Get-NcEmsStatus
SYNOPSIS
Get status information on EMS messages.
SYNTAX
Get-NcEmsStatus [[-Node] <String[]>] [[-Name] <String[]>] [[-Severity] <Stri
ng[]>] [-Attributes <EmsStatusInfo>] [-Controller <NcController[]>] [<Common
Parameters>]
Get-NcEmsStatus -Template [-Controller <NcController[]>] [<CommonParameters>
]
Get-NcEmsStatus -Query <EmsStatusInfo> [-Attributes <EmsStatusInfo>] [-Contr
oller <NcController[]>] [<CommonParameters>]
DESCRIPTION
Get status information on EMS messages.
PARAMETERS
-Node <String[]>
Node emitting the EMS message.
Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Name <String[]>
The message name.
Required? false
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Severity <String[]>
The severity of the event. Possible values:
"node_fault" - A data corruption has been detected or the node i
s unable to provide client service
"svc_fault" - A temporary loss of service has been detected, ty
pically a transient software fault
"node_error" - A hardware error has been detected which is not i
mmediately fatal
"svc_error" - A software error has been detected which is not i
mmediately fatal
"warning" - A high-priority message, does not indicate a faul
t
"notice" - A normal-priority message, does not indicate a fa
ult
"info" - A low-priority message, does not indicate a fault
"debug" - A debugging message, typically suppressed from cu
stomer
"var" - Message has variable severity, selected at runtim
e
Required? false
Position? 3
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Attributes <EmsStatusInfo>
For improved scalability in large clusters, provide an EmsStatusInfo obj
ect with various fields set to indicate which fields to return on all ob
jects. Undesired fields should remain set to null. Use "Get-NcEmsStatu
s -Template" to get the initially empty EmsStatusInfo object. If not sp
ecified, all data is returned for each object.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Controller <NcController[]>
A clustered Data ONTAP controller to receive this cmdlet, as embodied by
an NcController object. This parameter is returned by the Connect-NcCo
ntroller cmdlet. If not specified, the value in the global variable Cur
rentNcController is used. In the latter case, if CurrentNcController co
ntains a collection of NcController objects, this cmdlet is invoked on e
ach controller in succession.
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Template
Specify to get an empty EmsStatusInfo object for use with advanced queri
es involving the Query attribute.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Query <EmsStatusInfo>
For advanced queries, provide a EmsStatusInfo object with various fields
set to indicate which records to retrieve. Other fields should remain
set to null. Use "Get-NcEmsStatus -Template" to get the initially empty
EmsStatusInfo object.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".
INPUTS
OUTPUTS
DataONTAP.C.Types.Ems.EmsStatusInfo
NOTES
Category: ems
API: ems-status-get-iter
Family: cluster
-------------- Example 1 --------------
C:\PS>Get-NcEmsStatus -Node fas3070cluster01-01 -Name app.log.info
Get the EMS status of the app.log.info messages on node fas3070cluster01-01.
NcController : 10.61.172.155
AccumulatedBytes : 1310
ChangeSince : False
Drops : 0
Indications : 4
IsChatter : False
LastDayHistogram : {0, 0, 0, 3...}
LastHourHistogram : {0, 0, 0, 0...}
LastTimeDropped :
LastTimeOccurred : 1333032910
LastTimeProcessed : 1333032910
LastWeekHistogram : {4, 0, 0, 0...}
MessageName : app.log.info
Node : fas3070cluster01-01
NumAutosuppressed : 0
NumDupSuppressed : 0
NumRateLimited : 0
NumSuppressedSinceLast : 0
NumTimerSuppressed : 0
Probability : 0
Severity : info
StatStartingTime : 1333026742
-------------- Example 2 --------------
C:\PS>$q = Get-NcEmsStatus -Template
$q.Indications = ">10000"
Get-NcEmsStatus -Query $q
Get the status of EMS messages that have greater than 10,000 indications.
AccumulatedBytes : 615004
ChangeSince : False
Drops : 56077
Indications : 58345
IsChatter : True
LastDayHistogram : {216, 240, 240, 240...}
LastHourHistogram : {4, 4, 4, 4...}
LastTimeDropped : 1333112032
LastTimeOccurred : 1333112032
LastTimeProcessed : 1333111942
LastWeekHistogram : {3095, 5760, 5759, 5759...}
MessageName : cf.disk.resvRelResult
Node : fas3070cluster01-01
NumAutosuppressed : 0
NumDupSuppressed : 16260
NumRateLimited : 39817
NumSuppressedSinceLast : 6
NumTimerSuppressed : 0
Probability : 99
Severity : debug
StatStartingTime : 1332236768
RELATED LINKS
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|