Project

General

Profile

0001-Don-t-force-rrdgraph-URL-to-http.patch

Frank Sweetser, 12/20/2009 02:09 PM

View differences:

app/views/hosts/_rrdreport.rhtml
1 1
<h3><%= host.name %> Last puppet report on <%= host.last_report.getlocal %>, which is <%= time_ago_in_words(host.last_report) %> ago</h3>
2 2
<center>
3
  <% url = "http://#{host.pm_fqdn}/#{SETTINGS[:rrd_report_url]}/#{host.name}" -%>
3
  <% url = "/#{SETTINGS[:rrd_report_url]}/#{host.name}" -%>
4 4
  <h4>Daily</h4>
5 5
  <img src = <%= "#{url}/time-daily.png"%>>
6 6
  <img src = <%= "#{url}/changes-daily.png"%>>
7
-