[mrtg] Re: Problem or is it not setup properly?

Matt Walkowiak mwalkowi at intxx.com
Mon Jun 11 18:08:32 MEST 2001


Are you getting any messages in your root e-mail account?  I suspect that
for some reason, your log files are getting over-written, rather than
appended to (I have NO clue why this would happen accidentally...)  Anyway,
when you use Rateup, it likes to have a .log and a .old file already there.
If they are not there, everything works for the most part, but it does spit
out an error for each .cfg file you have when it creates no log files.

matt

-----Original Message-----
From: Chris Wong [mailto:email at addm.com]
Sent: Monday, June 11, 2001 1:19 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: Problem or is it not setup properly?



At 01:00 AM 6/11/2001 -0500, you wrote:
>could you post the config file?  Maybe we can pick through it and see if
>anything looks suspicious


The site can be located at: http://monitor.hosting.ca/mrtg/

And you can see now that all have originally started at the same time, but
all graphs are different.

I think I'm running version 2.9.14.



# Created by
# /usr/bin/cfgmaker --global 'WorkDir: /usr/local/apache/share/htdocs/mrtg' 
--global 'Options[_]: bits,growright' --output /etc/mrtg.cfg 
public at localhost public at 192.168.0.30


### Global Config Options

#  for UNIX
# WorkDir: /home/http/mrtg

#  or for NT
# WorkDir: c:\mrtgdata

### Global Defaults

#  to get bits instead of bytes and graphs growing to the right
# Options[_]: growright, bits

WorkDir: /usr/local/apache/share/htdocs/mrtg
Options[_]: bits,growright

#
# echo.hosting.ca: eth0
#

Target[localhost_2]: 2:public at 127.0.0.1:
SetEnv[localhost_2]: MRTG_INT_IP="" MRTG_INT_DESCR="eth0"
MaxBytes[localhost_2]: 1250000
Title[localhost_2]: Traffic Analysis for echo.hosting.ca
PageTop[localhost_2]: <H1>Traffic Analysis for echo.hosting.ca</H1>
  <TABLE>
    <TR><TD>System:</TD>     <TD>echo.hosting.ca</TD></TR>
    <TR><TD>Description:</TD><TD>eth0  </TD></TR>
  </TABLE>

#
# echo.hosting.ca: eth1
#

Target[localhost_3]: 3:public at 127.0.0.1:
SetEnv[localhost_3]: MRTG_INT_IP="" MRTG_INT_DESCR="eth1"
MaxBytes[localhost_3]: 1250000
Title[localhost_3]: Traffic Analysis for echo.hosting.ca
PageTop[localhost_3]: <H1>Traffic Analysis for echo.hosting.ca</H1>
  <TABLE>
    <TR><TD>System:</TD>     <TD>echo.hosting.ca</TD></TR>
    <TR><TD>Description:</TD><TD>eth1  </TD></TR>
  </TABLE>

#
# mr2.hosting.ca: eth0
#

Target[192.168.0.30_2]: 2:public at 192.168.0.30:
SetEnv[192.168.0.30_2]: MRTG_INT_IP="" MRTG_INT_DESCR="eth0"
MaxBytes[192.168.0.30_2]: 1250000
Title[192.168.0.30_2]: Traffic Analysis for mr2.hosting.ca
PageTop[192.168.0.30_2]: <H1>Traffic Analysis for mr2.hosting.ca</H1>
  <TABLE>
    <TR><TD>System:</TD>     <TD>mr2.hosting.ca</TD></TR>
    <TR><TD>Description:</TD><TD>eth0  </TD></TR>
  </TABLE>

#
# mr2.hosting.ca: eth1
#

Target[192.168.0.30_3]: 3:public at 192.168.0.30:
SetEnv[192.168.0.30_3]: MRTG_INT_IP="" MRTG_INT_DESCR="eth1"
MaxBytes[192.168.0.30_3]: 1250000
Title[192.168.0.30_3]: Traffic Analysis for mr2.hosting.ca
PageTop[192.168.0.30_3]: <H1>Traffic Analysis for mr2.hosting.ca</H1>
  <TABLE>
    <TR><TD>System:</TD>     <TD>mr2.hosting.ca</TD></TR>
    <TR><TD>Description:</TD><TD>eth1  </TD></TR>
  </TABLE>

#
# trd.hosting.ca: eth0
#

Target[192.168.0.20_2]: 2:public at 192.168.0.20:
SetEnv[192.168.0.20_2]: MRTG_INT_IP="" MRTG_INT_DESCR="eth0"
MaxBytes[192.168.0.20_2]: 1250000
Title[192.168.0.20_2]: Traffic Analysis for trd.hosting.ca
PageTop[192.168.0.20_2]: <H1>Traffic Analysis for trd.hosting.ca</H1>
  <TABLE>
    <TR><TD>System:</TD>     <TD>mr2.hosting.ca</TD></TR>
    <TR><TD>Description:</TD><TD>eth0  </TD></TR>
  </TABLE>

#
# trd.hosting.ca: eth1
#

Target[192.168.0.20_3]: 3:public at 192.168.0.20:
SetEnv[192.168.0.20_3]: MRTG_INT_IP="" MRTG_INT_DESCR="eth1"
MaxBytes[192.168.0.20_3]: 1250000
Title[192.168.0.20_3]: Traffic Analysis for trd.hosting.ca
PageTop[192.168.0.20_3]: <H1>Traffic Analysis for trd.hosting.ca</H1>
  <TABLE>
    <TR><TD>System:</TD>     <TD>trd.hosting.ca</TD></TR>
    <TR><TD>Description:</TD><TD>eth1  </TD></TR>
  </TABLE>




>Chris Wong wrote:
> >
> > I'm still having some troubles with MRTG resetting it's display
> > (graphs/images).. it randomly resets itself, and clears.. so I do not
get
> > to see the history of the day.. (last 24 hours).... it's great when it
> > works for a few hours, but then, it just clears and starts graphing from
> > the right... and then clears.. and starts over again.
> >
> > Is this a misconfiguration on our side, or does anyone else know of this
> > problem?
> >
> > I would really appreciate it if someone could help. Email me, and I can
> > send you the link of the resetting images.
> >
> > --
> > 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
>
>--
>robert canary
>system services
>OhioCounty.Net
>rwcanary at ohiocounty.net
>(270)298-9331 Office
>(270)298-7449 Fax


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



More information about the mrtg mailing list