Users Guide

Fabric OS Command Reference 581
53-1002921-02
mapsRule
2
action
Specifies a comma-separated list of actions to be taken if the specified condition is
evaluated to be true. The action is not taken unless it is also specified globally,
using the mapsconfig --actions command. Valid actions include the following:
raslog
Generates a RASLog message.
fence
Fences the port, if port fencing is enabled. Port fencing takes the ports offline if the
user-defined thresholds are exceeded. This action is valid only on conditions that
are evaluated on ports.
snmp
Generates an SNMP trap.
email
Sends information about a switch event to a specified e-mail address.
sw_critical
Sets the state of the affected switch to critical. This action is valid only if the
monitor operand is one of the switch policy status monitoring systems.
sw_marginal
Sets the state of the affected switch to marginal. This action is valid only if the
monitor operand is one of the switch policy status monitoring systems.
sfp_marginal
Sets the state of the affected SFP transceiver to marginal. This action is valid only
if the monitor operand is one of the switch policy status monitoring systems.
none
No actions are allowed on the switch. Specifying this option allows you to turn off
all notifications.
--create rule_name
Creates a monitoring rule and adds it to a specified policy. All the following
operands are required:
-group group_name
Specifies the group containing the elements on which the specified condition is to
be evaluated.
-monitor ms_name
Specifies the monitoring system (MS).
-timebase time_base
Specifies the time interval between two samples to be compared.
-op comparison_operator
Specifies the relational operation to be used in evaluating the condition.
-value value
Specifies the threshold value.
-action action
Specifies a comma-separated list of actions to be taken if the specified condition is
evaluated to be true.
-policy policy
Specifies the user-defined policy to which the rule is to be added. You cannot add
a rule to a predefined policy.
--delete rule_name
Deletes a monitoring rule.