Project

General

Profile

Bug #142 ยป 0001-Don-t-force-rrdgraph-URL-to-http.patch

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

View differences:

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