API Guide
# 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: None.
Return Type: None.
idrac.cong_mgr.congure_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 congure the SMTP Server
Settings.
Table 106. Parameters for idrac.cong_mgr.congure_smtp_server_settings
Parameter Name Type Allowed Values
smtp_ip_address
String SMTP IP Address
Description Enter the IPv4 or IPv6 address of the SMTP server or the FQDN / DNS name. The IP address
entered must be in the dot separated format. For example, 143.166.154.1.
Table 107. Parameters for idrac.cong_mgr.congure_smtp_server_settings
Parameter Name Type Allowed Values
smtp_port
Number SMTP Port numer
Description
Enter the destination port for email alerts. The default value is 25. Range is 1-65535.
Table 108. Parameters for idrac.cong_mgr.congure_smtp_server_settings
Parameter Name Type Allowed Values
authentication
Enum
SMTPAuthentication_RemoteHostsTypes.Enabl
ed
SMTPAuthentication_RemoteHostsTypes.Disab
led
Description To specify the user name and password for SMTP mail server authentication, select this option.
42 OpenManage Python SDK API introduction