API Guide

Parameter Name Type Allowed Values
NOTE: The destination community must be the same as the iDRAC community.
Table 99. Parameters for idrac.cong_mgr.congure_snmp_trap_destination
Parameter Name Type Allowed Values
snmp_v3_username
String User dened string
Description From the drop-down list, select the SNMP v3 user to whom you want to send the SNMP v3
format traps.
Table 100. Parameters for idrac.cong_mgr.congure_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)
# Configure SNMP Trap Destination Settings
idrac.config_mgr.configure_snmp_trap_destination
(
destination_number = 1,
destination = "1.1.1.1",
snmp_v3_username = None,
state = State_SNMPAlertTypes.Disabled
)
apply_status = idrac.config_mgr.apply_changes(reboot=False)
Returns: Success or Failure.
Return Type: JSON.
idrac.cong_mgr.congure_smtp_server_settings
API string/Method: idrac.config_mgr.configure_smtp_server_settings
Protocol Support: Redfish.
Description: The idrac.config_mgr.configure_smtp_server_settings() allows you to congure the SMTP Server
Settings.
44
OpenManage Python SDK API introduction