mgt_mailalert


Use this variable to configure email alerts.

The procedure for setting up email alerts varies slightly, depending on which method you use. You can specify up to eight email addresses.

From the ALOM command shell:

Using the scadm utility:

How to Use the setupsc Command to Set the mgt_mailalert Variable

  1. At the sc> prompt, type the following command:

    sc> setupsc

    The setupsc script prompts you as follows:

    Enter the number of email recipients to configure [0]? 2
  2. Type the number of email recipients.

    The default value, 0, appears in brackets after the prompt.

    For each recipient you specify, the script asks the following question, substituting <n> for the number of the recipient it is currently configuring (for example, if you enter 2 as in the above example, you are prompted to configure email alerts for address 1, and then for address 2).

    Enter the email address for recipient <n> (maximum of 30 characters) []? johnsmith@sysadmin.com
  3. Type the email address of the recipient, as shown in the above example.

    ALOM accepts email addresses of up to 30 characters. The script then asks:

    Enter the level of events to send to recipient <n> where valid settings are 1 (critical), 2 (critical and major) and 3 (critical, major and minor) [2]?
  4. Type the response that corresponds to the levels of alerts you want sent to the recipient.

How to Use the setsc Command to Change the mgt_mailalert Variable

At the sc> prompt, type the following command:

sc> setsc mgt_mailalert email level

where email is the email address to which you want the alert sent, and level is the the level of alerts (critical, major, or minor) you want sent.

For example:

sc> setsc mgt_mailalert kevin@abc.com 1

To remove a mgt_mailalert entry, specify the values for this variable again, omitting the alert level. For example, to remove the entry for the previous example, type the following:

sc> setsc mgt_mailalert kevin@abc.com

 


About ALOM configuration variables

Network management and notification variables

showsc

.