[mrtg] Re: NT and the MRTG_totalizer???

GP2Site gp2_site at dds.nl
Tue Sep 4 20:02:03 MEST 2001


Have you specified the $DOCUMENT_ROOT in gb.pl?

You have to call gb.pl in this way:

http://www.yoursite.com/gb.pl?host=a-host

In $DOCUMENT_ROOT there must be a file called a-host.data (which will be
created by traffic.pl)

When this is all correct, it should run. What you could do is remove the
following line (around line 402):

print "Content-type: image/png\n\n";

and change line 30 to:

$host = 'a-host';		(Or whatever a file.data is called)

Then at the Command-prompt try the following:

>Perl gb.pl > test.png

It then creates a test.png. When something goes wrong, you will see error
messages appear. Please provide these messages, so I can take a look at it.

Rolph

-----Original Message-----
From: Mike Singleton [mailto:MSingle at davita.com]
Sent: Tuesday, September 04, 2001 19:13
To: gp2_site at dds.nl
Subject: [mrtg] Re: NT and the MRTG_totalizer???


The perl script seems be working, the data looks fine, but when the script
is invoked from a web page, it seems to contunue to calculate for a very
long time.. over 15 minutes.


Cheers,
Mike x1259

>>> "GP2Site" <gp2_site at dds.nl> 08/31/01 10:56AM >>>

From:	GP2Site" <gp2_site at dds.nl>
Sent:	Friday, August 31, 2001 10:56 AM
To:	''mrtg mailing list' '" <mrtg at list.ee.ethz.ch>
Subject:	[mrtg] Re: NT and the MRTG_totalizer???
Priority:	Normal


A copy can be found at http://www.spanjereis2001.nl/data.zip

Hope you like it. Don't know if there are any bugs, haven't tested it much
yet.
Please give feedback.

Rolph

NB:

#Based on the following ADD-ON's By:
# - Marcel Leicher (marcel at silverpoint.nl)
# - Vincent Houwert (vincent at trueserver.nl)
#
#URL: http://gbgraph.menthenberg.nl/
#
#Special for hosting companies; MRTG-archive, Traffic usage graph, etc.



-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]On
Behalf Of Chad Markley
Sent: Friday, August 31, 2001 18:46
To: 'GP2Site '; ''mrtg mailing list' '
Subject: [mrtg] Re: NT and the MRTG_totalizer???



Where can I get a copy of your program? The graphic looks really great!

Thanks
Chad

-----Original Message-----
From: GP2Site
To: 'mrtg mailing list'
Sent: 8/31/01 1:23 AM
Subject: [mrtg] Re: NT and the MRTG_totalizer???


I have something like this, but it makes daily total graphs (in/out),
calculates averges, totals, and expected for the month.
I will try to put an example online this week so you can take a look at
it.
An example image can be found here: http://www.spanjereis2001.nl/gb.png

Rolph

-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]On
Behalf Of Dowling, Steve
Sent: Friday, August 31, 2001 9:29
To: 'mrtg mailing list'
Subject: [mrtg] Re: NT and the MRTG_totalizer???



Andre,

I loved it until that last caveat
"Runs lovely on linux, but kills proc on NT (mouse movement dead)."

Steve Dowling

-----Original Message-----
From: Andre Coetzee [mailto:andrec at emailco.co.za]
Sent: Friday, 31 August 2001 16:54
To: 'mrtg at list.ee.ethz.ch'
Subject: [mrtg] Re: NT and the MRTG_totalizer???



Oops, missed one thing ...

Add the following #-# lines to your eth.cfg file and replace router.ser2
with your router name ip etc.

Label heading for page
#-#Total[router.ser2]: Traffic Totals for ROUTER, 2 Mbit E1 to Internet
Calculated amount kilobytes(K)/MegaBytes(M)
#-#Total-Unit[router.ser2]: M
Additional IN/OUT ratio
#-#Total-Ratio[router.ser2]:yes

Runs lovely on linux, but kills proc on NT (mouse movement dead).

Andre

-----Original Message-----
From: Andre Coetzee [mailto:andrec at emailco.co.za]
Sent: 31 August 2001 08:49
To: 'mrtg at list.ee.ethz.ch'
Subject: [mrtg] Re: NT and the MRTG_totalizer???



Howdy,

This is actually a very awesome script.

Josef helped me out with getting the IN's and OUT's right and so it also
dates back months.

Anyway, what you need installed is the script and Active State Perl for
Win32,
I think version 6.2 or something higher is fine.

Then open a command prompt and type in 'ppm' and in the prompt type in

'install GD'
'install GDGraph'
'install GDGraph3d'
'install GDTextUtil'

Once installed fine, put the script in your mrtg bin directory and run
perl mrtg_total.pl eth.cfg

Then look in the path stated in your eth.cfg file for the compiled html
and
gif/png files.

normally eth.total.2001.html or something like that.

Thanks to Josef for such a good script.

Regards
Andre

-----Original Message-----
From: Chad Markley [mailto:cmarkley at thinkecs.com]
Sent: 31 August 2001 12:22
To: 'mrtg at list.ee.ethz.ch'
Subject: [mrtg] NT and the MRTG_totalizer???



I am trying to get the MRTG totalizer working on NT 4.0,
http://www.geocities.com/josef_wendel/. I am having a really hard time
getting the required perl programs installed. Does anyone have any
experience with this script? Or, does anyone know of a better program to
get
totals from your log files?

Thanks
Chad Markley


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



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



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

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



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

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



--
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 hd so it also
dates back months.

DaVita Inc.



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