In addition to Paul's observation about datatypes, maybe I can
clarify the name business. Data collection is done on interfaces
by specifying the node plus the interface index. The talking is done
to the node. Further, it won't let you collect the same mib variable
(or expression) from the same node in two different entries. You
can get around that by duplicating the expression for utilization and
giving it a different name (*_gig and *_atm, for example).
So a way to employ smartsets here is if there is a pattern in the index
numbers.
Say your Gigabit Ethernet interfaces are all in indices 1 and 2, and your
ATM
interfaces are on indices 3 and 4. And you have a smartset containing all
of the
nodes that follow this pattern. In snmpCollect, you would specify:
- The mib expression for utilization of gigabit
- The smartset containing nodes of a similar pattern
- The interfaces in the list, 1,2
- The threshold for gigabit.
Then do the same for the other expression:
- The mib expression for utilization of atm
- The same smartset containing nodes of a similar pattern
- The interfaces in the list, 3,4
- The threshold for atm.
Smartsets will only help you here if you have a group of devices
which have their interface index numbers assigned similarly.
And be clear that the Smartset must contain nodes, not interfaces.
For a small number of devices, it is probably easier to do this by
node. In fact, after adding one of each type, I would edit the file
(/usr/OV/conf/snmpCol.conf) and build it myself. After a stop
start of snmpCollect, check for errors in /usr/OV/log/snmpCol.trace.
Cordially,
Leslie A. Clark
IBM Global Services - Systems Mgmt & Networking
Detroit
"Paul Maine
Jr." To: "'IBM NetView Discussion'"
<paulm@msicc.c <nv-l@tkg.com>
om> cc:
Sent by: Subject: RE: [NV-L] mib collection
with
owner-nv-l@tkg smartsets
.com
10/24/01 02:35
PM
Please respond
to IBM NetView
Discussion
How are you measuring bandwidth utilization for Gigabit devices with
Netview
since it does not have 64 bit counters? A gigabit interface counter can
wrap
every 34 seconds at max rate. Netview can handle one counter wrap fine but
beyond that - the data is garbage.
-----Original Message-----
From: Allie M Tate [mailto:allie@lsu.edu]
Sent: Wednesday, October 24, 2001 1:32 PM
To: nv-l@tkg.com
Subject: [NV-L] mib collection with smartsets
I have created mib collections for interface utilization. The interested
parties want thresholds set for 55% for gig interfaces and 80% for atm. I
thought that I could make my life easier by making smartsets with the
corresponding interface speeds and then collect on those smartsets. The
problem that I'm faced with is that when I add the smartset to the mib
collection it does not collect anything. After a little investigation I
noticed that it is ignoring those interfaces because it is trying to use
the selection name (which is invalid because it is in the format of
"c4500m.net.lsu.edu:ATM0.12-aa15" instead of just c4500m.net.lsu.edu)
instead of the ip address.
Now, I could add each device by IP individually, but that would require
lots of administration. Am I doing something wrong? What suggestions do
you have?
Thanks.
Allie
_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l
_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l
|