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
|