[mrtg] FW: Dive Utilization On WinNT 4.0

wolfe at daticon.com wolfe at daticon.com
Fri Jun 6 18:50:04 MEST 2003



-----Original Message-----
From: Wolfe, Austin 
Sent: Friday, June 06, 2003 12:48 PM
To: 'Mats'
Subject: RE: [mrtg] Dive Utilization On WinNT 4.0


yes I have installed this.
I can list the OIDS.
The problem is: There is no OID for total drive size.
I need a way to set a static value for the total drive size and then have
MRTG graph this total drive size.

Thanks,
Austin Wolfe


-----Original Message-----
From: Mats [mailto:mats at 4gurus.org]
Sent: Friday, June 06, 2003 12:16 PM
To: wolfe at daticon.com
Subject: Re: [mrtg] Dive Utilization On WinNT 4.0


1. Have you installed http://www.wtcs.org/snmp4tpc/snmp4nt.htm ?

2. An OID is an identifier an MIB is the definition description.

3. To customize MRTG regarding, colours, Mega, Kilo, bits, Bytes, percentage
and so on read
http://people.ee.ethz.ch/~oetiker/webtools/mrtg/reference.html


Kind regards
Mats
----- Original Message ----- 
From: <wolfe at daticon.com>
To: <mats at 4gurus.org>
Sent: Friday, June 06, 2003 17:30
Subject: RE: [mrtg] Dive Utilization On WinNT 4.0


> Hello,
> His grphas so percent used. I am graphing usage in MB. I do not see an OID
> for total drive size that I can use to graph. I would like the graph to
look
> like this: Blue for current drive used in MB, Green shade for total drive
> size. Since I am unable to locate the MIB in WinNT 4.0 that lists total
> drive size (Win2k does have this BTW), I need a way to manually enter the
> total drive size and then hace MRTG graph it.
>
> Thanks,
> Austin Wolfe
>
>
> -----Original Message-----
> From: Mats [mailto:mats at 4gurus.org]
> Sent: Friday, June 06, 2003 10:56 AM
> To: wolfe at daticon.com
> Cc: mrtg at list.ee.ethz.ch
> Subject: Re: [mrtg] Dive Utilization On WinNT 4.0
>
>
> Sorry for typing faster than reading and understanding, because Garth had
> this info on his page but it seems to have disapeared or I can't find it
> anymore.
>
> 1. The elegend colours can be switched in the cfg file. See
> http://people.ee.ethz.ch/~oetiker/webtools/mrtg/reference.html for
detailed
> instr.
>
> But you already have that line in your cfg file :
> Colours[ciscoworks-microsoft_winnt_hdd]:
> GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff
> and you can just swap the GREEN and BLUE posistions here to achive the
same
> goal as swapping the OID order.
>
>
> 2. The OIDs for HD size, with garts snmp extension installed:
> .1.3.6.1.2.1.25.2.3.1.5.1 = A:
> .1.3.6.1.2.1.25.2.3.1.5.3 = C: the value multiplied with block size (in my
> case 4096) is the size in bytes.
> .1.3.6.1.2.1.25.2.3.1.5.4 = D:
> .1.3.6.1.2.1.25.2.3.1.5.5 = E:
> and so on.
>
> The block size is the values in OID .1.3.6.1.2.1.25.2.3.1.4.3 for C: and
so
> on.
>
> So to make this automatic just have an multiply function in the cfg file
> where you multiply "HD block number" by "HD block size", ex.:
>
> ----- < Snip from ref guide >----
> Multi Target Syntax
> You can also use several statements in a mathematical expression. This
could
> be used to aggregate both B channels in an ISDN connection or multiple T1s
> that are aggregated into a single channel for greater bandwidth. Note the
> whitespace arround the target definitions.
>
> Example:
>  Target[ezwf]: 2:public at wellfleetA + 1:public at wellfleetA * 4:public at ciscoF
> ----- < /Snip from ref guide >----
>
>
> Hope this is an better more detailed reply ?
>
>
> /Mats
>
> ----- Original Message ----- 
>
> > > Hello Group,
> > > I am trying to graph MB used and drive size in MB. Below is my
> > > config. the value MaxBytes is from the HD properties. The value:
> > > .1.3.6.1.4.1.311.1.1.3.1.1.5.1.4.0 is the used space in MB. The value:
> > > .1.3.6.1.4.1.311.1.1.3.1.1.5.1.3.0 is the percent free, which I don't
> want
> > > to graph. In the graph, the MB used is represented in the green
shading.
> > > This is what I want to do....
> > > 1. Have the drive utilization (used in MB) graphed as blue. This I can
> do by
> > > swapping the position of the MIBS in Target.
> > > 2. Have the green shading represent the total drive size. Since I an
> unable
> > > to locate that value in the MIBS, I would like to set up a fixed value
> > > (4192731136). I don't know how to get that to graph.
> > >
> > > The system I am monitoring is a WinNT box with the snmp4tcp installed.
I
> use
> > > a Linux box to gather the info via SNMP and create the graphs.
> > >
> > > Thanks,
> > > Austin Wolfe
> > >
> > > # This Report File Template measures HDD from a Windows NT Machine
> > > #
> > > WorkDir: /home/mrtg/disk/winnt
> > > RunAsDaemon: Yes
> > > Options[ciscoworks-microsoft_winnt_hdd]: gauge, unknaszero, growright,
> nobanner
> > > Target[ciscoworks-microsoft_winnt_hdd]:
>
.1.3.6.1.4.1.311.1.1.3.1.1.5.1.4.0&.1.3.6.1.4.1.311.1.1.3.1.1.5.1.3.0:commun
> ity at ip.ip.ip.ip
> > > MaxBytes[ciscoworks-microsoft_winnt_hdd]: 4192731136
> > > YLegend[ciscoworks-microsoft_winnt_hdd]: HDD Utilization
> > > ShortLegend[ciscoworks-microsoft_winnt_hdd]: Mbytes
> > > Legend1[ciscoworks-microsoft_winnt_hdd]: Average free hard disk space
> > > Legend2[ciscoworks-microsoft_winnt_hdd]: .
> > > Legend3[ciscoworks-microsoft_winnt_hdd]: 4192731136
> > > Legend4[ciscoworks-microsoft_winnt_hdd]: &nsbp
> > > LegendI[ciscoworks-microsoft_winnt_hdd]: Used:
> > > LegendO[ciscoworks-microsoft_winnt_hdd]: Percent Free:
> > > PageTop[ciscoworks-microsoft_winnt_hdd]: <H1>ciscoworks</H1>
> > >
> Colours[]: GREEN#00eb0c,BLUE#0000ff,GRAY#AAAAAA,VIOLET#ff00ff
> Colours[]: GREEN#00eb0c,BLUE#1000ff,DARK GREEN#006600,VIOLET#ff00ff
>
> > > #WithPeak[ciscoworks-microsoft_winnt_hdd]: ymw
> > > Title[ciscoworks-microsoft_winnt_hdd]: Ciscoworks
> > > kilo[ciscoworks-microsoft_winnt_hdd]: 1024
> > > Xsize[ciscoworks-microsoft_winnt_hdd]: 600
> > > Ysize[ciscoworks-microsoft_winnt_hdd]: 200
> > > Ytics[ciscoworks-microsoft_winnt_hdd]: 10
>

--
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