[mrtg] Change HTML

Kelly, John jkelly at Empirix.com
Wed Feb 12 17:48:38 MET 2003

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[]: -- waltham-core-internal
PageTop[]: <H1> -- waltham-core-internal</H1>
(ip + hostname) 


Title[]: -- FastEthernet0/0 connects to
phone network
PageTop[]: <H1> -- 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:
'' | Eth: '00-30-80-aa-7b-40' ###

Target[]: / at
SetEnv[]: MRTG_INT_IP=""
MaxBytes[]: 12500000
Title[]: -- waltham-core-internal
PageTop[]: <H1> -- waltham-core-internal</H1>
   <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
   <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> ()</TD></TR>

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