Thank you all for the help. Got things working. Just needed a another
brain.
Jeff Fitzwater
princeton University
James Shanks wrote:
>
> See the man page on trapd.conf -- they are the same variable specifications
> as
> you use in formatting the trap in trapd.conf:
> $A is agent address, $C is community string, $1 is the first variable, etc.
>
> James Shanks
> Tivoli (NetView for UNIX) L3 Support
>
> Jeff Fitzwater <jfitz@PRINCETON.EDU> on 02/16/2000 04:07:30 PM
>
> Please respond to Discussion of IBM NetView and POLYCENTER Manager on NetView
> <NV-L@UCSBVM.UCSB.EDU>
>
> To: NV-L@UCSBVM.UCSB.EDU
> cc: (bcc: James Shanks/Tivoli Systems)
> Subject: Re: TRAP AUTOMATIC ACTION not working ???
>
> Thanks James that helped a bunch. The last question is what variables
> can I pass to the script? Specifically host name.
>
> Thanks much.
>
> Jeff Fitzwater
> Princeton University
>
> James Shanks wrote:
> >
> > Take a look in ovactiond.log and look for error messages.
> >
> > James Shanks
> > Tivoli (NetView for UNIX) L3 Support
> >
> > Jeff Fitzwater <jfitz@PRINCETON.EDU> on 02/16/2000 12:46:29 PM
> >
> > Please respond to Discussion of IBM NetView and POLYCENTER Manager on
> > NetView
> > <NV-L@UCSBVM.UCSB.EDU>
> >
> > To: NV-L@UCSBVM.UCSB.EDU
> > cc: (bcc: James Shanks/Tivoli Systems)
> > Subject: TRAP AUTOMATIC ACTION not working ???
> >
> > 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.
> >
> > Jeff Fitzwater
> > CIT Systems & Networking
> > Princeton University
|