[mrtg] MRTG - Specify interfaces
frankadem at gmail.com
Fri Dec 18 17:50:51 CET 2009
Thanks. I've had a look into it, but I can't get it to work. I tried
this command, which works, but still only shows eth0:
cfgmaker '--if-filter=$default && $if_type==23' --no-down --global
'WorkDir: /var/www/mrtg2' --output /etc/mrtg2.cfg public at 127.0.0.1
All I want is to see ppp0, also when it is down...
On Thu, Dec 17, 2009 at 7:23 PM, Steve Shipway <s.shipway at auckland.ac.nz> wrote:
> In fact, MRTG will graph anything it can collect data for. You probably are referring to the cfgmaker program, which will generate a MRTG configuration file for you and by default will comment out definitions for inactive interfaces.
> Check the cfgmaker documentation, particularly the --if-filter and --nodown options, for more details.
> From: mrtg-bounces at lists.oetiker.ch [mrtg-bounces at lists.oetiker.ch] On Behalf Of Frank Adem [frankadem at gmail.com]
> Is there a way to specify which interfaces MRTG graphs? Currently, it
> only seems to work on eth0, but I would also like it to monitor ppp0,
> which is the interface of a PPTP to the server. However this interface
> is not always available (off when there is no PPTP connection).
More information about the mrtg