You can look in nvaction.alog and determine whether the action is called
three times or just once.
If three times, then you can turn on nvcdebug -d all and run the test again
and see what nvcorrd is doing when he processes the traps which are driving
the execution.
What does your ruleset look like?
James Shanks
Tivoli (NetView for UNIX) L3 Support
Frantsen Christian <cf@INTERNOC.SE> on 04/07/99 03:20:14 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)
Subject: Re: Actions
I'm calling it from the ruleset, and i have tested it both by waiting for
an
event and by sending a trap manually, it's the same result
/Christian
-----Original Message-----
From: James Shanks [mailto:James_Shanks@TIVOLI.COM]
Sent: Wednesday, April 07, 1999 9:03 PM
To: NV-L@UCSBVM.UCSB.EDU
Subject: Re: Actions
How are you calling ovexcho -- from the automatic action of trap definition
in trapd.conf or from the action in a ruleset?
How are you testing it? Do you have a script calling the snmptrap command
or the event command or do you just wait for the event?
James Shanks
Tivoli (NetView for UNIX) L3 Support
Frantsen Christian <cf@INTERNOC.SE> on 04/07/99 01:12:13 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)
Subject: Actions
I use ovxecho to display popup windows on certain alerts, the problem is i
get 3 pop windows / alert, i made a test and discovered that netview called
my bash-script 3 times, why? =)
-----------------------------------------
Christian Frantsen
Internoc Scandinavia AB
Tel: +46-36-194843
Fax: +46-36-194651
|