I take it that you are talking about event rulesets, correct?
Well, they work on incoming events. They can look at a smartset when an
event comes in, but other than check for membership in a particular
smartset, they have no other connection, so they cannot "collect" nodes
into a smartset or take them out of one at all, if that is what you are
asking.
The closest thing you can do is use a Reset-On-Match and look at Node Down
and Node Up events. Use a Trap Settings icon to specify the Node Down,
which is input 1 to your Reset. It is held in the reset cache for
however long you say, 10 minutes in this case. You specify another Trapd
Settings with Node Up as input 2, to the reset. The attribute to match on
is number 2, the hostname, because variable 2 in a NetView trap is always
the hostname. After the Reset-OnMatch you add a Forward. Then your
ruleset says in effect, "take each Node Down and hold it for ten minutes.
If a Node Up for the same hostname comes in during that time, throw them
both away, otherwise send the Node Down to the event window." Smartsets
aren't needed for this.
Hope this helps
James Shanks
Team Leader, Level 3 Support
Tivoli NetView for UNIX and NT
Scott.Bursik@fritolay.com@tkg.com on 12/19/2000 10:42:48 AM
Please respond to IBM NetView Discussion <nv-l@tkg.com>
Sent by: owner-nv-l@tkg.com
To: nv-l@tkg.com
cc:
Subject: [NV-L] NetView Rule Creation
I am using NetView 6.0.1 on AIX 4.3.3
I have a Smartset created that will pull nodes based on a .import file that
I
have created. I have also created a Smartset that will pull nodes that go
down
from that previously mentioned Smartset.
What I would to do is create a rule that will collet the nodes out of the
Smartset for nodes that have gone down, but not forward the event until the
node
has been down for 10 minutes, and resolve itself if the node comes back up.
Is
this possible? Thanks.
Scott Bursik
_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l
|