[mrtg] Re: Sample of using IP addresses in .cfg files?

Scheidel, Greg Greg_Scheidel at ed.gov
Mon Dec 20 23:35:43 MET 1999


Ok, found the answer in the config.txt documentation.  I need to use:

/10.10.10.10:public at 11.11.11.11

where 11.11.11.11 is primary IP to reach the router and 10.10.10.10 is the
IP of the interface.

Greg S.


-----Original Message-----
From: Scheidel, Greg [mailto:Greg_Scheidel at ed.gov]
Sent: Monday, December 20, 1999 3:26 PM
To: 'MRTG users'
Subject: [mrtg] Re: Sample of using IP addresses in .cfg files?

Sorry, I should have been more clear.

I don't have any problems running cfgmaker to build the *.cfg files, and do
in fact run them using the command syntax that you described.

However, the *.cfg files created by cfgmaker use SNMP IFs to query the
different interfaces.  I would like to modify my *.cfg files so that they
interfaces are queried via their IP addresses, so that if I make changes to
my routers that result in changes to the IFs then MRTG does not start to
query the wrong interface.

The MRTG documentation refers to using the cfgmaker_phys program to confert
*.cfg files to user Physical Addresses (MACs I'm assuming), but I cannot
locate that problem in my download.  I do have a program called cfgmaker_ip
which would seem to do what I want, but I cannot get it to run (perhaps just
because I'm not using it properly) on my system (Lunix v6.0).

I was asking if anybody had either information on those programs, or actual
*.cfg file snippets that I could use to base manual modifications of my
existing *.cfg files off of.

Greg S.

-----Original Message-----
From: Paul Trippett [mailto:pault at aclweb.com]
Sent: Monday, December 20, 1999 3:06 PM
To: 'Scheidel, Greg'
Cc: 'mrtg at list.ee.ethz.ch'
Subject: RE: [mrtg] Sample of using IP addresses in .cfg files?

Hi,

I have been connecting to all my hosts via the IP Address using ./cfgmaker
using the example syntax './cfgmaker public at 127.0.0.1'

Regards

Paul Trippett
Sys Admin

> -----Original Message-----
> From: Scheidel, Greg [SMTP:Greg_Scheidel at ed.gov]
> Sent: Monday, December 20, 1999 8:10 PM
> To:   MRTG users
> Subject:      [mrtg] Sample of using IP addresses in .cfg files?
>
> Does anyone have a sample of using IP addresses in .cfg files?
> I have already looked at cfgmaker_ip (doesn't run properly) and
> cfgmaker_phys (can't find it in my download).  Just looking for a sample
> interface config so that I can update my files by hand.
> Greg S.
>
> --
> Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
> Help        mailto:mrtg-request at list.ee.ethz.ch?subject=help
> Archive     http://www.ee.ethz.ch/~slist/mrtg

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:mrtg-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/mrtg

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:mrtg-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/mrtg



More information about the mrtg mailing list