To: | nv-l@lists.tivoli.com |
---|---|
Subject: | Re: Event values |
From: | "Frank W. Hansen" <fhansen@mindspring.com> |
Date: | Thu, 18 May 2000 13:01:41 -0500 |
James, so it is possible to set the slot value to a variable binding? Is that a correct statement? If yes, then how do you do that? Within the event customization screen where you can select slots to add, I put something similar to the following: BPVManaged=$2 Thinking it would grab the host name and auto populate the slot BPVManaged, no such luck. It just put the "$2" literally. Do you have to escape the $ out? Thanks! James_Shanks@tivoli.com wrote: > What goes into the slot is determine by the slot map values you set in > trapd.conf, assuming you are sending these events to TEC via the internal > adapter. But you can only set them to constants and variables contained in > the > trap itself. If you want to add new information, then you may have to use a > ruleset to issue a new trap which contains the information you want and send > that one to TEC instead of the first. > > James Shanks > Tivoli (NetView for UNIX and NT) L3 Support > > "Frank W. Hansen" <fhansen@mindspring.com> on 05/18/2000 11:53:07 AM > > Please respond to IBM NetView Discussion <nv-l@tkg.com> > > To: IBM NetView Discussion <nv-l@tkg.com> > cc: (bcc: James Shanks/Tivoli Systems) > Subject: [NV-L] Event values > > Greetings. I need the ability to change a TEC slot value within a > NetView event. For example. I have defined an event within NetView and > set two slot values to be used with the event. When I issue an snmptrap > command, is there a way to change what the contents of these slot values > are? It appears that you have to pre-set these values. Any ideas? > > -- > > Best Regards, > > Frank W. Hansen > Tivoli Certified Enterprise Consultant > www.EnterpriseInnovations.com > > ------------------------------------------------------------------------ > Name: att1.htm > att1.htm Type: Hypertext Markup Language (text/html) > Encoding: base64 > Description: Internet HTML -- Best Regards, Frank W. Hansen Tivoli Certified Enterprise Consultant www.EnterpriseInnovations.comJames, so it is possible to set the slot value to a variable binding? Is that a correct statement? If yes, then how do you do that? Within the event customization screen where you can select slots to add, I put something similar to the following: BPVManaged=$2 Thinking it would grab the host name and auto populate the slot BPVManaged, no such luck. It just put the "$2" literally. Do you have to escape the $ out? Thanks! James_Shanks@tivoli.com wrote: What goes into the slot is determine by the slot map values you set in -- Best Regards, Frank W. Hansen Tivoli Certified Enterprise Consultant www.EnterpriseInnovations.com |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | Re: Event values, James_Shanks |
---|---|
Next by Date: | Desktop question, Chris Cowan |
Previous by Thread: | Re: Event values, James_Shanks |
Next by Thread: | Desktop question, Chris Cowan |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Archive operated by Skills 1st Ltd
See also: The NetView Web