James,
I am not looking for a specific trap. Perhaps I should
have been more clear. As I am watching the event
stream through the nvevents, I would like to select an
event. This event could be any event not a specific
predetermined event. As I select an Event, I would
like to have some menu option to provide which will
use the information from the selected event and
execute a command. I know that we can do this via
application registration files using $OvwSelections to
obtain the selected objects on the Map. But How can
you do exactly the same for an event ?
Thanks,
- chanakya
--- James_Shanks@tivoli.com wrote:
>
> Use xnmtrap and specify a command for automatic
> action for thi trap. Use
> he full path name for your command and pass the
> variables as $1, $2, and so
> on.
> You should be looking at the Help in xnmtrap and in
> the Admin Guide on
> Configuring Events.
>
> And 5.1.1 has been out of support for two years.
> You need to apply 5.1.3
>
> James Shanks
> Team Leader, Level 3 Support
> Tivoli NetView for UNIX and NT
>
>
>
> chanakya <chanakya@yahoo.com>@tkg.com on 04/04/2001
> 10:29:37 AM
>
> Please respond to IBM NetView Discussion
> <nv-l@tkg.com>
>
> Sent by: owner-nv-l@tkg.com
>
>
> To: nv-l@tkg.com
> cc:
> Subject: [NV-L] event window and varbinds
>
>
>
> How can I extract varbinds from an event that comes
> in
> NVevent window ? What I need to do is when an event
> comes in, I would like to highlight the event in the
> event window, extract three varbinds and execute a
> UNIX command. Does anyone have any idea how to do
> this
> ? FYI, this is Netview 5.1.1 on AIX 4.3.2.
>
> TIA,
>
> - chanakya
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
>
_________________________________________________________________________
> NV-L List information and Archives:
> http://www.tkg.com/nv-l
>
>
>
>
_________________________________________________________________________
> NV-L List information and Archives:
http://www.tkg.com/nv-l
__________________________________________________
Do You Yahoo!?
|