Your message dated Thu, 5 Jun 2008 08:58:01 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Re: mrtg: config file change is ugly
has caused the Debian Bug report #67843,
regarding mrtg: config file change is ugly
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
67843: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=67843
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: mrtg
Version: 2.8.12-1
Severity: normal

I just upgraded to this version of mrtg, and now it says:

  [EMAIL PROTECTED]:/home/joey>mrtg /etc/mrtg.cfg

  ERROR: Option[load]: "growrightabsolute" is unknown


  ABORT: Please fix the error(s) in your config file

It looks like the problem is that I have multiple Options lines in my config
file, and they get joined together. This used to work. 

I managed to fix it by changing where I had 

Options[dragon-load]: absolute, gauge
to
Options[dragon-load]: , absolute, gauge

But how ugly.

-- System Information
Debian Release: woody
Kernel Version: Linux kite 2.2.16 #1 Sun Jun 11 15:30:48 PDT 2000 i686 unknown

Versions of the packages mrtg depends on:
ii  freetype2      1.3.1-1        The FREE TrueType Font Engine, shared librar
ii  libc6          2.1.3-10       GNU C Library: Shared libraries and Timezone
ii  libgd1g        1.7.3-0.1      GD Graphics Library
ii  libpng2        1.0.5-1        PNG library - runtime
ii  libsnmp-sessio 0.75-1         Perl support for accessing SNMP-aware device
ii  zlib1g         1.1.3-7        compression library - runtime
        ^^^ (Provides virtual package libz1)
ii  perl-5.6       5.6.0-0.1      Larry Wall's Practical Extracting and Report
        ^^^ (Provides virtual package perl5)

--- Begin /etc/mrtg.cfg (modified conffile)
WorkDir: /var/www/mrtg
WriteExpires: Yes
Title[^]: Traffic Analysis for
Background[^]: #c6c6c6
Options[^]: growright
MaxBytes[ethernet]: 1250000
Title[ethernet]: kite (kite.kitenet.net): ethernet
PageTop[ethernet]: <H1>Traffic Analysis for ethernet
 </H1>
 <TABLE>
   <TR><TD>System:</TD><TD>kite in Kitenet</TD></TR>
   <TR><TD>Maintainer:</TD><TD>Joey Hess</TD></TR>
   <TR><TD>Interface:</TD><TD>eth0 (2)</TD></TR>
   <TR><TD>IP:</TD><TD>kite.kitenet.net (209.157.80.18)</TD></TR>
   <TR><TD>Max Speed:</TD>
       <TD>1250.0 kBytes/s (ethernetCsmacd)</TD></TR>
  </TABLE>
Target[load]: 1.3.6.1.4.1.2021.10.1.3.2&1.3.6.1.4.1.2021.10.1.3.3 * 100
MaxBytes[load]: 100000
Options[load]: absolute, gauge
YLegend[load]: Kite Load
LegendO[load]:
LegendI[load]:
Title[load]: kite load average
Pagetop[load]: <h1>Kite Load Average</h1>
 </H1>
 <TABLE>
  <TR><TD>System:</TD><TD>kite in Kitenet</TD></TR>
  <TR><TD>Maintainer:</TD><TD>Joey Hess</TD></TR>
  <TR><TD>Graphing:</TD><TD>cpu load</TD></TR>
 </TABLE>
Target[dragon-load]: 1.3.6.1.4.1.2021.10.1.3.2&1.3.6.1.4.1.2021.10.1.3.3 * 100
MaxBytes[dragon-load]: 100000
Options[dragon-load]: absolute, gauge
YLegend[dragon-load]: Dragon Load
LegendO[dragon-load]:
LegendI[dragon-load]:
Title[dragon-load]: dragon load average
Pagetop[dragon-load]: <h1>Dragon Load Average</h1>
 </H1>
 <TABLE>
  <TR><TD>System:</TD><TD>dragon in Kitenet</TD></TR>
  <TR><TD>Maintainer:</TD><TD>Joey Hess</TD></TR>
  <TR><TD>Graphing:</TD><TD>cpu load</TD></TR>
 </TABLE>
Target[box-load]: 1.3.6.1.4.1.2021.10.1.3.2&1.3.6.1.4.1.2021.10.1.3.3 * 100
MaxBytes[box-load]: 100000
Options[box-load]: absolute, gauge
YLegend[box-load]: Box Load
LegendO[box-load]:
LegendI[box-load]:
Title[box-load]: box load average
Pagetop[box-load]: <h1>Box Load Average</h1>
 </H1>
 <TABLE>
  <TR><TD>System:</TD><TD>box in Kitenet</TD></TR>
  <TR><TD>Maintainer:</TD><TD>Joey Hess</TD></TR>
  <TR><TD>Graphing:</TD><TD>cpu load</TD></TR>
 </TABLE>
         
Target[temperature]: `/usr/local/bin/mrtg-temperature`
MaxBytes[temperature]: 10000000
Title[temperature]: kite's internal temperature
Pagetop[temperature]: <h1>Kite's internel temperature</h1>
Options[temperature]: gauge
YLegend[temperature]: Degrees C
LegendO[temperature]:
LegendI[temperature]:
Target[fan]: `/usr/local/bin/mrtg-fan`
MaxBytes[fan]: 10000000
Title[fan]: kite's fan speed
Pagetop[fan]: <h1>Kite's fan speed</h1>
Options[fan]: , gauge
YLegend[fan]: RPM
LegendO[fan]:
LegendI[fan]:

--- End /etc/mrtg.cfg

--- Begin /etc/cron.d/mrtg (modified conffile)
0-55/5 *        * * *   root    mrtg /etc/mrtg.cfg 2>/dev/null; 
/usr/local/bin/mrtg-collect 

--- End /etc/cron.d/mrtg


--- End Message ---
--- Begin Message ---
Hello,
upstream provided information on how to solve this problem, hence
closing this bug report.

Thanks for the report!!

Sandro

-- 
Sandro Tosi (aka morph, Morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi


--- End Message ---

Reply via email to