[mrtg] graphs not getting generated

daniel.a.lauer at Cummins.com daniel.a.lauer at Cummins.com
Thu Sep 15 16:09:32 MEST 2005


Hi all,
I've inherited an MRTG setup that I then had to migrate off old hardware 
onto a newer Solaris 9 platform.  Along the way I updated MRTG to 2.12.2.  


I'm using mrtg and rateup.  After migrating all the config files and data 
files over and starting cron jobs to collect the data, Data has been 
collected but I'm having two maybe related problems.    The first problem 
is that "daily" graphs are being produced fine and put in the right spots 
but weekly, monthly and yearly graphs aren't being drawn!  The data seems 
to be there in my .log files and I don't see a "Supress" statement in any 
of my config files (config file snippet is below). 

I've tried rm'ing all the .png files and letting it run to see if it would 
generate the files but no luck... The myrouter.##-day.png, 
myrouter.##.html, myrouter.##.log and myrouter.##.old files all get 
generated but none of the weekly, monthly or yearly.png get made.


Second, I'm getting some errors when mrtg runs, looks like it's unhappy 
with MaxBytes but I don't know why:
---------------------------------------------------------------------------
Rateup ERROR: Can't cope with 100, sorry!

PROBLEM: rateup died from Signal 0
 with Exit Value 1 when doing router 'myrouter.cpu'
 code was 256, retcode was . If this happens all the time,
 you should probably investigate the cause. :-)

Rateup ERROR: Can't cope with 8, sorry!

PROBLEM: rateup died from Signal 0
 with Exit Value 1 when doing router 'myrouter.modems'
 code was 256, retcode was . If this happens all the time,
 you should probably investigate the cause. :-)

Rateup ERROR: Unknown option: -1250000, sorry!

PROBLEM: rateup died from Signal 0
 with Exit Value 1 when doing router 'myrouter.1'
 code was 256, retcode was . If this happens all the time,
 you should probably investigate the cause. :-)
-------------------------------------------------------------------------

Here are the relevant config sections:

=============================================================
# Add a WorkDir: /some/path line to this file

WorkDir: /work/mrtgwork


######################################################################
# Description: Cisco Internetwork Operating System Software IOS (blah blah 
blah)
#     Contact:  xxxxxxx
# System Name: myrouter
#    Location: xxxxxxxx
#.....................................................................

Target[myrouter.cpu]: 
1.3.6.1.4.1.9.2.1.58.0&1.3.6.1.4.1.9.2.1.58.0:public at myrouter
RouterUptime[myrouter.cpu]: public at myrouter
MaxBytes[myrouter.cpu]: 100
Options[myrouter.cpu]: growright, gauge
Title[myrouter.cpu]: myrouter CPU Utilization
PageTop[myrouter.cpu]: <H1>CPU Usage myrouter</H1>
Unscaled[myrouter.cpu]: ymwd
ShortLegend[myrouter.cpu]: %
XSize[myrouter.cpu]: 380
YSize[myrouter.cpu]: 100
YLegend[myrouter.cpu]: CPU Utilization
Legend1[myrouter.cpu]: CPU Utilization
Legend2[myrouter.cpu]: CPU Utilization
Legend3[myrouter.cpu]:
Legend4[myrouter.cpu]:
LegendI[myrouter.cpu]:
LegendO[myrouter.cpu]: &nbsp;Usage

#---------------------------------------------------------------

Target[myrouter.modems]: 
1.3.6.1.4.1.9.9.47.1.1.6.0&1.3.6.1.4.1.9.9.47.1.1.7
.0:public at myrouter
MaxBytes[myrouter.modems]: 8
Unscaled[myrouter.modems]: dwmy
Title[myrouter.modems]: Modem Usage myrouter
Options[myrouter.modems]: growright,gauge
WithPeak[myrouter.modems]: my
Legend1[myrouter.modems]:Modems in use
Legend2[myrouter.modems]:Modems available
Legend3[myrouter.modems]:Maximal 5 Minutes Modems in use
Legend4[myrouter.modems]:Maximal 5 Minutes Modems available
LegendI[myrouter.modems]:  used:
LegendO[myrouter.modems]:  avail:
Ylegend[myrouter.modems]: Modems
ShortLegend[myrouter.modems]: modems
PageTop[myrouter.modems]: <H1>Myrouter Modem Usage </H1>

#---------------------------------------------------------------


Target[myrouter.1]: 1:public at myrouter
MaxBytes[myrouter.1]: 1250000
Options[myrouter.1]: growright, bits
Title[myrouter.1]: myrouter: Ethernet0/0
PageTop[myrouter.1]: <H1>Traffic Analysis for Ethernet0/0
 <BR></H1>
 <TABLE>
   <TR><TD>System:</TD><TD>myrouter in Canada</TD></TR>
   <TR><TD>Maintainer:</TD><TD>xxxxxxxxx</TD></TR>
   <TR><TD>Interface:</TD><TD>Ethernet0/0 (1)</TD></TR>
   <TR><TD>Location:</TD><TD>myrouter</TD></TR>
   <TR><TD>Max Speed:</TD>
       <TD>1250.0 kBytes/s (ethernetCsmacd)</TD></TR>
  </TABLE>
=====================================================

thanks in advance for any advice!

Dan Lauer

Unix Team
Cummins Business Services

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