[mrtg] Re: RES: Editing the Generated HTML file

Roberts, Larry Larry.Roberts at expanets.com
Mon Jan 27 17:47:03 MET 2003


For those that are interested there are two ways to get this done.

1) edit MRTG and remove the <HR> from the generated file ( its about 1190
lines into the config and occurs in 3 places total)
2) use CSS, and specify under the <HR> tag i.e. ( being sure to load the css
sheet in the main config file )

HR
{
Display: none;
)

I stumbled on the second option by accident, but for curiosity sake I found
out how to remove it from the MRTG script as well.

I don't know if anyone really cares, but I though I would share how I did
it.

Thanks

Larry 

-----Original Message-----
From: ylf [mailto:ylf at uol.com.br] 
Sent: Monday, January 27, 2003 1:54 AM
To: 'MRTG Mailing List'
Subject: [mrtg] RES: Editing the Generated HTML file




Hi,

mrtg is a perl script: find the "mrtg" script file in the /usr/bin/mrtg or
c:\mrtg\bin\mrtg , open it in your favorite text editor, and try to
understand the source code. find the lines that build the html file, and
remove the <HR> (horizontal rule) tags. all the risk is your, if you remove
the wrong line,  your script will no more work...

hope it helps.

Yuri Fugikawa

---

Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.445 / Virus Database: 250 - Release Date: 21/1/2003
 

--
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

--
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