Brocade Fabric Watch Administrator's Guide v6.1.0 (53-1000601-02, June 2008)

44 Fabric Watch Administrator’s Guide
53-1000601-02
Notification configuration
3
Configuring alarm notifications
When you use alarm notifications, error messages are sent to designated locations such as an
error log, SNMP trap view, or e-mail. With an error log, you can log in to a particular switch to view
the error messages that have been captured for that particular switch. You can parse the log file to
make error message searches quicker and easier.
NOTE
You can enable Port Fencing only if the alarms are enabled using the fsAlarmsFilterSet command.
1. To ensure that notifications appear in the error log, use the following command.
swd77:admin> fwAlarmsFilterSet 1
The 1 option turns on the alarm notification.
2. If you decide not to have notifications sent, use the following command:
swd77:admin> fwAlarmsFilterSet 0
The 0 option turns the alarm notification off.
All alarms are suppressed when alarm notifications are turned off, except for the Environment
class and Resource class.
3. To verify or view your current alarm notifications, use the fwAlarmsFilterShow command.
swd77:admin> fwalarmsfiltershow
FW: Alarms are enabled
SNMP notification configuration
In environments in which you have a high number of messages (for example, hundreds per day)
coming from a variety of switches, you might want to receive them in a single location and view
them using a graphical user interface (GUI). In this type of scenario, SNMP notifications might be
the most efficient notification method. You can avoid having to log on to each switch individually as
you would have to do for error log notifications.
SNMP notifications are configured using snmpConfig, and within Fabric Watch, using alarms.
See “Configuring alarm notifications on page 44 for details about setting alarms.
For details about SNMP configuration, including traps, see the snmpConfig commands in the
Fabric OS Command Reference and the Fabric OS Administrator’s Guide.
API notification configuration
In the Brocade Fabric OS API, notifications are triggered programatically.
The Brocade Fabric OS API is an application programming interface (API) that provides the method
for any application to access critical information about a Brocade SAN. Using Fabric OS API, an
application can query or control individual switches or the entire fabric. You can also configure API
notifications using the Brocade Fabric OS API.