beautypg.com

E-mail alert testing, Configuring e-mail server information – Brocade Monitoring and Alerting Policy Suite Administrators Guide (Supporting Fabric OS v7.3.0) User Manual

Page 62

background image

Specifying multiple e-mail addresses for alerts

The following example specifies multiple e-mail addresses for e-mail alerts on
the switch, and then displays the settings. It assumes that you have already
correctly configured and validated the e-mail server.

switch:admin> mapsconfig --emailcfg -address [email protected],

[email protected]

switch:admin> mapsconfig --show

Configured Notifications: RASLOG,EMAIL,FENCE,SW_CRITICAL

Mail Recipient: [email protected],

[email protected]

Paused members :

PORT :

CIRCUIT :

SFP :

E-mail alert testing

Fabric OS allows you to send a test e-mail message to check that you have the correct e-mail server
configuration. You can use any combination of default and custom subject or message for your test e-
mail message.

To verify that the MAPS e-mail feature is correctly configured, enter mapsConfig --testmail
optional_customizations command. You can customize the subject and message as described in the
following table.

Test e-mail command parameters

TABLE 18

Command option

Details

--testmail

MAPS sends the default test e-mail with the default subject “MAPS Welcome
mail” and message text “Test mail from switch”.

--testmail –subject subject

MAPS sends the test e-mail with the subject you provided and the default
message text.

--testmail -message message

MAPS sends the test e-mail with the default subject and the message text you
provided.

--testmail –subject subject -
message
message

MAPS sends the test e-mail with the subject and message text you provided.

For more information on this command, refer to the Fabric OS Command Reference.

Configuring e-mail server information

Fabric OS allows you to specify the e-mail server used to send e-mail alerts. The e-mail configuration
is global at the chassis level and is common for all logical switches in the chassis.

NOTE
To send email, the domain name server (DNS) configuration has to be specified. Refer to the Fabric
OS Command Reference
for information on using the dnsConfig command.

The relay host is a smart relay server which is used to filter email messages coming from outside
world to the switch. If the relay host is not configured, all the emails from and to the switch will be
handled by the DNS mail server. If a relay host is configured all the emails are routed through the relay
host to the switch, reducing the load on the DNS mail server.

To specify the e-mail server used to send e-mail alerts, complete the following steps.

E-mail alert testing

62

Monitoring and Alerting Policy Suite Administrator's Guide

53-1003147-01