[mrtg] how to change colors of the image

SYED JAHANZAiB ~!~ AA Internet Cable.Network Services aacable at hotmail.com
Fri May 16 12:28:27 CEST 2008


Default colours for MRTG are GREEN &U BLUE. (oid1 & oid2 respectively)

However you can change it according to your need. 
Sample Usage for colour changing is 

Colours[server1.lan]: GREEN#38e100,BLUE#2c4de1,RED#e13c13,YELLOW#efff13





----------------------------------------
> Date: Fri, 16 May 2008 10:53:22 +0200
> From: prcek at netbox.cz
> To: mrtg at lists.oetiker.ch
> Subject: Re: [mrtg] how to change colors of the image
> 
> Hello,
> 
> On Wed, May 14, 2008 at 01:42:58AM -0700, Nelson Serafica wrote:
>> I have a cisco catalyst and it has an mrtg on one of my Linux server. I want to change of the
>> graph such as the IN  must be GREEN and OUT must be BLUE. I cannot find
>> the doc for mrtg since I already delete a installation file.
>> 
>> Anyone can provide a link or a way to do this?
> 
> http://oss.oetiker.ch/mrtg/doc/mrtg-reference.en.html
> keyword for search is "Colours"
> 
>> 
>> Here is the snippet of some of the config:
>> 
>> 
>> Target[x.x.x.x:]: 2:Community at x.x.x.x:
>> SetEnv[x.x.x.x:]: MRTG_INT_IP="x.x.x.x:" MRTG_INT_DESCR="Ethernet1"
>> Options[x.x.x.x:: growright, bits
>> MaxBytes[x.x.x.x:]: 1250000
>> Title[x.x.x.x:]: Solvware
> 
> Colours[x.x.x.x]: Brown#ff972b,Gray#AAAAAA,Blue#1000ff,Violet#ff00ff
> (you have to change values, this is part of my configuration)
> 
>> PageTop[x.x.x.x:]: Solvware
>>                 
>>                         
>>                                 
>>                                         System:
>>                                         Ether in 
>>                                 
>>                                 
>>                                         Description:
>>                                         Solvware Leased Line
>>                                 
>>                                 
>>                                         ifType:
>>                                         ethernetCsmacd (6)
>>                                 
>>                                 
>>                                         ifName:
>>                                         
>>                                 
>>                                 
>>                                         Max Speed:
>>                                         1.25 MBytes/s
>>                                 
>>                             
>>                 
>> 
>> 
>> 
>>       Support Victims of the Cyclone in Myanmar (Burma). Donate Now.
>> http://advision.webevents.yahoo.com/aid_myanmar/
> 
> Regards	
> Petr Janda
> --
> email: /bin/sh -c 'A=netbox; B=janda; printf "%s@%s.cz\n" ${B} ${A}'
> 
> _______________________________________________
> mrtg mailing list
> mrtg at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE


More information about the mrtg mailing list