mgt_mailhost


Use this variable to specify the IP (Internet Protocol) addresses of one or two mail servers to which ALOM delivers email alerts.

From the ALOM command shell:

Using the scadm utility:

How to Use the setsc Command to Change the mgt_mailhost Variable

At the sc> prompt, type the following command:

sc> setsc mgt_mailhost ipaddr1 ipaddr2

where ipaddr1 and ipaddr2 are the IP addresses of the mail host(s) you want to specify.

For example, to specify one mail server using setsc, type the following command at the sc> prompt, substituting the IP address of your mail server for xxx.xxx.xxx.xxx:

sc> setsc mgt_mailhost xxx.xxx.xxx.xxx

The default IP address is 0.0.0.0.

Note: The default IP address of 0.0.0.0 is not a valid IP address. You must enter a valid IP address for this command.

To specify two mail servers, type the following command. Use a single space to separate the IP address of the first mail server from the IP address of the second server.

sc> setsc mgt_mailhost xxx.xxx.xxx.xxx yyy.yyy.yyy.yyy

How to Use the scadm Utility to Change the mgt_mailhost Variable

At the server's superuser prompt, type the following command:

# scadm set mgt_mailhost ipaddr1 ipaddr2

where ipaddr1 and ipaddr2 are the IP addresses of the mail hosts you want to specify.

For example, to specify one mail server using scadm set, type the following command at the # prompt, substituting the IP address of your mail server for xxx.xxx.xxx.xxx:

# scadm set mgt_mailhost xxx.xxx.xxx.xxx

The default IP address is 0.0.0.0.

Note: The default IP address of 0.0.0.0 is not a valid IP address. You must enter a valid IP address for this command.

To specify two mail servers, type the following command. Use a single space to separate the IP address of the first mail server from the IP address of the second server.

# scadm set mgt_mailhost xxx.xxx.xxx.xxx yyy.yyy.yyy.yyy


About ALOM configuration variables

Network management and notification variables

showsc

.