nv-l

RE: [NV-L] Thresholding on a mixed table of data?

2008-02-08 07:47:52
Subject: RE: [NV-L] Thresholding on a mixed table of data?
From: "Sean Lawrence" <Sean.Lawrence AT cantire DOT com>
To: "Tivoli NetView Discussions" <nv-l AT lists.ca.ibm DOT com>
Date: Fri, 8 Feb 2008 07:46:35 -0500
Yes to put it simply I need to have the equivalent of a warn, critical,
fatal threshold for the same collected piece of data on the same
machine.

We are running 7.1.5 on AIX 5.3, no DB2

We are using snmpCollect

As far as starting simple I do not have that option. My customer's first
requests are always the most complex thing I can be required to do in a
tool. This is Murphy's law I guess.

I had this fully developed using the ITM UA agent but the customer
didn't want to spend the money for a license. So it's off to Netview
just because it's paid for and can hopefully do it.

Sean

 
-----Original Message-----
From: nv-l-bounces AT lists.ca.ibm DOT com
[mailto:nv-l-bounces AT lists.ca.ibm DOT com] On Behalf Of James Shanks
Sent: February 7, 2008 5:16 PM
To: Tivoli NetView Discussions
Subject: RE: [NV-L] Thresholding on a mixed table of data?

Hello Sean,

Sorry, but you'll have to help me understand your environment before I
can
advise you.  My assumption was that you had been doing simple data
collection before and now wanted to do something unusual.  It's
customary
to walk before you can run.

More specifics please, from the top.
What platform (UNIX/Windows) and Version (7.1.4/ 7.1.5) and Fixpack
level
of NetView?.
Are you running with DB2?
Do ovstatus.  Are you using snmpCollect, or nvcollectord  and nvpollerd,
to
do the collection?

I was talking about good old snmpCollect, not the newer 7.1.5-only,
db2-dependent nvcollectord.  They have different GUIs  and different
requirements.

But the same strategy still might work in either case   It's true that
you
cannot define a simple MIB variable collection more than once, but
beside
simple variables, you can define MIB expressions, like Bandwidth
Utilization, which collect MIB variable data and massage it
mathematically.
I was explaining how to build a MIB expression for snmpCollect  which
would
allow you to do just what you said, set different thresholds on the same
MIB variable, for different instances.  It's not easy because that was
not
part of the original design.  Most vendors do not mix data types in the
same table.  They have one table identified by its own OID for
temperature,
another one for UPS status, and a third for something else, if you
follow
me.

If this is truly your first time doing data collection, then you should
probably start collecting some simple stuff you really don't care about
in
order to get the practice you'll need to do something out of the
ordinary.
Pick a couple of machines and start collecting Bandwidth Utilization.
Then
you can go examine the file which defines what Bandwidth Utilization
means.

HTH,


James Shanks
Level 3 Support  for Tivoli NetView for UNIX and Windows
Network Availability Management
Network Management - Development
Tivoli Software, IBM Corp


 

             "Sean Lawrence"

             <[email protected]

             ntire.com>
To 
             Sent by:                  "Tivoli NetView Discussions"

             [email protected]         <nv-l AT lists.ca.ibm DOT com>

             s.ca.ibm.com
cc 
 

 
Subject 
             02/07/2008 02:00          RE: [NV-L] Thresholding on a
mixed  
             PM                        table of data?

 

 

             Please respond to

              Tivoli NetView

                Discussions

             <nv-l AT lists.ca DOT ib

                  m.com>

 

 





Ok that went completely over my head. I am using the gui for this as
this is the first time I have used netview to collect and threshold a
mib.

I need different thresholds for a different instance of a mib variable
for the same IP.

The vendor is using a single set of mib variables to dynamically track
things. The mib contains two variables a description variable and a
value variable.

Netview is allowing me to use the Instances field to define which
instance I want to threshold against. The problem is I want to duplicate
this with different instance threshold parings.

I cannot add another dataIntRegister to the collection list as I get
this error:
"Cannot add duplicate object this object is already collected as
dataIntRegister"

If I try to add the same ip to the object collection summary I get the
message "A collection is already defined."


-----Original Message-----
From: nv-l-bounces AT lists.ca.ibm DOT com
[mailto:nv-l-bounces AT lists.ca.ibm DOT com] On Behalf Of James Shanks
Sent: February 7, 2008 1:28 PM
To: Tivoli NetView Discussions
Subject: Re: [NV-L] Thresholding on a mixed table of data?

I am not certain that I understand exactly what you want to do.  Are the
thresholds independent of one another?  Then you might be able to do it
using expressions.

For example, suppose you were already collecting ifInDiscards

MIB .1.3.6.1.2.1.2.2.1.13 ifInDiscards units COUNTER R
C jshanks1.raleigh.ibm.com 180 0.000000 0.000000 xA s 58720263 ALL -

And you wanted to have a different threshold for some other machines.
You
could go to mibExpr.conf and create and expression for that MIB variable
times 1,  for example

myifnDiscards1 \
"ifnDiscards * 1" \
        .1.3.6.1.2.1.2.2.1.13. 1 *


myifnDiscards2 \.
"ifnDiscards * 1" \
        .1.3.6.1.2.1.2.2.1.13. 1 *

Since these are expressions, which can use the same MIB variables as
other
expressions, and they have different  labels, snmpCollect regards them
as
unique collections, and you can add both to your snmpCol.conf, even
through
the xnmcollect GUI.

MIB myifnDiscards1 myifnDiscards1 units EXPRESSION R
C jshanks1.raleigh.ibm.com 3600 0.000000 0.000000 A d 58720263 ALL -
MIB myifnDiscards2 myifnDiscards2 units EXPRESSION R
C jhanks1.raleigh.ibm.com 3600 0.000000 0.000000 A d 58720263 ALL -


HTH

James Shanks
Level 3 Support  for Tivoli NetView for UNIX and Windows
Network Availability Management
Network Management - Development
Tivoli Software, IBM Corp

_______________________________________________
NV-L mailing list
NV-L AT lists.ca.ibm DOT com
Unsubscribe:NV-L-leave AT lists.ca.ibm DOT com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to
internal IBM'ers only)

_______________________________________________
NV-L mailing list
NV-L AT lists.ca.ibm DOT com
Unsubscribe:NV-L-leave AT lists.ca.ibm DOT com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to
internal IBM'ers only)


_______________________________________________
NV-L mailing list
NV-L AT lists.ca.ibm DOT com
Unsubscribe:NV-L-leave AT lists.ca.ibm DOT com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to
internal IBM'ers only)

_______________________________________________
NV-L mailing list
NV-L AT lists.ca.ibm DOT com
Unsubscribe:NV-L-leave AT lists.ca.ibm DOT com
http://lists.ca.ibm.com/mailman/listinfo/nv-l (Browser access limited to 
internal IBM'ers only)