Administrator Guide

Monitoring and Alerting Policy Suite Administrator’s Guide 9
53-1002933-02
MAPS configuration tasks
2
Refer to the Fabric OS Command Reference for additional information on the MAPS-related
commands
logicalGroup, mapsConfig, mapsPolicy, mapsRule, mapsDb, and mapsSam.
Monitoring a new port using existing rules
If a new element, such as a host, target, or small form-factor pluggable (SFP) transceiver is added
to the fabric, you can monitor the element using existing rules for similar elements by using
logicalGroup --addmember group -member member1,member2, …. The element you want to add
must be the same type as those already in the group (port, circuit, or SFP transceiver).
The added element is automatically monitored using the existing rules that have been set up for
the group as long as the rules are in the active policy. You do not need to re-enable the active
policy.
The following example adds the element members 31 and 41 to the existing group “critical_ports”:
switch:admin> logicalgroup --addmember critical_ports -members "31,41"
Monitoring across different time windows
You can create rules across multiple time bases if, for example, you want to monitor for both severe
conditions and non-critical but persistent conditions.
In the following example, two rules are created:
If the change in the CRC counter in the last minute is greater than 5, trigger an e-mail alert and
SNMP trap.
If the change in the CRC counter in the last day is greater than 20, trigger a RASLog message
and e-mail alert.
The first rule monitors for the severe condition. It monitors sudden spikes in the CRC error counter
over a period of one minute.
The second rule monitors for slow occurrences of CRC errors that could accumulate to a bigger
number over the period of a day.
Both of these cases could indicate potential issues in the fabric. Configuring rules to monitor these
conditions allows you to correct issues before they become critical.
switch:admin> mapsrule --create crc_critical -monitor crc -group ALL_PORTS
-timebase min -op g -value 5 -action email,snmp
switch:admin> mapsrule --show crc_critical
Deleting a rule from a policy mapspolicy --delrule
Creating a rule mapsrule --create
Modifying a rule mapsrule --config
Enabling or disabling actions at a global level mapsconfig --actions
Sending alerts using e-mail mapsconfig --emailcfg
Viewing the MAPS dashboard mapsdb --show
Viewing historical data mapsdb --show history
TABLE 2 MAPS configuration tasks (Continued)
Configuration task Command