Citrix Virtual Apps and Desktops SDK

Set-MonitorNotificationSnmpServerConfiguration

Saves a new Snmp server configuration

Syntax

Set-MonitorNotificationSnmpServerConfiguration
   [-LoggingId <Guid>]
   [<CitrixCommonParameters>]
   [<CommonParameters>]
<!--NeedCopy-->
Set-MonitorNotificationSnmpServerConfiguration
   [-InputObject] <MonitorNotificationSnmpServerConfiguration>
   [-LoggingId <Guid>]
   [<CitrixCommonParameters>]
   [<CommonParameters>]
<!--NeedCopy-->
Set-MonitorNotificationSnmpServerConfiguration
   [-ServerName <String>]
   [-PortNumber <Int32>]
   [-SnmpSender <String>]
   [-EngineId <String>]
   [-AuthPassword <SecureString>]
   [-PrivPassword <SecureString>]
   [-PrivPasswordProtocol <PrivacyProtocolType>]
   [-AuthPasswordProtocol <AuthProtocolType>]
   [-CommunityString <String>]
   [-Protocol <SnmpProtocolType>]
   [-LoggingId <Guid>]
   [<CitrixCommonParameters>]
   [<CommonParameters>]
<!--NeedCopy-->

Description

The saved configuration describes the new settings to be used to send Snmps

Examples

EXAMPLE 1

Set new Snmp server configration using the specified parameters

Set-MonitorNotificationSnmpServerConfiguration -ServerName "192.168.100.100" -PortNumber 162 -SnmpSender directoradmin -AuthPassword authpassword -AuthPasswordProtocol MD5 -PrivatePassword PrivPassword -PrivatePasswordProtocol DES
<!--NeedCopy-->

Parameters

-InputObject

Configuration object to persist

Type: MonitorNotificationSnmpServerConfiguration
Position: 1
Default value: None
Required: True
Accept pipeline input: False
Accept wildcard characters: False

-ServerName

Snmp listener server name

Type: String
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-PortNumber

Snmp server port number

Type: Int32
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-SnmpSender

Sender’s Name

Type: String
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-EngineId

Engine ID

Type: String
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-AuthPassword

Password used for authentication

Type: SecureString
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-PrivPassword

Password used for encryption

Type: SecureString
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-PrivPasswordProtocol

Protocol used for encryption

Type: PrivacyProtocolType
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-AuthPasswordProtocol

Protocol used for hash Authentication

Type: AuthProtocolType
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-CommunityString

Comunity String for SNMP V2

Type: String
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-Protocol

Snmp protocol used for trap

Type: SnmpProtocolType
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

-LoggingId

Specifies the identifier of the high-level operation this cmdlet call forms a part of. Citrix Studio and Director typically create high-level operations. PowerShell scripts can also wrap a series of cmdlet calls in a high-level operation by way of the Start-LogHighLevelOperation and Stop-LogHighLevelOperation cmdlets.

Type: Guid
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

CitrixCommonParameters

This cmdlet supports the common Citrix parameters: -AdminAddress, -AdminClientIP, -BearerToken, -TraceParent, -TraceState and -VirtualSiteId. For more information, see about_CitrixCommonParameters.

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

You can’t pipe objects to this cmdlet.

Outputs

MonitorNotificationSnmpServerConfiguration

The saved configuration

Set-MonitorNotificationSnmpServerConfiguration