William, I agree it does work for the path where RRDTOOL itself is installed.
The issue is that the WorkDir cannot handle Driveletters where the rrd files will be stored, not in the PathAdd. WorkDir: /STORAGE/INETPUB/WWWROOT/MRTG/PRODUCTION/ It will work when using P:/ STORAGE/INETPUB/WWWROOT/MRTG/PRODUCTION/ but then I am not able to generate graphs via CGI file and returns an error related to the fact the drive letter is in the path. Kind regards, Jo -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of William Owen Sent: dinsdag 28 december 2004 15:46 To: [email protected] Subject: [rrd-users] Re: [RRD] - MRTG Problem with WorkDir 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:[EMAIL PROTECTED] Sent: Tuesday, December 28, 2004 2:45 AM To: [email protected] 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:[EMAIL PROTECTED] 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:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
