nv-l

Re: TRAP AUTOMATIC ACTION not working ???

2000-02-16 13:06:56
Subject: Re: TRAP AUTOMATIC ACTION not working ???
From: Chris Cowan <chris.cowan AT 2ND-WAVE DOT COM>
To: nv-l AT lists.tivoli DOT com
Date: Wed, 16 Feb 2000 12:06:56 -0600
Jeff Fitzwater wrote:
>
> Netview 5.1.2
> Sol 2.6
>
> I have set up a test trap in Trap config.
>
> I enter "This is a test" in PopUP Notification box for the new evvent
> and also a script name in AUTOMATIC ACTION box.
>
> I use the "snmptrap" to generate the trap and I get a POPUP but the
> script doesn't seem to run.
>
> I execute script as standalone and it works fine.
>
> The script is very simple it just ECHOs "This is a test"
>
> I have tried putting the full path in but still nothing.
>
> I have followed the ADMIN guide on how to do this.
>
>  Any ideas on what I am doing wrong?
>
> Thanks for any help.
>


Just a guess, but this is an X Windows application.   Is $DISPLAY set
correctly, and have you checked xhosts or xauth to make sure that it's
not getting rejected when it tries to connect to your X server?

Attachment: chris.cowan.vcf
Description: Card for Chris Cowan