[mrtg] required help

Deepak deepak at worldphone.in
Wed May 21 09:38:22 CEST 2008


Hi,

 

Its really great, that you are giving time for my problem.

 

Let's forget issue one (we will discuss later)

 

Issue two

 

I got it what you are telling problem with \ / bars, but in mrtg.cfg  

There is no where C:/mrtg-2.16.2/bin\rateup

It comes up in the script when I execute a command perl mrtg mrtg.cfg

 

Now I supposed it is present in rateup.exe file? If yes how could I
edit/rectify it?

If no.how should I remove the error?

 

Regards,

Deepak Gupta

 

  _____  

From: Lyle Giese [mailto:lyle at lcrcomputer.net] 
Sent: Tuesday, May 20, 2008 8:10 PM
To: mrtg at lists.oetiker.ch
Cc: Deepak
Subject: Re: [mrtg] required help

 

Issue one

 
C:\mrtg-2.15.0\bin>perl mrtg mrtg.cfg
ERROR: Line 1 (<html xmlns:o="urn:schemas-microsoft-com:office:office") in
CFG 
file (mrtg.cfg)  does not make sense
 
In your orginal message, you showed this.  This looks lile you used Word or
some other Office component to edit and save your mrtg.cfg file.  Using any
office component to edit mrtg.cfg is very bad.  
It's a plain text file and has to stay that way without the extra stuff Word
or and Office product will add to the file when saving it.
 
If you want to hand edit( to add the line in RED below ) mrtg.cfg, use
notepad, wordpad(save as text file) or UltraEdit.
 
Issue Two
 

2008-05-20 19:34:13: WARNING: rateup (C:/mrtg-2.16.2/bin\rateup C:\www\mrtg\
202

.89.67.6_1 1211326453 -Z u 2850162939 2143204747 12500000 c #00cc00 #0000ff
#006 

 
There is a huge difference between \ and / when used in a path or fully
qualified file name.
 
Lyle Giese
 


Deepak wrote: 

 

Hi,

 

I supposed you did not get my problem

 

I am describing step by step

1. Installed active perl  - perfectly installed 5.8.8.822

2. Using mrtg-2.16.2 in c: directory

3. using command to generate cfg file is 

C:\mrtg-2.16.2\bin>perl cfgmaker -global "Workdir: C:\www\mrtg" -global
"RunAsDaemon: Yes" -output=mrtg.cfg community at x.x.x.x

 

Command executive perfectly

I got mrtg.cfg file in bin folder (Type of file is Microsoft Office Outlook
Configuration file-automatically taking the extension after executive above
command)

 

4. But when I am running command perl mrtg mrtg.cfg

 

C:\mrtg-2.16.2\bin>perl mrtg mrtg.cfg

Daemonizing MRTG ...

Do Not close this window. Or MRTG will die

2008-05-20 19:34:13: WARNING: rateup (C:/mrtg-2.16.2/bin\rateup C:\www\mrtg\
202

.89.67.6_1 1211326453 -Z u 2850162939 2143204747 12500000 c #00cc00 #0000ff
#006 

600 #ff00ff k 1000 i C:\www\mrtg\202.89.67.6_1-day.png -12500000 -12500000
400 1

00 1 1 0 300 0 4 1 "%Y-%m-%d %H:%M" 0 i C:\www\mrtg\202.89.67.6_1-week.png
-1250

0000 -12500000 400 100 1 1 0 1800 0 4 1 "%Y-%m-%d %H:%M" 0 i
C:\www\mrtg\202.89.

67.6_1-month.png -12500000 -12500000 400 100 1 1 0 7200 0 4 1 "%Y-%m-%d
%H:%M" 0

 i C:\www\mrtg\202.89.67.6_1-year.png -12500000 -12500000 400 100 1 1 0
86400 0

4 1 "%Y-%m-%d %H:%M" 0) did not work: Bad file descriptor

2008-05-20 19:34:13: WARNING: rateup (C:/mrtg-2.16.2/bin\rateup C:\www\mrtg\
202

.89.67.6_2 1211326453 -Z u 42217445 178188202 12500000 c #00cc00 #0000ff
#006600

 #ff00ff k 1000 i C:\www\mrtg\202.89.67.6_2-day.png -12500000 -12500000 400
100

1 1 0 300 0 4 1 "%Y-%m-%d %H:%M" 0 i C:\www\mrtg\202.89.67.6_2-week.png
-1250000

0 -12500000 400 100 1 1 0 1800 0 4 1 "%Y-%m-%d %H:%M" 0 i
C:\www\mrtg\202.89.67.

6_2-month.png -12500000 -12500000 400 100 1 1 0 7200 0 4 1 "%Y-%m-%d %H:%M"
0 i

C:\www\mrtg\202.89.67.6_2-year.png -12500000 -12500000 400 100 1 1 0 86400 0
4 1

 "%Y-%m-%d %H:%M" 0) did not work: Bad file descriptor

2008-05-20 19:34:13: WARNING: rateup (C:/mrtg-2.16.2/bin\rateup C:\www\mrtg\
202

.89.67.6_3 1211326453 -Z u 2785530125 2216265289 12500000 c #00cc00 #0000ff
#006

600 #ff00ff k 1000 i C:\www\mrtg\202.89.67.6_3-day.png -12500000 -12500000
400 1

00 1 1 0 300 0 4 1 "%Y-%m-%d %H:%M" 0 i C:\www\mrtg\202.89.67.6_3-week.png
-1250

0000 -12500000 400 100 1 1 0 1800 0 4 1 "%Y-%m-%d %H:%M" 0 i
C:\www\mrtg\202.89.

67.6_3-month.png -12500000 -12500000 400 100 1 1 0 7200 0 4 1 "%Y-%m-%d
%H:%M" 0

 i C:\www\mrtg\202.89.67.6_3-year.png -12500000 -12500000 400 100 1 1 0
86400 0

4 1 "%Y-%m-%d %H:%M" 0) did not work: Bad file descriptor

2008-05-20 19:34:13: WARNING: rateup (C:/mrtg-2.16.2/bin\rateup C:\www\mrtg\
202

.89.67.6_4 1211326453 -Z u 416875241 1198666720 12500000 c #00cc00 #0000ff
#0066

00 #ff00ff k 1000 i C:\www\mrtg\202.89.67.6_4-day.png -12500000 -12500000
400 10

0 1 1 0 300 0 4 1 "%Y-%m-%d %H:%M" 0 i C:\www\mrtg\202.89.67.6_4-week.png
-12500

000 -12500000 400 100 1 1 0 1800 0 4 1 "%Y-%m-%d %H:%M" 0 i
C:\www\mrtg\202.89.6

7.6_4-month.png -12500000 -12500000 400 100 1 1 0 7200 0 4 1 "%Y-%m-%d
%H:%M" 0

i C:\www\mrtg\202.89.67.6_4-year.png -12500000 -12500000 400 100 1 1 0 86400
0 4

 1 "%Y-%m-%d %H:%M" 0) did not work: Bad file descriptor

2008-05-20 19:34:13: WARNING: rateup (C:/mrtg-2.16.2/bin\rateup C:\www\mrtg\
202

.89.67.6_6 1211326453 -Z u 2866397079 3236225427 12500000 c #00cc00 #0000ff
#006

600 #ff00ff k 1000 i C:\www\mrtg\202.89.67.6_6-day.png -12500000 -12500000
400 1

00 1 1 0 300 0 4 1 "%Y-%m-%d %H:%M" 0 i C:\www\mrtg\202.89.67.6_6-week.png
-1250

0000 -12500000 400 100 1 1 0 1800 0 4 1 "%Y-%m-%d %H:%M" 0 i
C:\www\mrtg\202.89.

67.6_6-month.png -12500000 -12500000 400 100 1 1 0 7200 0 4 1 "%Y-%m-%d
%H:%M" 0

 i C:\www\mrtg\202.89.67.6_6-year.png -12500000 -12500000 400 100 1 1 0
86400 0

4 1 "%Y-%m-%d %H:%M" 0) did not work: Bad file descriptor

2008-05-20 19:34:13: WARNING: rateup (C:/mrtg-2.16.2/bin\rateup C:\www\mrtg\
202

.89.67.6_7 1211326453 -Z u 142852298 96328888 12500000 c #00cc00 #0000ff
#006600

 #ff00ff k 1000 i C:\www\mrtg\202.89.67.6_7-day.png -12500000 -12500000 400
100

1 1 0 300 0 4 1 "%Y-%m-%d %H:%M" 0 i C:\www\mrtg\202.89.67.6_7-week.png
-1250000

0 -12500000 400 100 1 1 0 1800 0 4 1 "%Y-%m-%d %H:%M" 0 i
C:\www\mrtg\202.89.67.

6_7-month.png -12500000 -12500000 400 100 1 1 0 7200 0 4 1 "%Y-%m-%d %H:%M"
0 i

C:\www\mrtg\202.89.67.6_7-year.png -12500000 -12500000 400 100 1 1 0 86400 0
4 1

 "%Y-%m-%d %H:%M" 0) did not work: Bad file descriptor

Terminating on signal SIGINT(2)

 

C:\mrtg-2.16.2\bin>

 

 

Hope you got my problem.

kindly help if you know the solution

 

Regards,

Deepak Gupta

  _____  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20080521/c1b531bb/attachment-0001.html 


More information about the mrtg mailing list