Re: Getting MRTG to work

Giuseppe Cico
 

On Fri, February 25, 2011 08:45, David J Taylor wrote:
David, it needn't be you to reply, maybe some of the other MRTG-ops can

.....
You can use the loopback address (127.0.0.1) or PCname instead of the
numeric IP address:

Target[Alta-LAN]: 11:public@....0.1

Target[Alta-LAN]: 11:public@Alta

The loopbackaddress doesn't look as elegant, but is most likely to stay
thesame!

The interface/network number (11) may vary ifyou change the configuration
(e.g. add Wi-Fi dongle). Once theconfiguration is set, I tend to reboot,
and run cfgmaker, tosee what the network numbers actually are.

Anyway, not the topic right now, but rather this: Here ist the top of
the DVB-related part of the
config filegenerated by the cfgmaker routine:

###
Interface 131074 >> Descr: 'TechniSat-DVB-PC-TV-Star-PCI' | Name: ''

| Ip:
'192.168.238.238' | Eth:'00-d0-d7-0f-ee-a5' ###

Target[windbuedel_131074]: 131074:public@windbuedel:
...

Ulrich,
you can solve the "131704"
problem using IP address as the reference for MRTG by
changing the line

Target[windbuedel_131074]:
131074:public@windbuedel:

to

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

and then any of "windbuedel_131074" to
"windbuedel_DVB" or anything you want; it's just a name:

Target[windbuedel_DVB]: /192.168.238.238:public@windbuedel:
SetEnv[windbuedel_DVB]: MRTG_INT_IP="192.168.238.238"
....

Ciao

Giuseppe






[Non-text portions of this message have been removed]

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