[mrtg] Re: Disk Utilization For WinNT
Garth Williams
garth.williams at acrodex.com
Fri May 23 22:40:34 MEST 2003
SNMP data information never comes from the MIB. A MIB is simply a
static text file that allows programs to translate a data SOURCE name to
a number (OID). The OID is recognized by the SNMP service on the target
device. This is either directly, or with the aid of another
intermediary file (such as MIB.MIB on a MS system).
Therefore, the SNMP service on the TARGET device needs to be able to
decode the OID into something meaningful (such as disk % free). In your
case, it does this through an extension agent called SNMP4NT, which
relies upon the MS SNMP stack. That's why a sucessful and controlled
install of SNMP is critical (i.e. SNMP service installed then SP6A).
In many cases, the device contacting the target device does not need the
SNMP service installed, but the target system ALWAYS does.
Garth
-----Original Message-----
From: wolfe at daticon.com [mailto:wolfe at daticon.com]
Sent: Friday, May 23, 2003 1:42 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: Disk Utilization For WinNT
Ok.
I was albe to see the OID for the drive in Getif. One question. When you
run a querry with Getif, does it get the info from the server or from
the MIB file that I put in the Getif subdirectory? Reason I say this is
that the OID does not seem to exist on the server, as seen from the MRTG
error:
SNMP Error:
Received SNMP response with error code
error status: genErr
index 1 (OID: 1.3.6.1.4.1.311.1.1.3.1.1.5.1.4)
SNMPv1_Session (remote host: "xx.xx.xx.xx" [xx.xx.xx.xx].161)
community: "community"
request ID: 689389339
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 458 SNMPGET
Problem for .1.3.6.1.4.1.311.1.1.3.1.1.5.1.4
1.3.6.1.4.1.311.1.1.3.1.1.5.1.3 sysUptime sysName on
community at xx.xx.xx.xx at ./mrtg line 1620
WARNING: skipping because at least the query for
.1.3.6.1.4.1.311.1.1.3.1.1.5.1.4 on xx.xx.xx.xx did not succeed
ERROR: Target[ciscoworks-microsoft_winnt_hdd][_IN_] ' $$target[0]{$mode}
' did not eval into defined data
ERROR: Target[ciscoworks-microsoft_winnt_hdd][_OUT_] '
$$target[0]{$mode} ' did not eval into defined data
WARNING: Skipping Update of ciscoworks-microsoft_winnt_hdd, inlast is
not defined
WARNING: Skipping Update of ciscoworks-microsoft_winnt_hdd, outlast is
not defined
The OID if from the Getif program.
Thanks,
Austin Wolfe
-----Original Message-----
From: Brander, Eric [mailto:Eric.Brander at ACS-INC.com]
Sent: Friday, May 23, 2003 2:30 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: Disk Utilization For WinNT
~snip~
Good suggestions here, but I'd also like to add that when I tried using
SNMP4TC on an NT4 box, I had to re-install SNMP and immediately
re-install SP6A. FWIW, it worked for me once I completed those steps.
Eric Brander
ACS
Texas CHIP Account
Sr. Communications Engineer - Information Systems Department
512.336.3331 Eric dot Brander at acs-inc dot com
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list