[rrd-users] Re: [RRD] - MRTG Problem with WorkDir

William Owen william.owen at profilesmail.com
Tue Dec 28 15:45:56 MET 2004


I disagree that RRDTool cannot handle your P:.  I'm running v1.0.48 with
this in my master.cfg file without issue (note the workdir).  Perhaps you
are running an older version that doesn't support this (aka what version of
rrdtool are you running)???

##### change dirs as needed versions etc etc ####

PathAdd: C:\MRTG\MRTG\bin
LibAdd: C:\MRTG\MRTG\lib\mrtg2

PathAdd: C:\MRTG\RRDTool\src\tool_release
# LibAdd: C:\MRTG\RRDTool\Perl-Shared

###### the rest of your cfg file here #####

LogFormat: rrdtool

WorkDir: C:\MRTG\Data\

Refresh: 300
Interval: 5

Colours[_]: PALEGREEN#9AFF9A,BLUE#0000FF,PALEGREEN4#548B54,BLACK#000000

-----Original Message-----
From: Jo Becaus [mailto:Jo.Becaus at damovo.com] 
Sent: Tuesday, December 28, 2004 2:45 AM
To: rrd-users at list.ee.ethz.ch
Subject: [rrd-users] [RRD] - MRTG Problem with WorkDir

 
Since I have changed paths I receive error message when running the cfg
file.

 

C:\>perl p:\storage\mrtg\bin\mrtg
p:\storage\inetpub\wwwroot\mrtg\configuration\

devices\belgium\be001s022.cfg

ERROR: CFG Error in "workdir", line 10: Working directory
/STORAGE/INETPUB/WWWRO

OT/MRTG/PRODUCTION/ does not exist

 

RRD is installed in P:\Storage\RRDTOOL

MRTG is installed in P:\Storage\MRTG

 

Off course I cannot use a P drive in the WorkDir path cause perl/MRTG
can't handle that.

 

Even it gives an error it is still updating CPU values in the graphs?

Only the memory value isn't being updated, but I can query the value via
snmpget.

 

This is a cfg file from the server.

 

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

#

# MRTG Config file for BE001S022

# Contains: SNMP-Informant MIB & IIS webfolder

#

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

 

### Global Defaults

WorkDir: /STORAGE/INETPUB/WWWROOT/MRTG/PRODUCTION/

LoadMIBs: /STORAGE/INETPUB/WWWROOT/MRTG/MIBS/WTCS.MIB,
/STORAGE/INETPUB/WWWROOT/MRTG/MIBS/INFORMANT-STD.MIB,
/STORAGE/INETPUB/WWWROOT/MRTG/MIBS/RFC1271-MIB,
/STORAGE/INETPUB/WWWROOT/MRTG/MIBS/RFC1213-MIB,
/STORAGE/INETPUB/WWWROOT/MRTG/MIBS/RFC1155-SMI

LogFormat: rrdtool

PathAdd: P:/STORAGE/RRDTOOL/PERL-SHARED/t

LibAdd: P:/STORAGE/RRDTOOL/PERL-SHARED

Interval: 5

XSize[_]: 380

YSize[_]: 100

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

 

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

#

# BE001S022 (Win2k) - CPU

#

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

Target[BE001S022.cpu]:
1.3.6.1.4.1.9600.1.1.5.1.5.1.48&0:Damovo-IT at BE001S022.d.grp

MaxBytes[BE001S022.cpu]: 100 

Directory[BE001S022.cpu]: BE001S022

Title[BE001S022.cpu]: CPU Utilisation

Options[BE001S022.cpu]: growright, gauge, nopercent, integer, nolegend,
nobanner, noinfo, noo

Unscaled[BE001S022.cpu]: dwmy

YLegend[BE001S022.cpu]: Utilisation (%)

ShortLegend[BE001S022.cpu]: %

LegendI[BE001S022.cpu]: CPU1

LegendO[BE001S022.cpu]: 

PageTop[BE001S022.cpu]: <b>CPU Utilisation</b>

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

 

 

Any suggestion to solve the issue?

 

Thanks in advance.

 

Kind Regards, Jo 


--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list