Filtering And Routing Event Messages; Enabling And Disabling Logging - HP StorageWorks SR2122 User Manual

Ip storage router
Hide thumbs Also See for StorageWorks SR2122:
Table of Contents

Advertisement

Filtering and Routing Event Messages

The storage router logging table allows messages to be filtered by their facility
and notification level and routed to the specified destination(s). When an event
message arrives, the logging table rules are searched by facility name and by level
until the first match is found. The message is sent to all the destinations specified
by the matching rule. If no match is found, the event message is discarded.
When a new routing rule is added, it is appended to the existing table. Use the
logging level command to add a new routing rule to the logging table; use
the logging #? command to insert a routing rule into the logging table before
the specified entry.
Each facility can have eight notification levels. Each facility and notification level
pair can have up to seven destinations.
In
Example
logging table included the entries in Example14, the event message in
would match on the first routing rule, and would be sent to all valid destinations.
Any message from the SNMP facility at notification level info, and any message
from another facility at notification level info (or lower) would match on the
second rule and be sent to the storage router console and log file. All messages
from any facility at notification level debug would be discarded.
Example 27: Example Log Route Entries List
Index
1
2
The logging table can be saved and retained across the storage router restart. The
order of the rules in the logging table is preserved when entries are deleted.

Enabling and Disabling Logging

Logging is enabled by default. By default, the storage router includes the
following routing rules in the logging table:
IP Storage Router SR2122-2 User Guide
27, the facility is SNMP, and the notification level is 5 (notice). If the
Level
Priority
notice
5
info
6
All messages at notification level notice or lower are logged to all valid
destinations.
All messages at notification level info are logged to the storage router log file.
All debug messages are discarded.
Maintaining and Managing the Storage Router
Facility
Route
SNMP
all
all
console log file
Example 27
207

Advertisement

Table of Contents
loading

This manual is also suitable for:

Storageworks sr2122-2

Table of Contents