[mrtg] Re: Please help

Muneeza muneezau at cyber.net.pk
Fri Feb 10 11:24:50 MET 2006


Here is data from my cfg file
 

WorkDir: /products/concord/web/output/mrtg/cat2950

Options[_]: bits,growright

Background[^]: #e0e0d0

 

 

Target[92.1.1.1]: 6:cybernet at 98.1.1.1:

SetEnv[92.1.1.1]: MRTG_INT_IP="" MRTG_INT_DESCR="FastEthernet0/8"

MaxBytes[92.1.1.1]: 12500000

Title[92.1.1.1]: Traffic Analysis for 8 -- Switch

PageTop[92.1.1.1]: <H1>Traffic Analysis for switch</H1>

 <TABLE>

   <TR><TD>System:</TD>     <TD>Switch in </TD></TR>

   <TR><TD>Maintainer:</TD> <TD></TD></TR>

   <TR><TD>Description:</TD><TD>FastEthernet0/8  </TD></TR>

   <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>

   <TR><TD>ifName:</TD>     <TD>Fa0/8</TD></TR>

   <TR><TD>Max Speed:</TD>  <TD>12.5 MBytes/s</TD></TR>

 </TABLE>

 

In pl file  this file is included

 

#!/usr/bin/perl

$interval=120;

while(1)

{ sleep ($interval - time() % $interval);

system '/products/mrtg-2/bin/mrtg  /products/mrtg-2/conf/cat2950.cfg';

}

If I compile by 

 

# ../bin/mrtg cat2950.cfg

#

It gives no error plus all 8 files generated in working directory. But if
you view the html page it shows "The statistics were last updated Thursday,
19 January 2006 at 16:06,

at which time 'Switch' had been up for 4 days, 5:05:31. " I had recreated
this file on 19 jan,2006 .Previously it .log was not present but after
recreation(cfg file) I have all the 8 files including .log file but the
graph is again showing stuck data.

 

Can u explain me this error as well?

 

Rateup WARNING: /products/mrtg-2/bin/rateup could not read the primary log
file for xxxxxxxx

Rateup ERROR: /products/mrtg-2/bin/rateup found xxxxxxxxx's log file was
corrupt

          or not in sorted order:

time: 1135074600.Rateup WARNING: /products/mrtg-2/bin/rateup The backup log
file for xxxxxxxxx was invalid as well

2006-02-10 15:18:06 -- WARNING: rateup died from Signal 0

 with Exit Value 1 when doing router xxxxxxxxx'

 Signal was 0, Returncode was 1

Rateup WARNING: /products/mrtg-2/bin/rateup could not read the primary log
file for xxxxxxxxx

Rateup ERROR: /products/mrtg-2/bin/rateup found xxxxxxxx log file was
corrupt

 

Is this help you in any way..? Or need something else ...

 

Thanks for your help

Muneeza

 

 

-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On
Behalf Of Zargos
Sent: Friday, February 10, 2006 1:20 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: Please help

 

[SNIP]

 

plese give configuration file

 

laurent

 

--

Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe

Archive     http://lists.ee.ethz.ch/mrtg

FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org

WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the mrtg mailing list