Notify Someone of Situations of Interest
Instructions to send email, a message to a Syslog
server, or an SNMP trap to indicate that a condition of interest has occurred
If you don't want to be caught by surprise about conditions such as those
listed below, PacketWise's event facility solves the problem.
-
Retransmissions rise to 30 percent of your network
-
SAP's response time dips below promised service levels
-
So many users swamp a streaming, distance-learning application that
you have insufficient bandwidth to give each student smooth performance
You can request event notification for conditions using any PacketWise
metric or any predefined event. For background information, see Overview
of Event Notification. Note that you must use the command-line interface
(CLI) to configure events.
Steps:
-
Decide how you want to be notified when an event occurs: via SNMP
traps, email, and/or syslog.
SNMP traps are useful when if use a network-management platform such
as HP OpenView for event and alarm processing and notification. Email
is an appropriate choice if you need fast, urgent notification that
someone is likely to check more frequently.
-
If you want to be notified via SNMP traps, configure
PacketWise for SNMP support and define the SNMP trap destination(s).
-
If you want to be notified via email, set
up email notification by configuring an SMTP server and defining
email recipients.
-
If you want a message to be sent to a syslog server, set
up the syslog feature.
-
Define which metrics PacketWise will use when evaluating your situation
of interest. Find a relevant predefined
event or define
a new event.
For example, you could define the following event:
event new WastedBandwidth tcp-retx-pkts%.link>$1 1m
to define a new event called "WastedBandwidth" to be done
on the link as a whole that tests the measurement variable called
"tcp-retx-pkts%" for being more than something (>$1)
as yet undefined. The default checking interval is one minute (1m).
Note that you have defined only a potential event, as you still have
to define the comparison value, as well as other information, and
to tell PacketWise to start monitoring.
-
Register
the event, giving PacketWise the rest of your instructions and
telling it to start monitoring for your condition of interest.
The types of information you specify include the comparison value
or threshold, a specific instance of the link, partition, or class
you want monitored, and criteria to help prevent a flood of notifications.
For example, you could register the following events:
event register WastedBandwidth(inbound,12, 4) 1m email trap limit=3
event register WastedBandwidth(outbound,12, 4) 1m email trap limit=3
to apply your wasted-bandwidth event to both Inbound and Outbound
links, evaluate them every minute, send both an email and an SNMP
trap when retransmissions grow to above 12 percent, avoid additional
notification until after retransmissions decline to 4 percent, and
never send more than three notifications in one day.
-
Keep tabs on all the armed events and their history by monitoring
event status.
|