Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Set-NcDiagnosisSubscription


NAME
Set-NcDiagnosisSubscription

SYNOPSIS
Modify system health subscription.

SYNTAX
Set-NcDiagnosisSubscription -Node <String> -SubscriptionId <String> -Monitor
<String> -NotifyDestNode <String> -NotifyDestHm <String> -ClassName <String
> -EventType <String> [-InstanceName <String>] [-NotifyTable <String>] [-Fai
lThreshold <Int64>] [-PscOption [<Boolean>]] [-TimeGapNotify <Int32>] [-MaxN
otifyPeriod <Int32>] [-Controller <NcController[]>] [-WhatIf] [-Confirm] [<C
ommonParameters>]


DESCRIPTION
Modify system health subscription.


PARAMETERS
-Node <String>
Node hosting this health monitor and sends out notifications.

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

-SubscriptionId <String>
Subscription identifier.

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

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

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

-NotifyDestNode <String>
Node hosting the health monitor that is subscribing for notification.

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

-NotifyDestHm <String>
Health monitor subscribing for notification.

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

-ClassName <String>
Class name of changed resource.

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

-EventType <String>
Type of event for which notification is to be generated. Possible value
s: rm-add, rm-del, rm-mod

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

-InstanceName <String>
Instance name of changed resource.

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

-NotifyTable <String>
Table name for DSMF notification.

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

-FailThreshold <Int64>
Failure threshold for notification.

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

-PscOption [<Boolean>]
If true, enable periodic status confirmation.

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

-TimeGapNotify <Int32>
Time Period between two notifications.

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

-MaxNotifyPeriod <Int32>
Maximum expected time for notification to complete.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
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.DiagnosisSubscriptionsInfo


NOTES


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

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

C:\PS>Get-NcDiagnosisSubscription -SubscriptionId Test | Set-NcDiagnosisSubs
cription -PscOption $false


Set the PscOption to false for the subscription with the ID Test.


Node : vsim_cluster-01
SubscriptionId : Test
NcController : 192.168.182.144
ClassName : nschm_shelf_info
CreationTime : 1339512591
EventType : rm_add
FailThresh : 1
InstanceName :
MaxNotifyPeriod : 1
Monitor : node_connect
NotifyDestHm : node_connect
NotifyDestNode : vsim_cluster-01
NotifyFptr :
NotifyTable :
NotifyType : dsmf_type
PscOption : False
TimeGapNotify : 2
FailThreshSpecified : True
MaxNotifyPeriodSpecified : True
NotifyFptrSpecified : False
PscOptionSpecified : True
TimeGapNotifySpecified : True



RELATED LINKS
New-NcDiagnosisSubscription
Get-NcDiagnosisSubscription







 Data ONTAP® PowerShell Toolkit