API Guide

Protocol Support: Redfish.
Description: The idrac.config_mgr.configure_idrac_alerts() allows you to enable or disable the iDRAC alerts Settings.
Table 96. Parameters for idrac.cong_mgr.congure_idrac_alerts
Parameter Name Type Allowed Values
enable_alerts
Enum
AlertEnable_IPMILanTypes.Enabled
AlertEnable_IPMILanTypes.Disabled
Description Congure the iDRAC alert settings.
Example:
#Set liason share
myshare = FileOnShare(remote="<IP OR HOSTNAME>:/<NFS-SHARE-PATH>",
mount_point='Z:\', isFolder=True,
creds=UserCredentials(<USERNAME>, <PASSWORD>))
liason_share_status = idrac.config_mgr.set_liason_share(myshare)
#Alert Configuration
idrac.config_mgr.configure_idrac_alerts
(
enable_alerts=AlertEnable_IPMILanTypes.Disabled
)
apply_status = idrac.config_mgr.apply_changes(reboot=False)
Returns: Success or Failure.
Return Type: JSON.
idrac.cong_mgr.congure_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 congure the SNMP Trap
Destination Settings.
Table 97.
Parameters for idrac.cong_mgr.congure_snmp_trap_destination
Parameter Name Type Allowed Values
destination_number
Number Destination number
Description Displays up to 4 IPv4 and IPv6 addresses.
Table 98. Parameters for idrac.cong_mgr.congure_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 congured all the existing alert destinations and must
reuse a disabled alert.
OpenManage Python SDK API introduction 43