Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Set-NcDiagnosisAlert


NAME
Set-NcDiagnosisAlert

SYNOPSIS
Acknowledge and/or suppress an alert.

SYNTAX
Set-NcDiagnosisAlert [-Node] <String> [-Monitor] <String> [-AlertId] <String
> [-AlertingResource] <String> [-Acknowledge [<Boolean>]] [-Suppress [<Boole
an>]] [-Acknowledger <String>] [-Suppressor <String>] [-Controller <NcContro
ller[]>] [-WhatIf] [-Confirm] [<CommonParameters>]


DESCRIPTION
Acknowledge and/or suppress an alert.


PARAMETERS
-Node <String>
Node hosting this health monitor.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Monitor <String>
Type of health monitor (e.g. node_connect, system_connect, system).

Required? true
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-AlertId <String>
Alert identification.

Required? true
Position? 3
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-AlertingResource <String>
Unique name of resource that generated the alert.

Required? true
Position? 4
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Acknowledge [<Boolean>]
If true, acknowledge the alert condition.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Suppress [<Boolean>]
If true, suppress this alert.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Acknowledger <String>
Person who acknowledged this alert.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Suppressor <String>
Person who suppressed this alert.

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

-WhatIf


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Confirm


Required? false
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.Diagnosis.DiagnosisAlertInfo


NOTES


Category: diagnosis
API: diagnosis-alert-modify
Family: cluster

-------------- Example 1 --------------

C:\PS>Get-NcDiagnosisAlert -AlertingResource 50:05:0c:c1:02:01:6e:43 -Node V
xeRubble-01 | Set-NcDiagnosisAlert -Acknowledge $true -Acknowledger user1


Acknowledge all alerts from the given resource on node VxeRubble-01 as user1
.


Node : VxeRubble-01
Monitor : node_connect
AlertId : DualPathToDiskShelf_Alert
NcController : 10.60.189.172
Acknowledge : True
Acknowledger : user1
AdditionalInfo : {Shelf uuid: 50:05:0c:c1:02:01:6e:43, Shelf id: 2
, Shelf Name: 1a.shelf2, Number of Paths: 1
...}
AlertingResource : 50:05:0c:c1:02:01:6e:43
AlertingResourceName : Shelf ID 2
CorrectiveActions : 1. Halt controller VxeRubble-01 and all controlle
rs attached to disk shelf 2.
2. Connect disk shelf 2 to controller VxeRubble-0
1 via two paths following the rules in the
Universal SAS and ACP Cabling Guide.
3. Reboot the halted controllers.
4. Contact support personnel if the alert persist
s.
IndicationTime : 1332236915
IndicationTimeDT : 3/20/2012 9:48:35 AM
PerceivedSeverity : major
Policy : DualPathToDiskShelf_Policy
PossibleEffect : Access to disk shelf 2 via controller VxeRubble-0
1 will be lost with a single hardware compo
nent failure (e.g. cable, HBA, or IOM failure).
ProbableCause : connection_establishment_error
ProbableCauseDescription : Disk shelf 2 does not have two paths to controlle
r VxeRubble-01.
Subsystem : sas_connect
Suppress : False
Suppressor :
AcknowledgeSpecified : True
SuppressSpecified : True



RELATED LINKS
Get-NcDiagnosisAlert







 Data ONTAP® PowerShell Toolkit