{% include "head.html" %} {% include "navbar.html" %}

Service: {{ service.service }}

{% if service.staticly_configured %} {% endif %} {% if not service.staticly_configured %} Modify Delete {% else %}
This service is staticly configured, to edit or delete it, you have to modify the configuration file on the server.
{% endif %}

Show in Icinga

{% if status_list | length > 0 %}

{{ status_list[0].status }} submitted on {{ status_list[0].human_date() }}

{% else %}

No status for this service submitted

{% endif %}
Curl
curl -X POST \
-H "Content-Type: application/json" \
-d '{ "service" : "{{ service.service }}", "token" : "{{ service.token }}",
"status" : "OK", "info" : "Free Text Information here" }' \
{{ flask.request.url_root }}
Python
import requests requests.post("{{ flask.request.url_root }}",
json= { "service_name" : "{{ service.service }}",
"token" : "{{ service.token }}",
"status" : "OK",
"info" : "additional information" })
{% for status in status_list %} {% endfor %}
Date Status Info
{{ status.human_date() }} {{ status.status }} {{ status.info_text }}