To: | nv-l@lists.us.ibm.com |
---|---|
Subject: | Re: [nv-l] Event Correlation |
From: | James Shanks <jshanks@us.ibm.com> |
Date: | Fri, 2 Apr 2004 08:38:27 -0700 |
Delivery-date: | Fri, 02 Apr 2004 16:46:20 +0100 |
Envelope-to: | nv-l-archive@lists.skills-1st.co.uk |
In-reply-to: | <OFD6086145.F14E6242-ON65256E6A.00236D79@chennai.tcs.co.in> |
Reply-to: | nv-l@lists.us.ibm.com |
Sender: | owner-nv-l@lists.us.ibm.com |
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
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 |
<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