For cases where the bad value is lower than the good value, you need to
threshold in a negative direction, which Netview cannot do - as you have
seen.
The workaround for this is to define a mib expression which is your mib
variable
multiplied by -1. Now you can set the threshold at -200, and the rearm
arm at -250
or something like that. To do this, edit /usr/OV/conf/mibExpr.conf and add
an
expression like:
Neg_Reliability \
"Reliability from (some.mib.variable * -1" \
1.3.6.1.4.1.x.y.z -1 *
Read about it in the header of that file.
Stop/start snmpCollect to get the file re-read, and check
/usr/OV/log/snmpCol.trace
for syntax or typing errors in that file. Now when you go to add the
collection, switch
from MIB Variable to Expression and select yours off the list.
Cordially,
Leslie A. Clark
IBM Global Services - Systems Mgmt & Networking
Detroit
z_esm_karekars <z_esm_karekars@bharatpetroleum.com>@tkg.com on 08/01/2001
05:31:17 AM
Please respond to IBM NetView Discussion <nv-l@tkg.com>
Sent by: owner-nv-l@tkg.com
To: "'IBM NetView Discussion'" <nv-l@tkg.com>
cc:
Subject: RE: [NV-L] Link Reliability
Hi,
I may be wrong to put my query, I will put it again.
The Reliability is 100 % if the counter value is 255, If it gets degraded
it goes below 255. While if I had to set the threshold I have option only
setting > (greater than), and not < (less than).
I guess I need to set the Absolute value check to < 200, to trigger
threshold action. and rearm value to Absolute <= 225
As I had set the threshold > 85 % as I mentioned it will trigger mail for
all healthy links as they are greater than 85% at the time of data
collection.
Can U advice how can I achieve this.
Regards,
Santosh
----------
From: Scott Barr[SMTP:scott_barr@csgsystems.com]
Reply To: IBM NetView Discussion
Sent: Friday, July 27, 2001 8:33 PM
To: IBM NetView Discussion
Subject: RE: [NV-L] Link Reliability
Wouldn't it be easier (or perhaps more logical) to fix the reliability
problem with the circuit? Sounds like the threshold works great!
-----Original Message-----
From: owner-nv-l@tkg.com [mailto:owner-nv-l@tkg.com]On Behalf Of James
Shanks
Sent: Friday, July 27, 2001 8:41 AM
To: IBM NetView Discussion
Subject: RE: [NV-L] Link Reliability
Pardon me, but It sounds as if NetView is doing exactly what you told it
to
do. You are the one who decided how to do this, were you not? It was
your
decision to set the thresholds where they are and your decision to send
e-mail every time the threshold was exceeded. It sounds like you are
now
saying, "Well, perhaps I shouldn't have made the e-mail decisions
because
this thing is broken too often." If you don't like the result, then it
is
up to you to design a better way to handle it.
You could send the e-mail, not right from the trap, but from an Action
node
in ruleset which uses a Threshold to control how often the e-mail is
sent.
This is a common use for a ruleset. If you just use Event
Stream(block)
--> Trap Settings --> Threshold --> Action (e-mail script) then you
can
run this out of ESE.automation withoiut a problem.
Or you could adjust the threshold levels, raising the arm level and
lowering the disarm level so that it doesn't fire so often, so that your
e-mails are only sent when it has really recovered and then gone
critical
again. The data you collect via snmpCollect is unaffected and will
still
be stored regardless of where you sent the monitoring threshold. So
you
could stop sending e-mail altogether and just start saving the data for
analysis when someone is ready to look at it.
James Shanks
Team Leader, Level 3 Support
Tivoli NetView for UNIX and NT
z_esm_karekars <z_esm_karekars@bharatpetroleum.com>@tkg.com on
07/27/2001
01:57:56 AM
Please respond to IBM NetView Discussion <nv-l@tkg.com>
Sent by: owner-nv-l@tkg.com
To: "'IBM NetView Discussion'" <nv-l@tkg.com>
cc:
Subject: RE: [NV-L] Link Reliability
Hi,
I need to set this reliability threshold as there is a desperate
requirement to monitor the reliability of the link. Can U please reply
for
this ASAP.
Regards,
Santosh
----------
From: z_esm_karekars
Reply To: IBM NetView Discussion
Sent: Tuesday, June 26, 2001 12:06 PM
To: 'nv-l@tkg.com'
Subject: [NV-L] Link Reliability
Hi,
I have NV6.0.1 on AIX 4.3.3
I had enabled data collection with threshold check exceeding 85 %
with
Rearm of 50% for ifReliability, configured a trap to generate Mail in
case of threshold reached.
It is observed that very large No. of mails are generated for this
collection.
How can I restrict the same or use the ruleset to put threshold on
the #
of mails.
Regards,
Santosh
_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l
_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l
|