Revision 1c039da8
Added by Ohad Levy almost 13 years ago
- ID 1c039da84cbbad8b07cd9b1f6e9f15bc7720e3bf
app/controllers/hosts_controller.rb | ||
---|---|---|
end
|
||
|
||
def errors
|
||
params[:search]="last_report > \"#{SETTINGS[:puppet_interval] + 5} minutes ago\" and (status.failed > 0 or status.failed_restarts > 0 or status.skipped > 0)"
|
||
params[:search]="last_report > \"#{SETTINGS[:puppet_interval] + 5} minutes ago\" and (status.failed > 0 or status.failed_restarts > 0)"
|
||
index "Hosts with errors"
|
||
end
|
||
|
Also available in: Unified diff
fixes #930 - Skipped resources should not put systems in 'error' state