-
Notifications
You must be signed in to change notification settings - Fork 52
New HPOVApplianceTrapDestination
Create a new appliance SNMP trap destiation.
New-HPOVApplianceTrapDestination [-Destination] <String> [-CommunityString] <String>[ [-Port] <int>][ [-Type] <String>][ [-ApplianceConnection] <Array>] [<CommonParameters>]
New-HPOVApplianceTrapDestination [-Destination] <String> [-SnmpV3User] <HPOneView.Appliance.SnmpV3User>[ [-Port] <int>][ [-Type] <String>][ [-ApplianceConnection] <Array>] [<CommonParameters>]
HPE OneView can be used as a proxy to forward device traps from servers and enclosures (OA) to other SNMP-enabled applications on the network. HPE OneView can forward traps, as SNMPv3 or SNMPv1 traps, to configured destinations.
Appliance SNMP settings allow you to add destinations to which the traps need to be forwarded. You can configure each destination as an SNMPv1 or SNMPv3 destination, depending on whether the traps are sent in SNMPv1 or SNMPv3 formats.
Additionally, if you have Gen6 or Gen7 servers being monitored by HPE OneView in your environment, you can configure the read community string that HPE OneView uses for monitoring these servers with SNMPv1.
Privileges: Infrastructure administrator
-ApplianceConnection <Array>
Aliases [-Appliance]
Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance |
Required? | False |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-CommunityString <String>
SNMPv1 trap community string.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Destination <String>
IP Address or Hostname of the target SNMP trap reciever.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Port <int>
Specify the alternate SNMP destination port.
Aliases | None |
Required? | false |
Position? | named |
Default value | 161 |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-SnmpV3User <HPOneView.Appliance.SnmpV3User>
The defined SNMPv3 user created on the appliance with Get-HPOVSnmpV3User.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Type <String>
SNMP version type. Allowed values:
* SNMPv1
* SNMPv3
Aliases | None |
Required? | false |
Position? | named |
Default value | SNMPv1 |
Accept pipeline input? | false |
Accept wildcard characters? | False |
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)
None. You cannot pipe objects to this cmdlet.
HPOneView.Appliance.SnmpV1TrapDestination
The configured SNMPv1 Trap Destination on the appliance.
HPOneView.Appliance.SnmpV3TrapDestination
The configured SNMPv3 Trap Destination on the appliance.
-------------------------- EXAMPLE 1 --------------------------New-HPOVApplianceTrapDestination -Destination $SnmpV1TrapDestinationAddress -Type SNMPv1 -Port $SnmpV1TrapDestinationPort -CommunityString $SnmpV1Community
Create a new SNMPv1 trap destination on the appliance.
-------------------------- EXAMPLE 2 --------------------------$SnmpV3Password = ConvertTo-SecureString -String $CommonPassword -AsPlainText -Force $Snmpv3User = New-HPOVSnmpV3User -ApplianceSnmpUser -Username Tr@pUser -SecurityLevel AuthAndPriv -AuthProtocol SHA512 -AuthPassword $SnmpV3Password -PrivProtocol AES192 -PrivPassword $SnmpV3Password New-HPOVApplianceTrapDestination -Type SnmpV3 -SnmpV3User $CreatedSnmpSnmpv3UserV3User -Destination monitor1.contoso.com
Define a new SNMPv3 user, and associate it with the new SNMPv3 trap destination on the appliance.
Create a new appliance SNMP trap destiation.
New-HPOVApplianceTrapDestination [-Destination] <String> [-CommunityString] <String>[ [-Port] <int>][ [-Type] <String>][ [-ApplianceConnection] <Array>] [<CommonParameters>]
New-HPOVApplianceTrapDestination [-Destination] <String> [-SnmpV3User] <HPOneView.Appliance.SnmpV3User>[ [-Port] <int>][ [-Type] <String>][ [-ApplianceConnection] <Array>] [<CommonParameters>]
HPE OneView can be used as a proxy to forward device traps from servers and enclosures (OA) to other SNMP-enabled applications on the network. HPE OneView can forward traps, as SNMPv3 or SNMPv1 traps, to configured destinations.
Appliance SNMP settings allow you to add destinations to which the traps need to be forwarded. You can configure each destination as an SNMPv1 or SNMPv3 destination, depending on whether the traps are sent in SNMPv1 or SNMPv3 formats.
Additionally, if you have Gen6 or Gen7 servers being monitored by HPE OneView in your environment, you can configure the read community string that HPE OneView uses for monitoring these servers with SNMPv1.
Privileges: Infrastructure administrator
-ApplianceConnection <Array>
Aliases [-Appliance]
Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance |
Required? | False |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-CommunityString <String>
SNMPv1 trap community string.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Destination <String>
IP Address or Hostname of the target SNMP trap reciever.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Port <int>
Specify the alternate SNMP destination port.
Aliases | None |
Required? | false |
Position? | named |
Default value | 161 |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-SnmpV3User <HPOneView.Appliance.SnmpV3User>
The defined SNMPv3 user created on the appliance with Get-HPOVSnmpV3User.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Type <String>
SNMP version type. Allowed values:
* SNMPv1
* SNMPv3
Aliases | None |
Required? | false |
Position? | named |
Default value | SNMPv1 |
Accept pipeline input? | false |
Accept wildcard characters? | False |
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)
None. You cannot pipe objects to this cmdlet.
HPOneView.Appliance.SnmpV1TrapDestination
The configured SNMPv1 Trap Destination on the appliance.
HPOneView.Appliance.SnmpV3TrapDestination
The configured SNMPv3 Trap Destination on the appliance.
-------------------------- EXAMPLE 1 --------------------------New-HPOVApplianceTrapDestination -Destination $SnmpV1TrapDestinationAddress -Type SNMPv1 -Port $SnmpV1TrapDestinationPort -CommunityString $SnmpV1Community
Create a new SNMPv1 trap destination on the appliance.
-------------------------- EXAMPLE 2 --------------------------$SnmpV3Password = ConvertTo-SecureString -String $CommonPassword -AsPlainText -Force $Snmpv3User = New-HPOVSnmpV3User -ApplianceSnmpUser -Username Tr@pUser -SecurityLevel AuthAndPriv -AuthProtocol SHA512 -AuthPassword $SnmpV3Password -PrivProtocol AES192 -PrivPassword $SnmpV3Password New-HPOVApplianceTrapDestination -Type SnmpV3 -SnmpV3User $CreatedSnmpSnmpv3UserV3User -Destination monitor1.contoso.com
Define a new SNMPv3 user, and associate it with the new SNMPv3 trap destination on the appliance.