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

2004-12-29 Thread Jo Becaus
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: rrd-users@list.ee.ethz.ch
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#FF,PALEGREEN4#548B54,BLACK#00

-Original Message-----
From: Jo Becaus [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, December 28, 2004 2:45 AM
To: rrd-users@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:[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]: CPU Utilisation

##

 

 

Any suggestion to solve the issue?

 

Thanks in advance.

 

Kind Regards, Jo 


--
Unsubscribe mailto:[EMAIL PROTECTED]
Helpmailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:[EMAIL PROTECTED]
Helpmailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:[EMAIL PROTECTED]
Helpmailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi


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

2004-12-28 Thread Jo Becaus
 
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]: CPU Utilisation

##

 

 

Any suggestion to solve the issue?

 

Thanks in advance.

 

Kind Regards, Jo 


--
Unsubscribe mailto:[EMAIL PROTECTED]
Helpmailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi


[rrd-users] Re: Monthly graph week numbers missing

2004-12-27 Thread Jo Becaus
Tobias, 

Thanks for your information.

Only 1 slight issue, I am not using linux or unix for compiling the
strftime.c 

Currently I have installed it on a Windows 2003 server with latest mrtg
and lastest rrdtool.

Is it maybe related to the cgi file generating the images?


Kind Regards, Jo


-Original Message-
From: Tobias Oetiker [mailto:[EMAIL PROTECTED] 
Sent: vrijdag 17 december 2004 08:53
To: Jo Becaus
Cc: Dulac, Daniel (Dan); rrd-users@list.ee.ethz.ch
Subject: Re: [rrd-users] Re: Monthly graph week numbers missing

Hi Jo,

the root of the problem is that windows has a very limited
implementation of strftime ... in mrtg 2.11.0 I have therefore
supplied an alternate implementation of strftime which is able to
deal with week-numbers propperly ... if you recompile rrdtool and
link it with the strftime.c from the latest mrtg release all will be
well.

cheers
tobi

-- 
  ____   _
/_  __/_  / /  (_) Oetiker @ ISG.EE, ETL F24.2, ETH, CH-8092 Zurich
  / // _ \/ _ \/ /  System Manager, Time Lord, Coder, Designer, Coach
/_/ \.__/_.__/_/   http://people.ee.ethz.ch/oetiker +41(0)44-632-5286

-- Attached file removed by Ecartis and put at URL below --
-- Type: application/octet-stream
-- Desc: mrtg_rrd_sec1.cgi
-- Size: 28k (29003 bytes)
-- URL : http://www.ee.ethz.ch/~slist/p/mrtg_rrd_sec1.cgi


--
Unsubscribe mailto:[EMAIL PROTECTED]
Helpmailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi


[rrd-users] Re: RRD: Error Since re-installed RRD on Windows 2003 in different path?

2004-12-27 Thread Jo Becaus
All, 
 

Don't bother I just had a look into it myself, solved it :-)

 

Kind Regards, Jo

 

  _  

From: Jo Becaus 
Sent: maandag 27 december 2004 07:20
To: 'rrd-users@list.ee.ethz.ch'
Subject: RRD: Error Since re-installed RRD on Windows 2003 in different
path?

 

 

All, 

 

I have been testing several months now with RRD & MRTG.

Now I am creating the webpages via CGI script reading the cfg files from
the servers and generating online webpages including the graphs via RRD.

 

Previously I was running this on Windows 2000 server. Since this weekend
I have moved everything to a Windows 2003 server.

All is functioning, except generating the graphs via CGI script.

 

I have adapted all cfg files with correct paths towards lib from RRD,
MIBS, all rrd databases are being updated fine.

 

This is the error message I receive for each device:

 

"RRDs::graph failed, can't parse DEF
'in=P:/STORAGE/INETPUB/WWWROOT/MRTG/PRODUCTION//AR001S001/ar001s001.cpu.
rrd:ds0:AVERAGE' -2"

 

I have changed the Production path from the CFG files towards "WorkDir:
P:/STORAGE/INETPUB/WWWROOT/MRTG/PRODUCTION/" and "WorkDir:
P:/STORAGE/INETPUB/WWWROOT/MRTG/PRODUCTION"  but didn't make a
difference.

 

Also the RRDTOOL and MRTG are stored in same path "P:/STORAGE/..."

 

Suggestions?

 

Kind Regards, Jo


--
Unsubscribe mailto:[EMAIL PROTECTED]
Helpmailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi


[rrd-users] RRD: Error Since re-installed RRD on Windows 2003 in different path?

2004-12-27 Thread Jo Becaus
 
All, 

 

I have been testing several months now with RRD & MRTG.

Now I am creating the webpages via CGI script reading the cfg files from
the servers and generating online webpages including the graphs via RRD.

 

Previously I was running this on Windows 2000 server. Since this weekend
I have moved everything to a Windows 2003 server.

All is functioning, except generating the graphs via CGI script.

 

I have adapted all cfg files with correct paths towards lib from RRD,
MIBS, all rrd databases are being updated fine.

 

This is the error message I receive for each device:

 

"RRDs::graph failed, can't parse DEF
'in=P:/STORAGE/INETPUB/WWWROOT/MRTG/PRODUCTION//AR001S001/ar001s001.cpu.
rrd:ds0:AVERAGE' -2"

 

I have changed the Production path from the CFG files towards "WorkDir:
P:/STORAGE/INETPUB/WWWROOT/MRTG/PRODUCTION/" and "WorkDir:
P:/STORAGE/INETPUB/WWWROOT/MRTG/PRODUCTION"  but didn't make a
difference.

 

Also the RRDTOOL and MRTG are stored in same path "P:/STORAGE/..."

 

Suggestions?

 

Kind Regards, Jo


--
Unsubscribe mailto:[EMAIL PROTECTED]
Helpmailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi


[rrd-users] Re: Monthly graph week numbers missing

2004-12-17 Thread Jo Becaus
Dulac, 

I have the same problem and re-installed different versions from MRTG
and RRDTool but none of the work.

Have no idea what the issue could be, I have experimented with
WeekFormat[] but didn't solve the issue.

Windows 2000 server running  MRTG & RRDTool latest versions.

Kind Regards, Jo

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dulac, Daniel
(Dan)
Sent: vrijdag 17 december 2004 03:55
To: '[EMAIL PROTECTED]'; 'rrd-users@list.ee.ethz.ch'
Subject: [rrd-users] Re: Monthly graph week numbers missing

The width of my image is 500 wide by 300 tall.  When I create the exact
same
graph on Solaris (using the exact same script), the week numbers are
printed
correctly.  

I've been able to reproduce this issue on multiple windows OS's (XP-pro,
W2K-pro, NT4.0, and W2003-server).

Regards,
DanD.


-Original Message-
From: CP-Geek <[EMAIL PROTECTED]>
To: rrd-users@list.ee.ethz.ch 
Sent: Thu Dec 16 21:50:05 2004
Subject: [rrd-users] Re: Monthly graph week numbers missing

This occured to me when I made the graphics too small. Are You using 
width-option?

CP-Geek

- Original Message - 
From: "Dulac, Daniel (Dan)" <[EMAIL PROTECTED]>
To: 
Sent: 16 December, 2004 19:03
Subject: [rrd-users] Monthly graph week numbers missing


> Hi All,
>
> I'm currently using RRDTool 1.0.48 on windows using the shared RRD
> perl-bindings (i.e. RRDs::graph).  When I generate a Monthly graph
(i.e.
> start=now-1month, end=now), the graph is generated with missing week
> numbers.  For instance, on the x-axis, all you see is:
>
> Week Week Week Week
>
> Instead of:
>
> Week49 Week50 Week51 Week52
>
> Performing the exact same task on a Solaris OS, the monthly week
numbers
> populate correctly.
>
> Can anyone verify if this is a bug with Windows?
>
> Thanks in advance for any help.
>
> Regards,
> DanD.
>
>
>
> --
> Unsubscribe
mailto:[EMAIL PROTECTED]
> Helpmailto:[EMAIL PROTECTED]
> Archive http://www.ee.ethz.ch/~slist/rrd-users
> WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi
> 



--
Unsubscribe mailto:[EMAIL PROTECTED]
Helpmailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi


--
Unsubscribe mailto:[EMAIL PROTECTED]
Helpmailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi

--
Unsubscribe mailto:[EMAIL PROTECTED]
Helpmailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi


[rrd-users] RRDTool Perl CGI error

2004-11-17 Thread Jo Becaus
 
Hi, All

 

I am using RRDTOOL with CGI script for generating HTML files from
devices.

 

The CGI script checks folder and reads the foldernames and the rrd files
within the folders per device and generates the Layout including graphs.

 

I was a customized version from all14.cgi I think.

 

Everything works fine except following code gives an issue (Perl):

 

Defining the Config_Files

 

"

use vars qw(@config_files @all_config_files %targets $config_time

%directories $version);

 

# EDIT THIS to reflect all your MRTG config files

BEGIN { @config_files = qw(


C:\Servername.cfg


...


); }


"


Currently I have about 48 Server devices for snmp polling.


All runs fine until I add more servers then total of 48?


 


Error message: Cannot open config file: No such file or directory


 


Is it possible to modify it that I can add more then 50 device, even
unlimited.


 


Could it be that the declaration from @Config_Files is to small on size?
(Maybe set as variant...?)


 


Thanks, Jo


 


 


--
Unsubscribe mailto:[EMAIL PROTECTED]
Helpmailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi


[rrd-users] rrds::weeknumbers not visible?

2004-10-20 Thread Jo Becaus
Hi, 
 
Currently I have MRTG running on a Windows 2000 IIS5.0 server.
 
Everything is working except the week numbers don't appear anymore?
 
Version:
 
Server: Windows 2000 Server
 
MRTG - 2.10.15
Active Perl - 5.8.3.809
RRDTool - 1.0.48 perl58
 
Thanks in advance.
 
See lower attachment. (No week numbers?)
 
 
 



--
Unsubscribe mailto:[EMAIL PROTECTED]
Helpmailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdminhttp://www.ee.ethz.ch/~slist/lsg2.cgi