Users Guide

28 Monitoring and Alerting Policy Suite Administrator’s Guide
53-1002933-02
MAPS actions
4
Enabling or disabling actions at a global level
You can define what actions are allowable on the switch, regardless of the actions that are
specified in individual rules.
Enabling and disabling actions at a global level allows you to configure rules with stricter actions,
such as port fencing, but disable the action globally until you can test the configured thresholds.
After validating the thresholds, you can enable port fencing globally without having to change all of
the rules.
To enable or disable actions at a global level, complete the following steps.
1. Enter mapsConfig --show to display the actions that are currently allowed on the switch.
2. Enter mapsConfig --actions and specify all of the actions that you want to allow on the switch,
for example, mapsConfig --actions action1,action2,action3 … (up to the complete set of
actions.)
You only need to specify the parameter values you are changing. The list of actions you specify
replaces the existing list of actions on the switch. If you want to add an action, you must specify
all of the existing actions as well as the new action. If you want to delete an action, you must
specify the existing list minus the action you want to delete.
NOTE
To disable all actions, enter mapsConfig --actions none. The none keyword cannot be combined with
any other action.
The following example shows that port fencing (fence) is not an allowed action on the switch, and
then adds it to the list of allowed actions.
switch:admin> mapsconfig --show
Configured Notifications: RASLOG,EMAIL
Mail Recipient: admin@mycompany.com
Relay Host: Relay Host IP is: 1.1.1.1
Paused members :
PORT :
CIRCUIT :
SFP :
switch:admin> mapsconfig --actions raslog,email,fence
switch:admin> mapsconfig --show
Configured Notifications: RASLOG,EMAIL,FENCE
Mail Recipient: admin@mycompany.com
Relay Host: Relay Host IP is: 1.1.1.1
Paused members :
PORT :
CIRCUIT :
SFP :
RASLog messages
Following an event, MAPS adds an entry to the internal event log for an individual switch. The
RASLog stores event information but does not actively send alerts. You can use errShow to view the
RASLog. Refer to the Fabric OS Message Reference for a complete listing and explanation of
MAPS-related RASLog messages.