dashboardのグラフは、デフォルトでは
背景が白で文字が黒。
いくつも見ていると目が痛くなるので、
背景を黒く、文字を白くしたい。
一つだけのグラフだけならeditからGUIで
変更すれば良いが、
すべてのグラフに対して変更したい場合の方法です。
1.設定を書き換え
次のファイルの、
/etc/graphite/local_settings.py
この変数をコメント外す。
GRAPHTEMPLATES_CONF = '/etc/graphite/graphTemplates.conf'
2.テンプレを作成編集
次のファイルは存在しないはずなので、
作成し編集する。
$ cat /etc/graphite/graphTemplates.conf
[default]
background = 333333
foreground = white
majorLine = white
minorLine = grey
lineColors = blue,green,red,purple,brown,yellow,aqua,grey,magenta,pink,gold,rose
fontName = Sans
fontSize = 10
fontBold = False
fontItalic = False
これで、グラフの色が変わっているはず。