Sending alerts using e-mail – Brocade Monitoring and Alerting Policy Suite Administrators Guide (Supporting Fabric OS v7.3.0) User Manual
Page 61
![background image](/manuals/361669/61/background.png)
The following example shows that the rule port_test_rule35 exists in
test_policy_1, deletes the rule from that policy using the -force keyword, and
then shows that the rule has been deleted from the policy.
switch0:FID128:admin> mapspolicy --show test_policy_1
Policy Name: xyz_test60
Rule List Action Condition
---------------------------------------------------------------------
def_port_test_rule35 RASLOG ALL_PORTS(CRC/min>300)
def_port_test_rule50 RASLOG ALL_PORTS(CRC/
min>650)
def_port_test_rule80 RASLOG ALL_PORTS(CRC/min>850)
switch0:FID128:admin> mapsrule --delete port_test_rule35 -force
Execution is successful.
2014/02/02-17:55:38, [MAPS-1101], 255, FID 128, INFO, sw0, Rule port_test_35 is
deleted.
switch0:FID128:admin> mapspolicy --show test_policy_1
Policy Name: xyz_test60
Rule List Action Condition
port_test_rule50 RASLOG ALL_PORTS(CRC/min>650)
port_test_rule80 RASLOG ALL_PORTS(CRC/min>850)
Active Policy is 'dflt_conservative_policy'.
Sending alerts using e-mail
E-mail alerts allow you to be notified immediately when MAPS detects that an error has occurred. There
is a limit of five e-mail addresses per alert, and the maximum length for each individual e-mail address
is 128 characters.
To configure MAPS to send an alert using e-mail, complete the following steps.
1. Configure and validate the e-mail server. Refer to
Configuring e-mail server information
62for information on specifying the email server to be used.
2. Enter the mapsConfig --emailcfg command to set the e-mail parameters.
To send an alert to multiple email addresses, separate the addresses using a comma.
NOTE
You can also send a test e-mail alert. Refer to
on page 62 for additional
information.
Specifying e-mail address for alerts
The following example specifies the e-mail address 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]
switch:admin> mapsconfig --show
Configured Notifications: RASLOG,EMAIL,FENCE,SW_CRITICAL,SW_MARGINAL
Mail Recipient: [email protected]
Network Monitoring: Enabled
Paused members :
===============
PORT :
CIRCUIT :
SFP :
Sending alerts using e-mail
Monitoring and Alerting Policy Suite Administrator's Guide
61
53-1003147-01