C H A P T E R  6

Configuring System Notifications and Online Registration

This chapter describes how to configure system notifications. It contains the following sections:



Note - For instructions on accessing the CLI commands and GUI functions described in this chapter, see Using the Administrative Interfaces.



Configuring System Notifications

If you configure email notifications, the 5800 system sends email alerts for conditions such as the following:

To configure the 5800 system to send email notifications, you must specify a Simple Mail Transfer Protocol (SMTP) server and the email address of the recipient.

You can also specify an external logging host to which the 5800 system sends detailed log messages for debugging purposes.

You configure the email notifications and the external logging host on a per-hive basis.



Note - Timestamps on the email notifications are always reported in UTC. Timestamps on log messages in the external logging host reflect whatever time zone the system clock on external host is using.



procedure icon  To Configure Email Notifications Using the CLI

1. Specify the SMTP server and port number with the command
hivecfg --smtp_server ip_address --smtp_port ip_address.

For example:


ST5800 $ hivecfg --smtp_server 10.7.224.15 --smtp_port 25



Note - The SMTP port number is not a required entry.


2. To add or delete an email address (either To: or cc:) from the specified list type use the commands alertcfg add to addresses or alertcfg del cc addresses.

For example:


ST5800 $ alertcfg add to alerts@samplecompany.com
ST5800 $ alertcfg del cc admin@samplecompany.com


procedure icon  To Configure Email Notifications Using the GUI

1. From the navigation panel, choose Configuration > Notification.

2. Click Set Up Email.

3. (Optional) If DNS is enabled and you want to enter host names instead of IP addresses, select Host Name.

4. Type the IP address or host name of the SMTP server that you want the 5800 system to use.

5. Type the port number of the SMTP server.

6. Perform one of the following:


i. Click the Add button

.

A new row is displayed in the table.

ii. In the Type field, choose the type of recipient that you want: To or Cc.

iii. In the Address field, type the full email address of the recipient.


i. Click the Remove button

.

ii. At the prompt, confirm the removal.

7. Click Apply.


procedure icon  To Configure an External Log Host Using the CLI



Note - In order to receive log messages, the external logging host must be configured so that syslog is set to “listen” to the network. The procedure to configure syslog to listen to the network differs depending on which operating system is running on the external logging host. On systems running Solaris 10, syslog is set to listen to the network by default.


single-step bullet  To set an external log host for the 5800 system, use the command hivecfg --external_logger ip_address.

For example:


ST5800 $ hivecfg --external_logger 10.7.224.15


procedure icon  To Configure an External Log Host Using the GUI

1. From the navigation panel, choose Configuration > Notification.

2. Click Set Logging Host.

3. (Optional) If DNS is enabled and you want to enter host names instead of IP addresses, select Host Name.

4. Type the IP address or host name of the host to which the email notifications log will be sent.

5. Click Apply.


Registering Online

You can register information about you and your 5800 system with Sun Microsystems. (For this version of the 5800 system, registration just involves sending Sun your user information; Sun does no monitoring or transfer of telemetry.)

Registering Using the CLI

This function is not available from the CLI.


procedure icon  To Register Using the GUI

1. From the navigation panel, choose Configuration > Online Registration.

2. The Online Registration panel is displayed.

3. Read the disclaimer and select the Agree check box.

4. In the Sun Account section, type your Sun account number and password.

5. If you do not know your account number and password, click the link at the bottom of the panel.

6. Click the Proxy Server tab and type your proxy server name, port, user name, and user name password.



Note - For registration to be successful, the authorized client setting must be at its default (“all” indicating that all clients can access the system), or the proxy server specified must be included in the authorized client list. See Authorized Subnetworks for more information about authorized clients.


7. Click Apply.