Re: Getting MRTG to work

Giuseppe Cico
 

On Fri, February 25, 2011 22:30, Ulrich G. Kliegis wrote:
Giuseppe,

when these line in my cfg file look like
this:

...
Target[windbuedel_131074]:
/192.168.238.238:public@windbuedel:
Target[windbuedel_DVB]:
/192.168.238.238:public@windbuedel:
.........................
When I comment-out the 131074 - line, like this:

# Target[windbuedel_131074]: /192.168.238.238:public@windbuedel:


line with "131074" has to be removed or marked as a
comment; OK


Target[windbuedel_DVB]: /192.168.238.238:public@windbuedel:
.........................
I get this:

C:\mrtg2171\bin>perl mrtg mrtg.cfg
C:/mrtg2171/bin\rateup: File exists
2011-02-25 22:01:03, Rateup
Error: Can't rename
e:\mrtg_data\html\windbuedel_dvb
-day.png.tmp to e:\mrtg_data\html\windbuedel_dvb-day.png
2011-02-25 22:01:02: ERROR: Skipping webupdates because rateup did not
.........................

Uhm.... I really have "Eumetcast1_65540" in my cfg
file, unchanged because of some links on my website and on David's
site.
Anyway I have also the internet link monitored with
...
Target[Eumetcast1_USB_Link]: /192.168.2.2:public@Eumetcast1:
...
and it's working correctly.

I have made a quick check with "Eumetcast1_DVB" instead of
"Eumetcast1_65540" and MRTG is working.

I have just a little time this morning because of some family issues,
so just some advise:
- is there any file named
"windbuedel_dvb..." (files name are all in lower case, also if
target name has uppercase) in folder?
- I remember past experiences
when MRTG got me crazy because of simple typos, so get the working version
(backup first...) and modify by changing /all/ "131074" to
"DVB" 

As a reference this is my working configuration (maybe wrapped...) :

#---------------------------------------------------------------
### Interface 65540 >> Descr: 'TechniSat-DVB-PC-TV-Star-PCI' |
Name: '' | Ip: '192.168.238.238' | Eth: '00-d0-d7-05-13-f6' ###

Target[Eumetcast1_65540]: /192.168.238.238:public@Eumetcast1:
SetEnv[Eumetcast1_65540]: MRTG_INT_IP="192.168.238.238"
MRTG_INT_DESCR="TechniSat-DVB-PC-TV-Star-PCI"
Timezone[Eumetcast1_65540]: GMT
MaxBytes[Eumetcast1_65540]:
7500000
YTics[Eumetcast1_65540]: 3
Unscaled[Eumetcast1_65540]:
dwmy
WithPeak[Eumetcast1_65540]: ymw
Title[Eumetcast1_65540]:
SkyStar card on Eumetcast1 ( MSG+RSS+MODIS+AVHRR+METOP )
Options[Eumetcast1_65540]: growright, bits, noo, unknaszero
YLegend[Eumetcast1_65540]: Bits per Second
ShortLegend[Eumetcast1_65540]: bps
LegendI[Eumetcast1_65540]:
bps: 
LegendO[Eumetcast1_65540]:
Legend1[Eumetcast1_65540]: Bits per second
Legend2[Eumetcast1_65540]:
Legend3[Eumetcast1_65540]: Maximal 5
Minute Bits per second
Legend4[Eumetcast1_65540]:
PageTop[Eumetcast1_65540]: <H1>SkyStar THROUGHPUT - Eumetcast1 (
MSG+RSS+MODIS+AVHRR+METOP )</H1>
  <div
id="sysdetails">
   <table>
    <tr>
     <td>Maintainer: Giuseppe Cico -
Turin (ITA)</td>
     <td></td>
    </tr>
   </table>
  </div>
#---------------------------------------------------------------

and it also works when modified ( all "65540" to
"DVB" ) as

#---------------------------------------------------------------
### Interface DVB >> Descr: 'TechniSat-DVB-PC-TV-Star-PCI' | Name:
'' | Ip: '192.168.238.238' | Eth: '00-d0-d7-05-13-f6' ###

Target[Eumetcast1_DVB]: /192.168.238.238:public@Eumetcast1:
...
#---------------------------------------------------------------

I'll be back later this evening or tomorrow morning.

Ciao

Giuseppe

Join MSG-1@groups.io to automatically receive all group messages.