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:36:33 -0700 (PDT)
Delivery-date: Tue, 16 Aug 2005 21:39:03 +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=yZxvUgDON9XfYRLf9fOgDIBRRX9ca3DuDm1wXJwFVxo/OLlkuwPNyx0xcN3WNjgqe6GxmzGBE0TZxmF43jw5114ZMVqtI1RlH8QnFvVtQupfu+OJNwP3E2xaig4gjHvqQgMQZZSDl6tPeWsiKhBSYFqHie1XDyU9Km9/0sAjm/M= ;
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <OFC88BFFAB.359EB2AD-ON8525705F.0051B38C-8525705F.0052A0AF@us.ibm.com>
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l@lists.us.ibm.com
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 

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

Archive operated by Skills 1st Ltd

See also: The NetView Web