nv-l
[Top] [All Lists]

Re: Passing trap variables to script

To: nv-l@lists.tivoli.com
Subject: Re: Passing trap variables to script
From: BAUDOUX BERNARD <bernard.baudoux@FORTISBANK.COM>
Date: Tue, 14 Dec 1999 14:55:34 +0100
Juan,


as far as I know, $A, $E, etc are used when configuring a trap (Options ->
Event Configuration).   $NVA, $NVE are to used when configuring an action in
a ruleset.

Kindest Regards,
Bernard.


> -----Original Message-----
> From: Juan Echevarria [SMTP:echevarria@ES.IBM.COM]
> Sent: mardi 14 décembre 1999 14:34
> To:   NV-L@UCSBVM.ucsb.edu
> Subject:      Re: Passing trap variables to script
> 
> Bernard,
> 
>      thankyou very much. It works now. However, I have another question
> concerning this matter: in Events/trap customization variable $NVA, $NVE,
> etc
> don't work (I had to use $A, $E instead), however it seems that out of
> Netview I
> have to use $NVA, $NVE, $NVATTR_2, etc..., why is this happening?
> 
> Regards & thanks,
> Juan.
> 
> Juan Echevarría López
> 
> 
> 
> BAUDOUX BERNARD <bernard.baudoux@FORTISBANK.COM> on 14/12/99 13:30:30
> 
> 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: Juan Echevarria Lopez/Spain/IBM)
> Subject:  Re: Passing trap variables to script
> 
> 
> 
> 
> Juan,
> 
> try with the variable $NVATTR_2 instead of $ATTR_2
> 
> Regards,
> Bernard.
> 
> 
> > -----Original Message-----
> > From: Juan Echevarria [SMTP:echevarria@ES.IBM.COM]
> > Sent: mardi 14 décembre 1999 13:06
> > To:   NV-L@UCSBVM.ucsb.edu
> > Subject:      Passing trap variables to script
> >
> > Hi all,
> >
> >      I have Netview v5 running on AIX 4.2.1. I'm trying to make a
> ruleset
> > that
> > executes a very simple script when IBM_NVNDWN_EV (Node Down event) is
> > generated.
> > The script exports the DISPLAY variable (I need this) and executes:
> > /usr/OV/bin/ovxecho Node down $2. I've tried with variable $2 and also
> > with
> > $ATTR_2 but it seems not to recognize the variable so the xwindow opens
> > and
> > displays "Node down" but not the variable value. I don't know where the
> > problem
> > is. Do I have to do something to allow the Netview variables to be read
> > from
> > operating system?
> >
> > Many thanks,
> > Juan.
> >
> > Juan Echevarría López.
> 


<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web