Bob Goodwin wrote:
John Summerfield wrote:
> Bob Goodwin wrote:
>
>
>
>>
http://oss.oetiker.ch/mrtg/
>>
>> -----------------------------------
>>
>> Can someone suggest what I need to put in the config file to view
>> everything happening on eth0? I have not yet put anything in config.
>
> Ah, yes. I've been meaning to install ClarkConnect to solve this very
> issue;-) Thanx for the reminder.
>
>
> Here's a fairly old one:
> [root@magpie root]# ls -l /etc/mrtg/mrtg.cfg
> -rw-r--r-- 1 root root 754 Feb 23 2002
> /etc/mrtg/mrtg.cfg
> [root@magpie root]# cat /etc/mrtg/mrtg.cfg
> ######################################################################
> # Multi Router Traffic Grapher -- Example Configuration File
> ######################################################################
> # This file is for use with mrtg-2.0
> #
> # Note:
> #
> # * Keywords must start at the begin of a line.
> #
> # * Lines which follow a keyword line which do start
> # with a blank are appended to the keyword line
> #
> # * Empty Lines are ignored
> #
> # * Lines starting with a # sign are comments.
>
> # Where should the logfiles, and webpages be created?
>
> # Minimal mrtg.cfg
> #--------------------
>
> WorkDir: /var/www/html/mrtg
> #Target[r1]: 2:public@myrouter.somplace.edu
> #MaxBytes[r1]: 1250000
> #Title[r1]: Traffic Analysis
> #PageTop[r1]: <H1>Stats for our Ethernet</H1>
>
> [root@magpie root]#
>
> Used to work, it's ages since I looked at the reports.
>
>
That's about what the config file says but the stickler is the address
"public(a)myrouter.somplace.edu"
Bob Goodwin
yeah, the system I quoted uses a genuine ADSL modem and pppoe. Probably,
we could get about the same report from it, but its default IP address
is used on a different, connected, LAN and I don't propose to fiddle
with it.
--
Cheers
John
-- spambait
1aaaaaaa(a)coco.merseine.nu Z1aaaaaaa(a)coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375
Please do not reply off-list