That would be great but I don't do vi or Perl.  Each target address
would change in 360 cfg. second octet of address would be increased by
100.  each loopback address is unique.
 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sean Cheesman
Sent: Tuesday, October 28, 2008 2:58 PM
To: [email protected]
Subject: Re: [mrtg] cfgmaker [_] naming question


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"
<[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]:::::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 [EMAIL PROTECTED] 
        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.
        



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.
_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to