[mrtg] Re: What is the IP of generating hosts?

Jim Bennett JBennett at sevencounties.org
Tue Nov 4 15:56:13 MET 2003


Peter,

Thanks for your help.  I inherited this from someone that left the organization, so I am really dumb about all this.  I traced the mrtg.cfg file down to this interface and sure enough the title is hard coded in the file.  Therefore the index number is referred to the port that is coded in the cfg file.  See below.  What would be a way to code it, so when viewing the graph, it would be very clear what port you are looking at?

Thanks,
Jim

### Interface 64 >> Descr: '' | Name: '3/6' | Ip: '' | Eth: '00-05-5f-3e-1f-e5' ###
 
Target[10.10.3.1_64]: 64:public at 10.10.3.1
SetEnv[10.10.3.1_64]: MRTG_INT_IP="" MRTG_INT_DESCR=""
MaxBytes[10.10.3.1_64]: 12500000
Title[10.10.3.1_64]: #3/6 -- sw0_corp_00
PageTop[10.10.3.1_64]: <H1>#3/6 -- sw0_corp_00</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>sw0_corp_00 in Corporate Basement</TD></TR>
   <TR><TD>Maintainer:</TD> <TD>MIS</TD></TR>
   <TR><TD>Description:</TD><TD>  </TD></TR>
   <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>
   <TR><TD>ifName:</TD>     <TD>3/6</TD></TR>
   <TR><TD>Port Name:</TD>  <TD></TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>100 Mbits/s</TD></TR>
 </TABLE>


James L. Bennett
Senior Systems Administrator
CNA, MCSE
(502) 736-3080 x101109

>>> "Peter P. Benac" <ppbenac at emacolet.com> 11/04/03 08:36AM >>>
Jim,

    'sc0' is the supervisor card in the device.  If you continue down the
config file you will see ifIndex 64 assigned to the port that Fluke sees and
that Cisco Switch reports.

    You are mixing apples and oranges here. The IP address is NOT assigned
to the port. It is assigned to the VLAN (VLAN1 by default).  That switch
would happily go about it's business of being a layer 2 device even without
an IP address on it.  IP addresses are only valid at layer 3 and above.

Regards,
Pete
----
Peter P. Benac, CCNA
Emacolet Networking Services, Inc
Providing Systems and Network Consulting, Training, Web Hosting Services
Phone: 919-847-1740 or 866-701-2345
Web: http://www.emacolet.com 
Need quick reliable Systems or Network Management advice visit
http://www.nmsusers.org 

To have principles...
             First have courage.. With principles comes integrity!!!

 

> -----Original Message-----
> From: mrtg-bounce at list.ee.ethz.ch 
> [mailto:mrtg-bounce at list.ee.ethz.ch] On Behalf Of Jim Bennett
> Sent: Tuesday, November 04, 2003 8:19
> To: mrtg at list.ee.ethz.ch 
> Subject: [mrtg] Re: What is the IP of generating hosts?
> 
> 
> Thanks to everyone that reply.  I have been able to isolate
> the ip address.  But what is interesting is that MRTG, CISCO, 
> and FLUKE all referred the same index number.  Cisco and 
> Fluke referred both the index and the port numbers the same.  
> But on my MRTG graph, the port titles are different than what 
> Fluke and Cisco say they are.  If you right click on the 
> graph, the Save image (10.10.3.1_64-week.png).... is correct 
> as the right index number.   Here is a sample of the mrtg.cfg file.
> 
> ### Interface 1 >> Descr: 'sc0' | Name: 'sc0' | Ip:
> '10.10.3.1' | Eth: '00-07-50-a8-19-ff' ###
> 
> Target[10.10.3.1_1]: 1:public at 10.10.3.1 
> SetEnv[10.10.3.1_1]: MRTG_INT_IP="10.10.3.1" MRTG_INT_DESCR="sc0"
> MaxBytes[10.10.3.1_1]: 1250000
> Title[10.10.3.1_1]: #sc0 -- sw0_corp_00
> PageTop[10.10.3.1_1]: <H1>#sc0 -- sw0_corp_00</H1>
>  <TABLE>
>    <TR><TD>System:</TD>     <TD>sw0_corp_00 in Corporate 

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe 
Archive     http://www.ee.ethz.ch/~slist/mrtg 
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org 
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi 



CONFIDENTIALITY NOTICE:
This e-mail message, including any attachments, is for the sole
use of the intended recipient(s) and may contain confidential and 
privileged information.  Any unauthorized review, use, disclosure 
or distribution is prohibited.  If you are not the intended recipient, 
please contact the sender immediately by reply e-mail and destroy all
copies of the original message.
<<<<gwavasig>>>>

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list