beautypg.com

Examples of monitoring flows at the sub-flow level, Monitoring frames for a specified set of criteria, Excessive throughput notification – Brocade Monitoring and Alerting Policy Suite Administrators Guide (Supporting Fabric OS v7.3.0) User Manual

Page 74: Possible bottleneck notification

background image

Monitoring frames for a specified set of criteria

The following example watches for frames in a flow going through a port that contain SCSI ABORT
sequence markers.

switch246:admin> flow --create abtsflow -feature mon -ingrport 128 -frametype abts

switch246:admin> mapsconfig --import abtsflow

You can then define rules for this flow (group).

switch246:admin> mapsrule --create abts_rule -monitor txfcnt -group abtsflow -t min -

ops ge -value 10 -action raslog -policy flowpolicy

Examples of monitoring flows at the sub-flow level

The following examples illustrate some of the ways you might want to monitor flows at the sub-flow
level.

Excessive throughput notification

To be notified of all the Source ID-Destination ID device pairs for which the RX-TX throughput is
greater than a required threshold, you would import a learning flow with both the Source ID and
Destination ID specified as “*” and define a rule to provide the notification, as shown in the following
example.

switch246:FID128:admin> flow -create thruputflow -feature monitor -ingrp 123 -srcdev

"*" -dstdev "*"

switch246:FID128:admin> mapsconfig -import thruputflow

switch246:FID128:admin> mapsrule -create thruputflow_thput_10 -group thruputflow -

time hour -m RX_THRUPUT -op ge -v 10 -a RASLOG,EMAIL

Possible bottleneck notification

To determine which Source ID-Destination ID device pairs have an “abort frame” count that exceeds a
specified limit (and consequently cause network bottlenecking), you would import a learning flow that
monitors the SCSI Abort notifications with both the Source ID and Destination ID specified as “*” and
define a rule to provide the notification, as shown in the following example.

switch:admin> flow -create frmcntflow -feature monitor -egrp 234 -srcdev "*" -dstdev

"*" -frametype abts

switch:admin> mapsconfig -import frmcntflow

switch:admin> mapsrule -create frmcntflow_framecnt_1000 -group frmcntflow -time hour

-m TX_FCNT -op ge -v 1000 -a RASLOG,EMAIL

Examples of monitoring flows at the sub-flow level

74

Monitoring and Alerting Policy Suite Administrator's Guide

53-1003147-01