Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell EMC OpenManage Python Software Development Kit Version 1.1 API Reference Guide

PDF

idrac.config_mgr.configure_email_alerts

API string/Method: idrac.config_mgr.configure_email_alerts

Protocol Support: Redfish.

Description: The idrac.config_mgr.configure_email_alerts() allows you to configure email alerts Settings.

Table 1. Parameters for idrac.config_mgr.configure_email_alerts . This table displays the parameters for idrac.config_mgr.configure_email_alerts
Parameter Name Type Allowed Values
alert_number Number Alert number
Description Configure up to 4 email destinations that can be set to receive alerts.
Table 2. Parameters for idrac.config_mgr.configure_email_alerts . This table displays the parameters for idrac.config_mgr.configure_email_alerts
Parameter Name Type Allowed Values
state Enum

Enable_EmailAlertTypes.Enabled Enable_EmailAlertTypes.Disabled

Description Configure to receive the alerts, select this option.
Table 3. Parameters for idrac.config_mgr.configure_email_alerts . This table displays the parameters for idrac.config_mgr.configure_email_alerts
Parameter Name Type Allowed Values
address String Destination email Address
Description Enter the email address that must receive the alerts.
Table 4. Parameters for idrac.config_mgr.configure_email_alerts . This table displays the parameters for idrac.config_mgr.configure_email_alerts
Parameter Name Type Allowed Values
custom_message String Custom Message
Description Allows you to enter a custom email message.
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)
                                    
                                    idrac.config_mgr.configure_email_alerts
                                    (
                                    alert_number = 4, state=Enable_EmailAlertTypes.Enabled,
                                    address = "test@abc.com", custom_message = "test"
                                    )
                                    apply_status = idrac.config_mgr.apply_changes(reboot=False)
                                 

Returns: Success or Failure.

Return Type: JSON.


Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\