ganglia / ganglia-web

Ganglia Web Frontend
BSD 3-Clause "New" or "Revised" License
316 stars 170 forks source link

Views fixed: missing $index_array initialization #220

Closed lark closed 10 years ago

lark commented 10 years ago

Now views need $index_array to get cluster name by hostname, however, initialization code was missing in the views context. It happened when moving views from host context into views context.

lzhshen commented 9 years ago

this issue is fixed for default metrics, such as cpu_idle. However, this issue still exists for metrics injected from hadoop metric system, such as dfs.datanode.BlocksReportedOptNum, which is stored as dfs.datanode.BlocksReportedOptNum.rrd file. I'm not sure if the dot characters in the rrd file cause the issue?