You make the change in the mrtg.cfg file you are using.  
Don't change cfgmaker, that will affect every target you are 
generating information for MRTG to graph.  I'm guessing 
you don't want to do that.

You could also change the options on cfgmaker if you have that stuff 
coded into the description of the interface by using ifref or some other 
options.

Paul

>>> "Kelly, John" <[EMAIL PROTECTED]> 02/12/03 11:48AM >>>

I've been reading the MRTG docs and haven't been able to figure out how to
change the way HTML is generated. I would like to change the title and
pagetop values of the interfaces from what they are now: 

Title[10.8.1.254_10.9.2.254]: 10.9.2.254 -- waltham-core-internal
PageTop[10.8.1.254_10.9.2.254]: <H1>10.9.2.254 -- waltham-core-internal</H1>
(ip + hostname) 

to 

Title[10.8.1.254_10.9.2.254]: 10.9.2.254 -- FastEthernet0/0 connects to
phone network
PageTop[10.8.1.254_10.9.2.254]: <H1>10.9.2.254 -- FastEthernet0/0 connects
to phone network </H1>  (ip + interface description)

I believe cfgmaker is where I would make the change but I can't figure out
where and how to make this change.

### Interface 3 >> Descr: 'FastEthernet0/0' | Name: 'Fa0/0' | Ip:
'10.9.2.254' | Eth: '00-30-80-aa-7b-40' ###

Target[10.8.1.254_10.9.2.254]: /10.9.2.254:[EMAIL PROTECTED]: 
SetEnv[10.8.1.254_10.9.2.254]: MRTG_INT_IP="10.9.2.254"
MRTG_INT_DESCR="FastEthernet0/0"
Directory[10.8.1.254_10.9.2.254]: 10.8.1.254
MaxBytes[10.8.1.254_10.9.2.254]: 12500000
Title[10.8.1.254_10.9.2.254]: 10.9.2.254 -- waltham-core-internal
PageTop[10.8.1.254_10.9.2.254]: <H1>10.9.2.254 -- waltham-core-internal</H1>
 <TABLE>
   <TR><TD>System:</TD>     <TD>waltham-core-internal in 1340 Main Street,
Waltham MA</TD></TR>
   <TR><TD>Maintainer:</TD> <TD>John Kelly</TD></TR>
   <TR><TD>Description:</TD><TD>FastEthernet0/0 connects to phone network
</TD></TR>
   <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>
   <TR><TD>ifName:</TD>     <TD>Fa0/0</TD></TR>
   <TR><TD>Max Speed:</TD>  <TD>12.5 MBytes/s</TD></TR>
   <TR><TD>Ip:</TD>         <TD>10.9.2.254 ()</TD></TR>
 </TABLE>

--
Unsubscribe mailto:[EMAIL PROTECTED] 
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 


--
Unsubscribe mailto:[EMAIL PROTECTED]
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

Reply via email to