nv-l
[Top] [All Lists]

RE: [nv-l] events/traps

To: "'nv-l@lists.us.ibm.com'" <nv-l@lists.us.ibm.com>
Subject: RE: [nv-l] events/traps
From: "Allison, Jason (JALLISON)" <JALLISON@arinc.com>
Date: Wed, 4 Feb 2004 17:02:41 -0500
Delivery-date: Wed, 04 Feb 2004 22:09:14 +0000
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l@lists.us.ibm.com
The long answer is that you would have to do something clever, such as set that trap to "Don't Log or Display" (or "Log Only" if you want a record of it) and then configure a Command for Automatic Action which would pass the trap variables to a script of your own making, which would do the math and re-issue the trap, with a different specific id, using snmptrap.  That's the one  you would want to display in the nvevents window. 
 
// This is failry easy to do.  Depending on how large your set of events you want this occur for will determine the complexity of your script.   This can also be accomplished by utilizing the Netview API and registering with trapd.  The API becomes more ideal when you have more complex, logical choices and actions to be taken.  For example quereing another device and/or application and making decisions/actions based upon your response and current meta data.
 
Best of luck,
JasonA
<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web