Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Set-NcAutoSupportConfig


NAME
Set-NcAutoSupportConfig

SYNOPSIS
Modify AutoSupport configuration settings for the given node.

SYNTAX
Set-NcAutoSupportConfig [-Node] <String> [-MailHosts <String[]>] [-From <Str
ing>] [-To <String[]>] [-NoteTo <String[]>] [-PartnerAddress <String[]>] [-T
ransport <String>] [-PostUrl <String>] [-PutUrl <String>] [-ProxyUrl <String
>] [-SupportAddress <String[]>] [-IsNodeInSubject [<Boolean>]] [-IsNhtDataEn
abled [<Boolean>]] [-IsPerfDataEnabled [<Boolean>]] [-RetryInterval <Int32>]
[-RetryCount <Int32>] [-IsReminderEnabled [<Boolean>]] [-IsThrottleEnabled
[<Boolean>]] [-PayloadFormat <String>] [-PeriodicTxWindow <Int32>] [-MaxHttp
Size <String>] [-MaxSmtpSize <String>] [-IsPrivateDataRemoved [<Boolean>]] [
-IsLocalCollectionEnabled [<Boolean>]] [-IsEnabled [<Boolean>]] [-IsSupportE
nabled [<Boolean>]] [-Controller <NcController[]>] [-WhatIf] [-Confirm] [<Co
mmonParameters>]


DESCRIPTION
Modify AutoSupport configuration settings for the given node.


PARAMETERS
-Node <String>
The name of the filer that owns the AutoSupport configuration.

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

-MailHosts <String[]>
The name of the mail server(s) used to deliver AutoSupport messages via
SMTP. Both host names and IP addresses may be used as valid input.

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

-From <String>
The e-mail address of the local administrator, used as the sender of the
AutoSupport message.

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

-To <String[]>
Specifies up to five recipients of full AutoSupport e-mail messages.

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

-NoteTo <String[]>
Specifies up to five recipients of short AutoSupport e-mail messages.

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

-PartnerAddress <String[]>
Specifies up to five partner vendor recipients of full AutoSupport e-mai
l messages.

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

-Transport <String>
The name of the transport protocol used to deliver AutoSupport messages.
Possible values: "smtp", "http", "https"

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

-PostUrl <String>
The URL used to deliver AutoSupport messages via HTTP POST.

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

-PutUrl <String>
The URL used to deliver AutoSupport messages via HTTP PUT.

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

-ProxyUrl <String>
Optional proxy host for AutoSupport message delivery via HTTP.

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

-SupportAddress <String[]>
The e-mail address of Support.

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

-IsNodeInSubject [<Boolean>]
Specifies whether the filer's hostname should be part of an AutoSupport
message's subject field.

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

-IsNhtDataEnabled [<Boolean>]
Used to enable / disable collection of NetApp Health Trigger data.

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

-IsPerfDataEnabled [<Boolean>]
Used to enable / disable collection of Performance AutoSupport data.

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

-RetryInterval <Int32>
The number of seconds to wait, after a failed delivery attempt, prior to
re-transmitting an AutoSupport message.

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

-RetryCount <Int32>
The maximum number of delivery attempts for an AutoSupport message.

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

-IsReminderEnabled [<Boolean>]
Specifies whether to enable / disable AutoSupport reminders.

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

-IsThrottleEnabled [<Boolean>]
Specifies whether to enable / disable throttling to prevent a potential
avalanche of AutoSupport messages.

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

-PayloadFormat <String>
The format used to compress the AutoSupport message payload.

Possible values:
"7z" - 7-Zip Archive
"tgz" - Zipped Tarball

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

-PeriodicTxWindow <Int32>
The transmission window (seconds).

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

-MaxHttpSize <String>
Delivery size limit for the HTTP transport protocol.

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

-MaxSmtpSize <String>
Delivery size limit for the SMTP transport protocol.

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

-IsPrivateDataRemoved [<Boolean>]
Used to enable / disable removal of customer-supplied data.

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

-IsLocalCollectionEnabled [<Boolean>]
Used to enable / disable collection of AutoSupport data when the AutoSup
port daemon is disabled. When this setting is true, collection of AutoS
upport data will still be done if is-enabled is false.

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

-IsEnabled [<Boolean>]
Specifies whether the AutoSupport daemon is enabled. When this setting
is disabled, delivery of all AutoSupport messages is turned off.

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

-IsSupportEnabled [<Boolean>]
Specifies whether AutoSupport notification to Support is enabled.

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

-Controller <NcController[]>
A Data ONTAP cluster-mode controller to receive this cmdlet, as embodied
by an NcController object. This parameter is returned by the Connect-N
cController cmdlet. If not specified, the value in the global variable
CurrentNcController is used. In the latter case, if CurrentNcController
contains a collection of NcController objects, this cmdlet is invoked o
n each 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
NetApp.Ontapi.Filer.C.Autosupport810.AutosupportConfigInfo


NOTES


Category: autosupport
API: autosupport-config-modify
Family: cluster

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

C:\PS>Set-NcAutoSupportConfig fas3070cluster01-01 -RetryCount 20 -RetryInter
val 300


Set the AutoSupport configuration for node fas3070cluster01-01 to have a ret
ry count of 20 and retry interval of 300 seconds.


NcController : 10.61.172.155
From : Postmaster
IsEnabled : True
IsLocalCollectionEnabled : True
IsNhtDataEnabled : True
IsNodeInSubject : False
IsPerfDataEnabled : True
IsPrivateDataRemoved : False
IsReminderEnabled : True
IsSupportEnabled : True
IsThrottleEnabled : True
LastSubject : PERFORMANCE SNAPSHOT
LastTimestamp : 1332236929
LastTrigger :
MailHosts : {mailhost}
MaxHttpSize : 10485760
MaxSmtpSize : 5242880
NodeName : fas3070cluster01-01
Noteto :
PartnerAddress :
PayloadFormat : 7z
PeriodicTxWindow : 1h
PostUrl : testbed.corp.netapp.com/asupprod/post/1.
0/postAsup
ProxyUrl :
PutUrl : testbed.corp.netapp.com/put/AsupPut
RetryCount : 20
RetryInterval : 5m
SupportAddress : {dl-qa-autosupport@netapp.com}
To :
Transport : https



RELATED LINKS
Get-NcAutoSupportConfig







 Data ONTAP® PowerShell Toolkit