Never start your ruleset with a Query Collection.
Understand that if you do, then every trap that comes through your system,
even the one which are "Log Only", will cause nvcorrd to pause, format a
call to nvcold, who will then query ovwdb, and wait for an answer.
Usually, this causes horrible performance problems and trap processing gets
very behind when ovwdb processing. In this case, you could get more than
nine minutes behind just processing the traps.
You should do the Query Collection after you have checked the Trap Settings
for Node Up/Node Down so that you only query the databases for a small
fraction of the traps that come through your system.
There is a note on Ruleset Performance that I have posted to the list
several times. You may want to extract it from the archives and give it a
look.
James Shanks
Level 3 Support
Tivoli NetView for UNIX and NT
"Scott ." <pepsiasg@hotmail.com>@tkg.com on 08/16/2001 02:11:28 PM
Please respond to IBM NetView Discussion <nv-l@tkg.com>
Sent by: owner-nv-l@tkg.com
To: nv-l@tkg.com
cc:
Subject: Re: [NV-L] Ruleset correlation issues
Here is the raw ruleset. It would be easier to load than to explain. I
worked with Jeennifer Nelson on this when we had her out, but we have since
realized that this isn't really reliable. Node up/down traps are still sent
even if it is within the 9 minute corr. window. I am totally confused!
Scott
RuleSet13 RuleSet NVQryColl14
"" 0
NVQryColl14 NVQryColl TrapID15 TrapID18
2 us381d09 1 ""
TrapID15 TrapID AttrDelay16
netView6000 1.3.6.1.4.1.2.6.3 "6 " "58916865 " 0 "netView6000
1.3.6.1.4.1.2.6.3" "IBM_NVNDWN_EV Specific 58916865
" "" 0
AttrDelay16 AttrDelay Action17
"" 0 "" 540 "" 0 0 0 "2 2 0~"
Action17 Action
"/usr/OV/alert/bdcdown.sh $NVATTR_1 $NVATTR_2 $NVATTR_3 $NVATTR_4 $MSG" ""
TrapID18 TrapID AttrDelay16.2
netView6000 1.3.6.1.4.1.2.6.3 "6 " "58916864 " 0 "netView6000
1.3.6.1.4.1.2.6.3" "IBM_NVNUP_EV Specific 58916864
" "" 0
>From: "James Shanks" <SHANKS@us.tivoli.com>
>Reply-To: IBM NetView Discussion <nv-l@tkg.com>
>To: IBM NetView Discussion <nv-l@tkg.com>
>Subject: Re: [NV-L] Ruleset correlation issues
>Date: Thu, 16 Aug 2001 13:58:04 -0400
>
>What does your ruleset look like?
>
>
>James Shanks
>Level 3 Support
>Tivoli NetView for UNIX and NT
>
>
>
>"Scott ." <pepsiasg@hotmail.com>@tkg.com on 08/16/2001 12:57:33 PM
>
>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] Ruleset correlation issues
>
>
>
>AIX 4.3 NetView 6.0.2
>
>I have a smartset that contains nodes with the attributes isNotes=TRUE and
>IP Status=Critical. I want to create a ruleset that says, if the node is
in
>this smartset, watch it for 9 minutes. If the node leaves the smartset
>before the 9 minutes expires, do nothing. This will allow for reboots so
>NetView will not pass alerts. If it is still in the smartset after 9
>minutes, run a script using the "action" block from the ruleset editor
>template. I have attempted to do this with various methods and I can't
seem
>to get it all working. I am loading the rule via the ESE.automation file.
I
>have made sure that I did not overstep the restrictions for staring a rule
>set this way. I am at my ropes end on this one. Anyone out there doing
>something similar? If you are, could you email me the rule so I can
>evaluate
>it? Thanks in advance!
>
>Scott
>
>scott.bursik@fritolay.com
>
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>_________________________________________________________________________
>NV-L List information and Archives: http://www.tkg.com/nv-l
>
>
>_________________________________________________________________________
>NV-L List information and Archives: http://www.tkg.com/nv-l
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l
|