Ideas on reporting based on SLAs

<%- if @topic_view.topic.tags.present? %>
<%= t 'js.tagging.tags' %>: <%- @topic_view.topic.tags.each do |t| %> <%= t %> <%- end %>
<% end %>

Hi all

So was hoping someone here has gone through figuring out what data can help determine uptimes of devices and specific ports to basically help report whether or not a service provider is currently within SLA? Is this something that can be done with data from DB? If so, which tables etc.? Do I need alerts? Any help would really go a long way. I don’t want to reinvent the wheel here.