Revision 33d9f9ee
Added by Lukas Zapletal over 8 years ago
db/seeds.d/11-smart_proxy_features.rb | ||
---|---|---|
# Proxy features
|
||
[ "TFTP", "DNS", "DHCP", "Puppet", "Puppet CA", "BMC", "Realm", "Facts" ].each do |input|
|
||
[ "TFTP", "DNS", "DHCP", "Puppet", "Puppet CA", "BMC", "Realm", "Facts", "Logs" ].each do |input|
|
||
f = Feature.where(:name => input).first_or_create
|
||
raise "Unable to create proxy feature: #{format_errors f}" if f.nil? || f.errors.any?
|
||
end
|
Also available in: Unified diff
Fixes #12718 - smart proxy log table
This patch adds a table with logs fetched from Smart Proxy /logs new API. It
returns latest N log entries from a simple memory buffer. The table supports
filtering by level, custom filtering and it introduces several overview
status cards with error/warning counts, failed modules list with latest
known error messages.