Re: [nv-l] Event Correlation
2004-04-02 10:46:20
The pieces of the event will be made
available to your script as environment variables. These are documented
in the NetView Admin Guide.
You have many to choose from: $NVA is
the agent address, $NVC is the community string, $NVT is the timestamp
from the trap, $NVE is the enterprise id, $NVG is the generic event id,
and $NVS, the specific id. The event variables are given as
$NVATTR_1, $NVATTR_2, $NVATTR_3, and so on. As the Release Notes
will tell you, there are also $NVATTR_COUNT, to tell you how many variables
are present, and $NVSEV for the event severity, $NVSRC for the source is,
and $NVCAT for the event category , as defined in trapd.conf.
How you send the message you create
to an SMS device is another matter. I think you can find a UNIX utility
for that on the web, but NetView itself does not provide one. He
has only the much older pager protocol, TAP, which is used by the pager
daemon, nvpagerd.
James Shanks
Level 3 Support for Tivoli NetView for UNIX and Windows
Tivoli Software / IBM Software Group
nraaman AT chennai.tcs.co DOT in
Sent by: owner-nv-l AT lists.us.ibm DOT com
04/02/2004 02:19 AM
|
To
| <nv-l AT lists.us.ibm DOT com>
|
cc
|
|
Subject
| [nv-l] Event Correlation |
|
Hi,
I written a rule to action whenever the down event recived it hold for
10 minutes. If Up
event is recived within 10 mins then both events will dropped. If UP event
is not
recviced, then down event will trigger the
Action node to the action. I need to understand that , how to capture the
events to write
the scripts to a send alert on SMS.
Please advice
Regards
N.Raaman
InterScan_Disclaimer.txt
Description: Text document
|
|
|