Go to main content

Oracle® ILOM Protocol Management Reference for SNMP and IPMI Firmware Release 3.2.x

Exit Print View

Updated: January 2017
 
 

Configure SMTP Client for Alert Notification

Before You Begin

  • To generate configured email notification alerts, you must enable the Oracle ILOM client to act as an SMTP client to send the email alert messages. To enable the Oracle ILOM client as an SMTP client, you must specify the IP address and port number of an outgoing SMTP email server that will process the email notifications.

  • Prior to enabling the Oracle ILOM client as an SMTP client, gather the IP address and port number of the outgoing SMTP email server.

  • You can use the get and set commands to configure the SMTP client. For a description of the MIB objects used in this procedure, see Valid SMTP Client MIB Objects and the SUN-ILOM-CONTROL-MIB.


Note -  For a description of valid MIB objects for this procedure, see the table following this procedure.

To configure SMTP Client properties in Oracle ILOM:

  1. Log in to a host that has an SNMP tool and the Oracle ILOM MIBs installed. For example, type:

    ssh username@snmp_manager_ip_address

    Password: password

  2. Refer to the following SNMP commands for examples:
    • To view an SMTP client state, type:
      % snmpget SNMP_agent ilomCtrlSMTPEnabled.0
      
    • To set an SMTP client state to enabled, type:
      % snmpset SNMP_agent ilomCtrlSMTPEnabled.0 i 1
      
    • To view an SMTP server IP address, type:
      % snmpget SNMP_agent ilomCtrlSMTPServerIP.0
      
    • To set an SMTP server IP address, type:
      % snmpset SNMP_agent ilomCtrlSMTPServerIP.0 s ip_address
      
    • To view an SMTP client port number, type:
      % snmpget SNMP_agent ilomCtrlSMTPPortNumber.0
      
    • To set an SMTP client port number, type:
      % snmpset SNMP_agent ilomCtrlSMTPPortNumber.0 i 25
      
    • To view an optional format to identify the sender or the “from” address, type:
      % snmpget SNMP_agent ilomCtrlSMTPCustomSender.0
      
    • To configure an optional format to identify the sender or the “from” address, type:
      % snmpset SNMP_agent
       ilomCtrlSMTPCustomSender.0 s ???ilom-alert@HOSTNAME.abc.com'
      

      The following table describes the SMTP Email Alert Notification SNMP MIB objects.

      MIB Object
      Property
      Allowed Values
      Type
      Default
      ilomCtrlSMTP Enabled
      Specifies whether or not the SMTP client is enabled.
      true(1),
      false(2)
      Integer
      false
      ilomCtrlSMTP ServerIP
      The IP address of the SMTP server used as a name service for user accounts.
      ip_address
      String
      None
      ilomCtrlSMTP PortNumber
      Specifies the port number for the SMTP client.
      Range: 0 to 65535
      Integer
      None