[mrtg] Re: Disk Utilization For WinNT

Alegria, Luis lalegria at ics-canada.net
Fri May 23 22:37:19 MEST 2003


Here is a config from one of my servers.
 

 

# Created by 

# cfgmaker 

 

### Global Config Options

 

#  for UNIX

# WorkDir: 

#  or for NT

# WorkDir: 

### Global Defaults

 

#  to get bits instead of bytes and graphs growing to the right

# Options[_]:

######################################################################

# System: TORICSBDC

# Description: Hardware: x86 Family 5 Model 2 Stepping 5 AT/AT COMPATIBLE  -
Software: Windows NT Version 4.0  (Build Number: 1381 Uniprocessor Free )

# Contact: # Location:
######################################################################

 

Workdir: C:\Inetpub\wwwroot\rrds

 

LogFormat: rrdtool

PathAdd: C:\rrdtool\src\tool_release

LibAdd: C:\rrdtool\perl-shared

Interval: 1

 

### Interface 1 >> Descr: 'MS TCP Loopback interface' | Name: '' | Ip:
'127.0.0.1' | Eth: '' ###

### The following interface is commented out because:

### * it is a Software Loopback interface

# 

# Target[toricsbdc_1]: 1: public at server:

# SetEnv[toricsbdc_1]: MRTG_INT_IP="127.0.0.1" MRTG_INT_DESCR="MS TCP
Loopback interface"

# MaxBytes[toricsbdc_1]: 1250000

# Title[toricsbdc_1]: Traffic Analysis for 1 -- TORICSBDC

# PageTop[toricsbdc_1]: <H1>Traffic Analysis for 1 -- TORICSBDC</H1>

#  <TABLE>

#    <TR><TD>System:</TD>     <TD>TORICSBDC in ICS Judson</TD></TR>

#    <TR><TD>Maintainer:</TD> <TD>Rod Downs</TD></TR>

#    <TR><TD>Description:</TD><TD>MS TCP Loopback interface  </TD></TR>

#    <TR><TD>ifType:</TD>     <TD>softwareLoopback (24)</TD></TR>

#    <TR><TD>ifName:</TD>     <TD></TD></TR>

#    <TR><TD>Max Speed:</TD>  <TD>1250.0 kBytes/s</TD></TR>

#    <TR><TD>Ip:</TD>         <TD>127.0.0.1 (islicsmon)</TD></TR>

#  </TABLE>

 

 

### Interface 2 >> Descr: 'ELNK3 Ethernet Adapter.' | Name: '' | Ip:
'x.x.x.x' | Eth: '00-a0-24-4e-06-7b' ###

 

Target[toricsbdc_2]: 2:public at server:

SetEnv[toricsbdc_2]: MRTG_INT_IP="x.x.x.x" MRTG_INT_DESCR="ELNK3 Ethernet
Adapter."

MaxBytes[toricsbdc_2]: 1250000

Title[toricsbdc_2]: Traffic Analysis for 2 -- TORICSBDC

#PageTop[toricsbdc_2]: <H1>Traffic Analysis for 2 -- TORICSBDC</H1>

# <TABLE>

#   <TR><TD>System:</TD>     <TD> </TD></TR>

#   <TR><TD>Maintainer:</TD> <TD> </TD></TR>

#   <TR><TD>Description:</TD><TD>ELNK3 Ethernet Adapter.  </TD></TR>

#   <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>

#   <TR><TD>ifName:</TD>     <TD></TD></TR>

#   <TR><TD>Max Speed:</TD>  <TD>1250.0 kBytes/s</TD></TR>

#   <TR><TD>Ip:</TD>         <TD>x.x.x.x (TORICSBDC)</TD></TR>

# </TABLE>

 

 

##########################################

# NT Processor Utilization

###########################################

 

Target[toricsbdc_CPU]:.1.3.6.1.4.1.311.1.1.3.1.1.2.1.4.0&.1.3.6.1.4.1.311.1.
1.3.1.1.2.1.5.0:public at server

SetEnv[toricsbdc_CPU]: MRTG_INT_IP="x.x.x.x" MRTG_INT_DESCR="Average CPU
Utilization"

MaxBytes[toricsbdc_CPU]: 523444000

Title[toricsbdc_CPU]: Average CPU Utilization (%) on toricsbdc

Options[toricsbdc_CPU]: gauge, nopercent, absolute

ShortLegend[toricsbdc_CPU]: %

YLegend[toricsbdc_CPU]: % Utilization

WithPeak[toricsbdc_CPU]: ymw

XSize[toricsbdc_CPU]: 100

Legend1[toricsbdc_CPU]: Privileged (NT system) CPU use in percent

Legend2[toricsbdc_CPU]: User (application) CPU use in percent

#Legend3[toricsbdc_CPU]: 

#Legend4[toricsbdc_CPU]: 

LegendI[toricsbdc_CPU]: PrivCPU: 

LegendO[toricsbdc_CPU]: UserCPU: 

Background[toricsbdc_CPU]: #5f9ea0

 

##########################################

#Memory bytes available

##########################################

 

Target[toricsbdc_mem]:
.1.3.6.1.4.1.311.1.1.3.1.1.1.2.0&.1.3.6.1.4.1.311.1.1.3.1.1.1.3.0:public at ser
ver

SetEnv[toricsbdc_mem]: MRTG_INT_IP="x.x.x.x" MRTG_INT_DESCR="Memory Bytes
Available"

MaxBytes[toricsbdc_mem]: 61000000

AbsMax[toricsbdc_mem]: 128000000

Title[toricsbdc_mem]: Memory Bytes Available

Options[toricsbdc_mem]: gauge, absolute

Unscaled[toricsbdc_mem]: dwmy

#Supress[toricsbdc_mem]:dwmy

XSize[toricsbdc_mem]: 380

YSize[toricsbdc_mem]: 100

YLegend[toricsbdc_mem]: Bytes (MB)

ShortLegend[toricsbdc_mem]: Bytes

Legend1[toricsbdc_mem]: Avai. in MBytes

Legend2[toricsbdc_mem]: Comm in MBytes

#Legend3[toricsbdc_mem]:

#Legend4[toricsbdc_mem]:

LegendI[toricsbdc_mem]: Available:

LegendO[toricsbdc_mem]: Committed:

Background[toricsbdc_mem]: #5f9ea0

 

 

 

Target[toricsbdc_IP]: .1.3.6.1.2.1.4.3.0&.1.3.6.1.2.1.4.10.0:public at server

SetEnv[toricsbdc_IP]: MRTG_INT_IP="x.x.x.x" MRTG_INT_DESCR="IP Traffic"

MaxBytes[toricsbdc_IP]: 1250000

Title[toricsbdc_IP]: IP Traffic

YLegend[toricsbdc_IP]: IP Traffic (bits)

Legend1[toricsbdc_IP]: In

Legend2[toricsbdc_IP]:Out

LegendI[toricsbdc_IP]: TotIn

LegendO[toricsbdc_IP]: TotOut

Background[toricsbdc_IP]: #5f9ea0

 

Target[toricsbdc_ICMP]: .1.3.6.1.2.1.5.1.0&.1.3.6.1.2.1.5.14.0:public at server

SetEnv[toricsbdc_ICMP]: MRTG_INT_IP="x.x.x.x" MRTG_INT_DESCR="ICMP Traffic"

MaxBytes[toricsbdc_ICMP]: 1250000

Title[toricsbdc_ICMP]: ICMP Traffic

YLegend[toricsbdc_ICMP]: ICMP Traffic (bits)

Legend1[toricsbdc_ICMP]: In

Legend2[toricsbdc_ICMP]:Out

LegendI[toricsbdc_ICMP]: TotIn

LegendO[toricsbdc_ICMP]: TotOut

Background[toricsbdc_ICMP]: #5f9ea0

 

Target[toricsbdc_ICMPecho]:
.1.3.6.1.2.1.5.8.0&.1.3.6.1.2.1.5.22.0:public at server

SetEnv[toricsbdc_ICMPecho]: MRTG_INT_IP="x.x.x.x" MRTG_INT_DESCR="ICMP ECHO
REQ'S"

MaxBytes[toricsbdc_ICMPecho]: 1250000

Title[toricsbdc_ICMPecho]: ICMP Echo Requests

YLegend[toricsbdc_ICMPecho]: ICMP echos Rec'd & Sent  (bits)

Legend1[toricsbdc_ICMPecho]: In

Legend2[toricsbdc_ICMPecho]:Out

LegendI[toricsbdc_ICMPecho]: TotIn

LegendO[toricsbdc_ICMPecho]: TotOut

Background[toricsbdc_ICMPecho]: #5f9ea0

 

Target[toricsbdc_TCP]: .1.3.6.1.2.1.6.10.0&.1.3.6.1.2.1.6.11.0:public at server

SetEnv[toricsbdc_TCP]: MRTG_INT_IP="x.x.x.x" MRTG_INT_DESCR="TCP Traffic"

MaxBytes[toricsbdc_TCP]: 1250000

Title[toricsbdc_TCP]: TCP Traffic

YLegend[toricsbdc_TCP]: TCP Traffic (bits)

Legend1[toricsbdc_TCP]: In

Legend2[toricsbdc_TCP]:Out

LegendI[toricsbdc_TCP]: TotIn

LegendO[toricsbdc_TCP]: TotOut

Background[toricsbdc_TCP]: #5f9ea0

 

Target[toricsbdc_UDP]: .1.3.6.1.2.1.7.1.0&.1.3.6.1.2.1.7.4.0:public at server

SetEnv[toricsbdc_UDP]: MRTG_INT_IP="x.x.x.x" MRTG_INT_DESCR="UDP Traffic"

MaxBytes[toricsbdc_UDP]: 1250000

Title[toricsbdc_UDP]: UDP Traffic

YLegend[toricsbdc_UDP]: UDP Traffic (bits)

Legend1[toricsbdc_UDP]: In

Legend2[toricsbdc_UDP]:Out

LegendI[toricsbdc_UDP]: TotIn

LegendO[toricsbdc_UDP]: TotOut

Background[toricsbdc_UDP]: #5f9ea0

 

 

 

PageTop[^]: <div align="center"><center>

 

 <table border="1" width="98%" height="87">

  <tr>

    <td width="14%" height="52"><p align="center"><font
face="Arial"><small><img src="ics.gif" alt="ICS" align="absmiddle"
width="120" height="60"></small></font></td>

    <td width="76%" height="52"><p align="center"><strong><font
face="Arial"><big>Traffic and System Analisys for
SERVER</big></font></strong></td>

    <td width="14%" height="52"><strong><big><p
align="center"></big></strong><font

    face="Arial"><small><img src="ics.gif" alt="ICS" align="absmiddle"
width="120"

    height="60"></small></font><strong><big></big></strong></td>

  </tr>

    

  <tr>

    <td width="100%" colspan="3" height="23"><p align="center"><font
face="Arial"><big><big>For more

    information on MRTG and this Monitor Program, call ICS  HelpDesk At
Islington   xxxx</font></td>

  </tr>

 

  </table>

 </center></div>

 <P></P>

 

 

 

-----Original Message-----
From: wolfe at daticon.com [mailto:wolfe at daticon.com] 
Sent: Friday, May 23, 2003 3: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