beautypg.com

Monitoring across different time windows – Brocade Monitoring and Alerting Policy Suite Administrators Guide (Supporting Fabric OS v7.3.0) User Manual

Page 21

background image

The following example enables MAPS, loads the policy “fw_aggressive_policy”,
sets the actions to “none”, and then sets approved actions.

switch:admin> mapsconfig --enablemaps -policy fw_aggressive_policy

WARNING:

This command enables MAPS and replaces all Fabric Watch configurations and

monitoring. Once MAPS is enabled, the Fabric Watch configuration can't be converted

to MAPS. If you wish to convert your Fabric Watch configuration into MAPS policies,

select NO to this prompt and first issue the "mapsconfig --fwconvert" command. Once

the Fabric Watch configuration is concerted into MAPS policies, you may reissue the

"mapsconfig --enablemaps" command to continue this process. If you do not use Fabric

Watch or need the configuration, then select YES to enable MAPS now.

Do you want to continue? (yes, y, no, n): [no] yes

...

MAPS is enabled.

switch:admin> mapsconfig --actions none

switch:admin> mapsconfig --actions raslog,fence,snmp,email,sw_marginal

For additional information refer to the following links.

Refer to

Predefined policies

on page 44 for details on the default MAPS

policies.

Refer to

Viewing the MAPS dashboard

on page 78 for details on the mapsDb

command output.

Refer to

MAPS rule actions

on page 50 for details on configuring MAPS rule

actions.

Monitoring across different time windows

You can create rules that monitor across multiple time windows or time bases.

For example, if you want to monitor both for severe conditions and separately for non-critical but
persistent conditions, you would construct rules similar to the following.

1. Enter mapsRule --create severe_rule_name -monitor monitor_name -group group_name -

timebase time_base -op operator -value time -action action_1, action_2, …

2. Enter mapsRule --create persistent_rule_name -monitor monitor_name -group group_name -

timebase time_base -op operator -value time -action action_1, action_2, …

3. Enter mapsRule --show severe_rule_name to confirm the rule values.
4. Enter mapsRule --show persistent_rule_name to confirm the rule values.

Monitoring across different time windows

Monitoring and Alerting Policy Suite Administrator's Guide

21

53-1003147-01