[mrtg] Re: Does the mrtg program uses indexmaker? (Re: changing background of graphs using --bodyopt)

Koelstra, J. (Jan) JKoelstra at MINSZW.NL
Thu Jan 11 12:17:18 MET 2007


IMHO a lighter shade of black is still black...
but maybe you can convince your boss that you changed the background to the lightest shade of black and leave the pages as the are ;-)

An other option is to find a colour scheme for the graphs that suit the eyes of your boss.
You can try a combination of orange, grey and red in stead of the standard green, pink and blue.
The next line on top of your cfg file will result in a such a colour scheme for all of your graphs:
Colours[_]: Grey#b0b0b0,Orange#FF9b00,Dark Grey#818181,Red#ff0000

Jan.




-----Original Message-----
From: Mark Jayson R. Alvarez [mailto:mark.a at pacific.net.ph]
Sent: Thursday, January 11, 2007 10:30 AM
To: Koelstra, J. (Jan)
Cc: mrtg at list.ee.ethz.ch
Subject: Re: [mrtg] Does the mrtg program uses indexmaker? (Re: changing background of graphs using --bodyopt)


On Thursday 11 January 2007 17:12, Koelstra, J. (Jan) wrote:
> Jay,
>
> If you put a line "Background[_]: #000000" at the start of your cfg
> file you will get black backgrounds in all html files.

And this brings us to another problem.. If I made the png's transparent, and
the html background set to black, grid lines as well as the no. of Bytes in
Y-axis of the graphs (corresponding no. of bytes for the graphs being drawn)
disappear.. Having a total black background, we can only see the green/blue
traffic graphs but we don't know how much bytes it amounts to. I tried
setting it to a lighter shade of black so that the grids and bytes number
will apear but it's quite ugly..

Any idea how do you deal with this?

>
> With indexmaker you can use '--bodyopt-file=' and put any
> customization for your html file in a seperate file.
>
> In our environment we use the following with each indexmaker command:
> --bodyopt-file=F:\schedule\mrtg_body_opt.txt
>
> And the file contains the following:
> bgcolor="#e2f1e2" link="#339966" vlink="#226666" alink="#CC3300"
>
> HTH,
>
> Jan.
>

_________________________________________________________

Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien u niet de geadresseerde bent of dit bericht abusievelijk aan u is toegezonden, wordt u verzocht dat aan de afzender te melden en het bericht te verwijderen. De staat aanvaardt geen aansprakelijkheid voor schade, van welke aard ook, die verband houdt met risico's verbonden aan het elektronisch verzenden van berichten.
_________________________________________________________

This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. The state accepts no liability for damage of any kind resulting from the risks inherent in the electronic transmission of messages.
_________________________________________________________

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



More information about the mrtg mailing list