Project

General

Profile

Bug #422 ยป 0001-Fixes-bug-422-broken-records-will-now-be-handled-cor.patch

Trivial patch - Jochen Schalanda, 10/31/2010 03:12 PM

View differences:

app/models/report_observer.rb
# notify via email IF enabled is set to true
if report.host.disabled?
report.logger.warn "#{report.host} is disabled - skipping."
next
return
end
HostMailer.deliver_error_state(report) if SETTINGS[:failed_report_email_notification]
# add here more actions - e.g. snmp alert etc
    (1-1/1)