RRD colours



  • Hi,

    The GUI alludes to the fact that you can change the colour of the specific items shown in the RRD Graphs.

    How do you do it?  I need to be able to distinguish between categories better than red/redder/reddest :)



  • The colors are theme specific. You can change them by editing the 'rrdcolors.inc.php' file in the '/usr/local/www/themes/<theme>/' folder.</theme>



  • I personally use these colors

    $colortrafficup = array("0000ff", "000000");  /* mod */
    $colortrafficdown = array("de0202", "00c000");  /* mod */
    $colortraffic95 = array("ece904", "808080" );  /* mod */
    $colorpacketsup = array("0000ff", "000000");  /* mod */
    $colorpacketsdown = array("de0202", "00c000");  /* mod */
    $colorstates = array('ece904','757575','0000ff','00c000','de0202');  /* mod */
    $colorprocessor = array('ece904','00c000','0000ff','ff0000','808080','000000'); /* mod */
    $colormemory = array('c00000','00c000','0000ff','ffff00','808080','000000'); /* mod */
    $colorqueuesup = array('666666','00ff00','ff0000','0000ff','ff8000','9f00ff','ff00ff','00dfff','ffdf00'); /* mod */
    $colorqueuesdown = array('666666','000080','008000','800000','804000','500080','800080','007080','807000'); /* mod */
    $colorqueuesdropup = array('666666','00ff00','ff0000','0000ff','ff8000','9f00ff','ff00ff','00dfff','ffdf00'); /* mod */
    $colorqueuesdropdown = array('666666','000080','008000','800000','804000','500080','800080','007080','807000'); /* mod */
    $colorqualityrtt = array('ff0000','ece904','808080','0000ff','00c000','000000'); /* mod */
    $colorqualityloss = "de0202"; /* mod */
    $colorwireless = array('990000','a83c3c','b36666');
    $colorspamdtime = array('DDDDFF', 'AAAAFF', 'DDDDFF', '000066');
    $colorspamdconn = array('00AA00BB', 'FFFFFFFF', '00660088', 'FFFFFF88', '006600');
    $colorvpnusers = array('de0202'); /* mod */
    $colorcaptiveportalusers = array("000000"); /* mod */
    

Log in to reply