Project

General

Profile

Download (535 Bytes) Statistics
| Branch: | Tag: | Revision:
<%#
name: Host statuses CSV
snippet: false
template_inputs:
- name: hosts
required: false
input_type: user
description: Limit the report only on hosts found by this search query. Keep empty
for report on all available hosts.
advanced: false
model: ReportTemplate
%>
<%- load_hosts(search: input('hosts'), includes: :host_statuses).each_record do |host| -%>
<%- report_row({
'Name': host.name,
'Global': host.global_status
}.merge(all_host_statuses_hash(host))) -%>
<%- end -%>
<%= report_render -%>
(2-2/4)