reports.put(group, report);
}
NetGraphSet netGraphSet = m_netGraphBuilder
.buildGraphSet(netGraphTemplate, reports, new ArrayList<AlertMetric>());
HourlyReport hourlyReport = new HourlyReport();
hourlyReport.setType(1);
hourlyReport.setName(name);
hourlyReport.setIp(NetworkInterfaceManager.INSTANCE.getLocalHostAddress());
hourlyReport.setDomain(domain);
hourlyReport.setPeriod(period);
hourlyReport.setContent("");
byte[] content = DefaultNativeBuilder.build(netGraphSet);
return m_reportService.insertHourlyReport(hourlyReport, content);
}