Project

General

Profile

« Previous | Next » 

Revision e54016da

Added by Marek Hulán over 8 years ago

Fixes #10782 - global host status

Introduce new global host status that is composed of host substatuses.
Each substatus defines a mapping to the global one which can result in
three values
  • OK
  • WARN
  • ERROR

Plugins can add their own substatuses. These are automatically
propagated also to API.

Thanks to Tomas Strachota who wrote the original code.

View differences:

config/routes/api/v2.rb
end
resources :hosts, :except => [:new, :edit] do
get :status, :on => :member
get 'status/:type', :on => :member, :action => :get_status
get :vm_compute_attributes, :on => :member
put :puppetrun, :on => :member
put :disassociate, :on => :member

Also available in: Unified diff