|Subject:||Re: [nv-l] Event Correlation|
|From:||James Shanks <firstname.lastname@example.org>|
|Date:||Fri, 2 Apr 2004 08:38:27 -0700|
|Delivery-date:||Fri, 02 Apr 2004 16:46:20 +0100|
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.
Level 3 Support for Tivoli NetView for UNIX and Windows
Tivoli Software / IBM Software Group
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.
|<Prev in Thread]||Current Thread||[Next in Thread>|
|Previous by Date:||Re: [nv-l] Netview and OSPF, James Shanks|
|Next by Date:||Re: [nv-l] netnmrc warning, James Shanks|
|Previous by Thread:||[nv-l] Event Correlation, nraaman|
|Next by Thread:||Re: [nv-l] Event Correlation, Francois Le Hir|
|Indexes:||[Date] [Thread] [Top] [All Lists]|
Archive operated by Skills 1st Ltd
See also: The NetView Web