Project

General

Profile

« Previous | Next » 

Revision ad7ccf6a

Added by Brian Gupta about 12 years ago

  • ID ad7ccf6aa1e4cf49fce182f82b512e630741b4cd

Dashboard "Good hosts" should exclude "pending" hosts, refs #1617

View differences:

app/controllers/dashboard_controller.rb
:active_hosts_ok => @hosts.recent.with_changes.without_error.count,
:active_hosts_ok_enabled => @hosts.recent.with_changes.without_error.alerts_enabled.count,
:ok_hosts => @hosts.recent.successful.count,
:ok_hosts_enabled => @hosts.recent.successful.count,
:ok_hosts_enabled => @hosts.recent.successful.alerts_enabled.count,
:out_of_sync_hosts => @hosts.out_of_sync.count,
:out_of_sync_hosts_enabled => @hosts.out_of_sync.alerts_enabled.count,
:disabled_hosts => @hosts.alerts_disabled.count,

Also available in: Unified diff