To: | nv-l@lists.us.ibm.com |
---|---|
Subject: | Re: [nv-l] Passing TRAP OID to Perl script? |
From: | Paul <pstroud@bellsouth.net> |
Date: | Fri, 30 Jan 2004 18:13:58 -0500 |
Delivery-date: | Fri, 30 Jan 2004 23:35:09 +0000 |
Envelope-to: | nv-l-archive@lists.skills-1st.co.uk |
In-reply-to: | <401AD9BC.B23E2A94@princeton.edu> |
References: | <401AD9BC.B23E2A94@princeton.edu> |
Reply-to: | nv-l@lists.us.ibm.com |
Sender: | owner-nv-l@lists.us.ibm.com |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031014 Thunderbird/0.3 |
I cant find the doc, but $[1-x] will give you any of the variables with the trap, $T timestamp, $A agent, $C community, $G generic, $S specfic I believe there are others but thats off the top of my head, oh yeah $E enterprise. Paul Jeff Fitzwater wrote: SOL 2.8 NV 7.1.4 When I recieve a BGP TRAP when a peering session changes STATE, I need to not only get the value but the OID itself, which contains the peer host IP. I know how to get it in the LOG but don't understand how to pass the OID itself directly to a script. If its even possible. I have been trying different things with COMMAND FOR AUTOMATIC ACTION in trap event setup, but can't figure it out. Thanks for any help. Jeff Fitzwater OIT Systems & Networking Princeton University |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | [nv-l] Passing TRAP OID to Perl script?, Jeff Fitzwater |
---|---|
Next by Date: | [nv-l] Event Correlation at NetView, nraaman |
Previous by Thread: | [nv-l] Passing TRAP OID to Perl script?, Jeff Fitzwater |
Next by Thread: | RE: [nv-l] Passing TRAP OID to Perl script?, John and Leizyl |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Archive operated by Skills 1st Ltd
See also: The NetView Web