Skip to content
Snippets Groups Projects
Commit f4999121 authored by Nico Vermaas's avatar Nico Vermaas
Browse files
add service monitor to monitoring page
parent 059ec8c3
No related branches found
No related tags found
2 merge requests!181https://support.astron.nl/jira/browse/SDC-499,!179https://support.astron.nl/jira/browse/SDC-499
......@@ -324,16 +324,14 @@ def WorkflowDetails(request, id):
return render(request, "taskdatabase/details/workflow_details.html", {'workflow': workflow})
class MonitoringView(ListView):
model = Monitor
template_name = "taskdatabase/monitoring.html"
def ShowMonitoring(request):
# get the latest value of each unique combination of service name and hostname.
monitor_data = Monitor.objects.all()
monitor_results = algorithms.convert_monitor_to_html(monitor_data)
return render(request, "taskdatabase/monitoring.html", {'monitor_results': monitor_results})
class DiagramView(ListView):
model = Task
template_name = "taskdatabase/diagram.html"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment