ganglia / ganglia-web

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

Show data for down nodes #308

Closed rbokhorst closed 8 years ago

rbokhorst commented 8 years ago

This is essentially a copy of pull request #254 by RyanFolsom. Since he hasn't responded for over a year I created my own clone and applied his fix (please let me know if this is not the usual procedure!):

From #254:

The Problem In the Web UI if a host goes down, many of the metrics become unavailable. These metrics can be extremely valuable in determining what went wrong. In some cases, these hosts may never come back (such as autoscaling groups through Amazon).

The Change Added a variable in the configuration file, $conf['show_host_data_if_down']. When false (default), the additional metrics do not render, and the behavior as it is today does not change. If set to true, the graphs and metrics will render under the host_view page, even if the host is down.

Especially when a node went down I'd like to have a look at Ganglia data to analyse what possibly went wrong. The default value of _show_host_data_ifdown may well be set to True.