ganglia:view
設定ファイルディレクトリ(デフォルトは /var/lib/ganglia/conf)に view_~.json ファイルを作成し、JSON で定義
{
"view_name": "AggregateWebCpu",
"view_type": "standard",
"items": [
{
"title": "web01_cpu_idle",
"host_regex": [ { "regex":"web01" } ],
"metric_regex": [ { "regex":"multicpu_idle" } ],
"graph_type": "line",
"aggregate_graph": "true"
},
{
"title": "web01_cpu0",
"host_regex": [ { "regex":"web01" } ],
"metric_regex": [ { "regex":"multicpu_(system|user|idle|nice|wio)0" } ],
"graph_type": "stack",
"aggregate_graph": "true"
},
{
"title": "web01_cpu1",
"host_regex": [ { "regex":"web01" } ],
"metric_regex": [ { "regex":"multicpu_(system|user|idle|nice|wio)1" } ],
"graph_type": "stack",
"aggregate_graph": "true"
},
]
}
- view_name - 名前
- view_type - standard or regexp
- items - metric/graph の詳細
- hostname / host_regexp - ホスト名
- metric / metric_regexp - metric名
- graph / graph_regexp - “_report” で終わる graph名
- aggregate_graph - true|false
- graph_type - aggregate graph の描画方法。line(折れ線)|stack(積算)
- title - タイトル
ganglia/view.txt · 最終更新: 2025/02/16 13:53 by 127.0.0.1
