HP StorageWorks 2/64 HP StorageWorks Fabric OS 5.x Fabric Watch Administrator - Page 46

Configuring notifications

Page 46 highlights

A port is not considered disabled if one of the port thresholds is still enabled. To enable all the thresholds for a port, at the command prompt enter: swd77:admin> fwconfigure --enable --port 9 Configuring notifications You can be notified of an alarm condition through a notification. The tasks for configuring notifications using Fabric Watch are: • "Configuring alarm notifications" on page 46 • "Configuring SNMP notifications" on page 46 • "Configuring port log lock actions" on page 47 • "Configuring port log lock actions" on page 47 • "Configuring email notifications" on page 47 Configuring alarm notifications When you use alarm notifications, error messages are sent to designated locations such as an error log, SNMP trap view, or email. 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. To ensure that notifications appear in the error log, use the following command: swd77:admin> fwAlarmsFilterSet 1 The option 1 turns on the alarm notification. If you decide not to have notifications sent, use the following command: swd77:admin> fwAlarmsFilterSet 0 The option 0 turns the alarm notification off. All alarms are suppressed when alarm notifications are turned off, except for the Environment class and Resource class. To verify or view your current alarm notifications, use the fwAlarmsFilterShow command. swd77:admin> fwalarmsfiltershow FW: Alarms are enabled Configuring SNMP notifications 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 snmpMibCapSet, and within Fabric Watch, using alarms. See "Step 3: Configure alarms" on page 41for details about setting alarms. For details about SNMP configuration, including traps, see the agtCfgSet cand snmpConFig commands in the HP StorageWorks Fabric OS 5.x command reference guide. Configuring port log lock actions Port Log Lock freezes in time the port log dump output if an event is triggered. See "Step 3: Configure alarms" on page 41 for details about configuring port log lock actions. See "Fabric watch components" on page 19 for more details about port log lock. 46 Configuring Fabric Watch

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74

46
Configuring Fabric Watch
A port is not considered disabled if one of the port thresholds is still enabled.
To enable all the thresholds for a port, at the command prompt enter:
Configuring notifications
You can be notified of an alarm condition through a notification. The tasks for configuring notifications
using Fabric Watch are:
Configuring alarm notifications
” on page 46
Configuring SNMP notifications
” on page 46
Configuring port log lock actions
” on page 47
Configuring port log lock actions
” on page 47
Configuring email notifications
” on page 47
Configuring alarm notifications
When you use alarm notifications, error messages are sent to designated locations such as an error log,
SNMP trap view, or email. 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.
To ensure that notifications appear in the error log, use the following command:
The option
1
turns on the alarm notification.
If you decide not to have notifications sent, use the following command:
The option
0
turns the alarm notification off.
All alarms are suppressed when alarm notifications are turned off, except for the Environment class and
Resource class.
To verify or view your current alarm notifications, use the
fwAlarmsFilterShow
command.
Configuring SNMP notifications
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
snmpMibCapSet
, and within Fabric Watch, using alarms.
See ”
Step 3: Configure alarms
” on page 41for details about setting alarms.
For details about SNMP configuration, including traps, see the
agtCfgSet
cand
snmpConFig
commands in the
HP StorageWorks Fabric OS 5.x command reference guide
.
Configuring port log lock actions
Port Log Lock freezes in time the port log dump output if an event is triggered.
See ”
Step 3: Configure
alarms
” on page 41 for details about configuring port log lock actions.
See ”
Fabric watch components
” on page 19 for more details about port log lock.
swd77:admin> fwconfigure --enable --port 9
swd77:admin> fwAlarmsFilterSet 1
swd77:admin> fwAlarmsFilterSet 0
swd77:admin> fwalarmsfiltershow
FW: Alarms are enabled