I am not sure what snmpCollect will do with this, but it might work if you
just manually edit the snmpCol.conf file to do the collection. Why not try
it and see? What have you got to lose? If snmpCollect doesn't like it, he
will tell you.
But if all you get from snmpget is a zero, then that is all that
snmpCollect will get as well. That's an agent issue.
James Shanks
Level 3 Support
Tivoli NetView for UNIX and NT
netview@toddh.net (Todd H.)@tkg.com on 08/23/2001 12:29:35 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: [NV-L] can Netview threshold monitor a Gauge32 element?
Greetings!
The short question:
Is there any way for Netview 6.02 (AIX) to monitor thresholds on a
Gauge32 element?
The device does respond to a /usr/OV/bin/snmpget query of the
numeric OID of the element, but the value is always 0 (not sure if
this is a v2/v1 issue or yet another bug in the vendor's agent
code!).
If this is not possible, can someone suggest a tool or script that can
handle this?
If this is possible with Netview, here are the details:
................
For a Nokia device, certain MIB elements of interest are described in
SMIv2 (aka SNMPv2) format MIB files. In particular, from
NOKIA-IPSO-SYSTEM-MIB.txt I'd like to monitor:
ipsoProcessorUtilization OBJECT-TYPE
SYNTAX Gauge32
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The current percentage of CPU utilization. "
::= { ipsoProcessGroup 1 }
I can successfully load the MIB file using the SNMPv1/v2 Load MIB
function in Netview 6.02. Furthermore I can use the SNMPv1/v2 MIB
browser to find this MIB element, and even query it on the target
device. I can recreate this polling using /usr/OV/bin/snmpget on the
commandline as well.
However, the Data Collection and Thresholds tool seems to be cognizant
of only the SNMP (v1) MIB database and note the SNMPv1/v2
database--which obviously doesn't include MIB elements that I loaded
from the SMIv2 file. Furthermore, the MIB Data Collection/MIB Object
Selection dialog where you can add monitors doesn't appear to allow
you to input the OID by typing it. Grrrr.
So...it seems I need to do some workaround--but what's the easiest?
Gauge32 I've discovered is an snmpv2 type, but according to STallings'
book, it's simply a refinement of SMIv1's Gauge type? Get an SMIv1
file from the vendor? Convert (using what?) the SMIv2 file to SMIv1?
Create an Expression using mibExpr.conf specifying OIDs numerically,
and threshold on it? Use some other (??) tool?
TIA for any help for a threshold newbie!
Best Regards,
--
Todd H.
http://www.toddh.net/
_________________________________________________________________________
NV-L List information and Archives: http://www.tkg.com/nv-l
|