nv-l
[Top] [All Lists]

Re: [nv-l] script not running on ruleset

To: nv-l@lists.us.ibm.com
Subject: Re: [nv-l] script not running on ruleset
From: Mario Behring <mariobehring@yahoo.com>
Date: Tue, 16 Aug 2005 13:57:43 -0700 (PDT)
Delivery-date: Tue, 16 Aug 2005 21:58:39 +0100
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=tPYZ0SRgufDOPLNdOaukGOu+4ioMiTIVEcwhgw5wLA58N9SMm/tA3KeGf6ZAI+MkFfRUmERrWNakcnT8oNOl/NUJ8nqh4Q1fK/czLon/uNf3k6uaxfFBo88zDzHIwIQCNoBDtebLJBTg7IN3U7spDndOFZDMXN7H3YHCHLaB6/Y= ;
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <OFFA049494.BE6F27B7-ON8525705F.0071FCC0-8525705F.00724841@us.ibm.com>
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l@lists.us.ibm.com
James...that´s the problem...I think that the script is not being
executed...and so far I do not know why...how can I be sure that the
script is executed ?

Thanks

Mario



--- James Shanks <jshanks@us.ibm.com> wrote:

> If the script is being executed, then there is nothing more to be done
> on
> the NetView side.
> You'd need a diagnostic tool from TEC to see anything after that.  They
> own
> postemsg and the library where the code resides.
> That's all the advice I can give you.
> HTH
> 
> James Shanks
> Level 3 Support  for Tivoli NetView for UNIX and Windows
> Tivoli Software / IBM Software Group
> 
> 
>                                                                         
>   
>              Mario Behring                                              
>   
>              <mariobehring@yah                                          
>   
>              oo.com>                                                   
> To 
>              Sent by:                  nv-l@lists.us.ibm.com            
>   
>              owner-nv-l@lists.                                         
> cc 
>              us.ibm.com                                                 
>   
>                                                                   
> Subject 
>                                        Re: [nv-l] script not running on 
>   
>              08/16/2005 04:36          ruleset                          
>   
>              PM                                                         
>   
>                                                                         
>   
>                                                                         
>   
>              Please respond to                                          
>   
>                    nv-l                                                 
>   
>                                                                         
>   
>                                                                         
>   
> 
> 
> 
> 
> James,
> 
> You´re right...I am also running the internal adapter, but the
> BufferEvents was set to NO for the postemsg command (I am using the -f
> option pointing to a configuration file). In any case, just to see if
> something happens, I´ve changed the BufferEvents to YES and set the
> BufEvtPath a path different from the one that the internal adapter is
> using (the default).
> 
> Also, I have two different NV rulesets, one that the internal adapeter
> points to and the other that calls the "Action" box, which calls the
> postemsg script. The script gets the NVATTR_? variables from the memory
> when the event occurs and fill the postemsg attributes...but still no
> event reaches the TEC....
> 
> Thanks.
> 
> Mario
> 
> 
> 
> 
> 
> 
> 
> --- James Shanks <jshanks@us.ibm.com> wrote:
> 
> > Are you also running the internal TEC adapter?  Then you must specify
> > different and unique BufEvtPath values for the internal adapter (in
> your
> > tecint.conf) and on your postemsg command, or the TEC library code in
> > each
> > case will try to write to the same cache files and the two processes
> > will
> > interfere with each other doing cache management.
> >
> > You can issue the command "nvcdebug -n" to see what rulesets nvcorrd
> is
> > running by looking in the nvcorrd.alog.  And if you want to see it
> > process
> > traps through them, issue "nvcdebug -d all".  Look for the eyecatcher
> > "Received a trap" and "Finished with the trap" in the log.  Everything
> > that
> > happens in between is him processing that event.  The nvcorrd.alog and
> > blog
> > swap every thousand lines or so.  But during the processing of your
> > trigger
> > trap, you should see him hand it off to actionsvr.   And you should
> also
> > see in actionsvr's nvaction.alog/blog that same event coming in and
> the
> > results of your script being logged.
> >
> > If that's not enough to help, I suggest you call Support.
> >
> > James Shanks
> > Level 3 Support  for Tivoli NetView for UNIX and Windows
> > Tivoli Software / IBM Software Group
> >
> >
> >
> >
> >              Mario Behring
> >
> >              <mariobehring@yah
> >
> >              oo.com>
> > To
> >              Sent by:                  NetView List
> >
> >              owner-nv-l@lists.         <nv-l@lists.us.ibm.com>
> >
> >              us.ibm.com
> > cc
> >
> >
> >
> > Subject
> >              08/16/2005 10:22          [nv-l] script not running on
> >
> >              AM                        ruleset
> >
> >
> >
> >
> >
> >              Please respond to
> >
> >                    nv-l
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Hi list,
> >
> > I have a ruleset that executes an "Action" box that calls a script
> that
> > send the event to the TEC server using the postemsg
> command....however,
> > no
> > event ever reaches the TEC. It seems to me that the ruleset is not
> even
> > executing the script.
> >
> > Any ideas ?
> >
> > env: NV714 FP03 on AIX 5.2
> >
> > Thanks.
> >
> > Mario
> >
> >
> >
> > ____________________________________________________
> > Start your day with Yahoo! - make it your home page
> > http://www.yahoo.com/r/hs
> >
> >
> >
> >
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> 
> 
> 
> 



                
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

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

Archive operated by Skills 1st Ltd

See also: The NetView Web