[mrtg] cfgmaker [_] naming question

Sean Cheesman scheesman at caeveo.com
Tue Oct 28 20:58:17 CET 2008


I would think you'd be better off using vi or a perl script to search/replace.  Are you talking about many separate IP changes, or just a few?  Any logic involved with replacement?  I mean, you mention loopback addresses.  Are they all 127.0.0.1, or are they different on each device?


On 10/28/08 3:35 PM, "Mersberger, Robert" <robert.mersberger at goldenliving.com> wrote:

I am looking at changing my target IP address and would like to be able to do this with cfgmaker but I only want to change the target and not have the new cfg result in the creation of new rrd files for the interfaces.

Is this possible with cfgmaker or would I have to edit my current cfg files and make the changes manually.

The current IP's that I use with cfgmaker are my loopback addresses and these are what I need to change.  The router Ip address is staying the same.

Here is a sample of that I would like to end up with in the cfg.

### Interface 1 >> Descr: 'Serial0/0/0' | Name: 'Se0/0/0' | Ip: '' | Eth: '' ###

                                                                                 This is all that I want changed.
Target[10.88.91.254_Se0_0_0]: #Se0/0/0:yougeuess at 10.188.91.254:::::1
SetEnv[10.88.91.254_Se0_0_0]: MRTG_INT_IP="" MRTG_INT_DESCR="Serial0/0/0"
MaxBytes[10.88.91.254_Se0_0_0]: 192000
Title[10.88.91.254_Se0_0_0]: Traffic Analysis for Se0/0/0 -- 08891FTSAR.beverlycorp.com
PageTop[10.88.91.254_Se0_0_0]: <h1>Traffic Analysis for Se0/0/0 -- 08891FTSAR.beverlycorp.com</h1>
                <div id="sysdetails">
                       <table>
                               <tr>
                                       <td>System:</td>
                                       <td>08891FTSAR.beverlycorp.com in </td>
                               </tr>
                               <tr>
                                       <td>Maintainer:</td>
Thanks


Robert Mersberger
LAN Consultant, Information Technology
Phone 479-201-3442
Fax 479-478-3837
Email robert.mersberger at goldenliving.com
www.Goldenliving.com <file://www.Goldenliving.com>
Golden Living
1000 Fianna Way
Fort Smith, AR 72919

<<Mersberger, Robert.vcf>>

Please consider the environment before printing this e-mail.

 CONFIDENTIAL NOTICE:
This e-mail message and any attachment(s) (collectively, this 'Email') are intended
only for the confidential use of the recipient(s) named above. If the reader of this
message is not the intended recipient named above or an agent responsible for
delivering it to the intended recipient named above, you have received this Email in error.
Please notify the sender immediately and permanently delete this Email and any copies thereof.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/mrtg/attachments/20081028/a2c4f088/attachment.html 


More information about the mrtg mailing list