API Guide
Returns: Success or Failure.
Return Type: JSON.
idrac.cong_mgr.congure_snmp_trap_destination
API string/Method: idrac.config_mgr.configure_snmp_trap_destination.
Protocol Support: Redfish.
Description: The idrac.config_mgr.configure_snmp_trap_destination() allows you to congure the SNMP Trap
Destination Settings.
Table 102. Parameters for idrac.cong_mgr.congure_snmp_trap_destination
Parameter Name Type Allowed Values
destination_number
Number Destination number
Description Displays up to 4 IPv4 and IPv6 addresses.
Table 103. Parameters for idrac.cong_mgr.congure_snmp_trap_destination
Parameter Name Type Allowed Values
destination
String Destination Address
Description
To receive trap alerts, enter the address (IPv4, IPv6, or FQDN). If all destination addresses
display existing IP addresses, you have congured all the existing alert destinations and must
reuse a disabled alert.
NOTE: The destination community must be the same as the iDRAC community.
Table 104. Parameters for idrac.cong_mgr.congure_snmp_trap_destination
Parameter Name Type Allowed Values
snmp_v3_username
String User dened string
Description From the drop-down list, select the SNMP v3 user to whom you want to send the SNMP v3
format traps.
Table 105. Parameters for idrac.cong_mgr.congure_snmp_trap_destination
Parameter Name Type Allowed Values
state
Enum State_SNMPAlertTypes.Enabled
State_SNMPAlertTypes.Disabled
Description
To enable the IP address to receive traps, select this option.
Example:
#Set liason share
myshare = FileOnShare(remote="<IP OR HOSTNAME>:/<NFS-SHARE-PATH>/<FILE-NAME>",
mount_point='Z:\', isFolder=False,
creds=UserCredentials(<USERNAME>, <PASSWORD>))
liason_share_status = idrac.config_mgr.set_liason_share(myshare)
OpenManage Python SDK API introduction
41