{% extends "base_status.html" %} {% load i18n %} {% block title %}{% trans "Edit Check Command" %}{% endblock %} {% block smallheader %}{% trans "edit" %}{% endblock %} {% block largeheader %}{% trans "Check Command" %}{% endblock %} {% block nav1 %}{% trans "misc" %}{% endblock %} {% block toolbar %} {% endblock %} {% block content %} {% if form %}
{% if form.results %}

{% trans "Parsed Plugin Output" %}

{% trans "Click here for a new paste" %}
{% trans "Plugin Summary" %} {{ form.results.summary }}
{% trans "Long Output" %} {{ form.results.long_output }}
{% trans "Parsed Performance Data" %} {% if form.results.parsed_perfdata.metrics %} {% for i in form.results.parsed_perfdata.metrics %} {% endfor %}
label value warn crit unit min max pnp
{{ i.label }} {{ i.value }} {{ i.warn }} {{ i.crit }} {{ i.uom }} {{ i.min }} {{ i.max }}
{% else %} {% trans "No valid performance data found in this plugin." %} {% endif %}
{% trans "Raw Performance Data" %} {{ form.results.perfdata }}
{% else %} {% endif %}
{% csrf_token %}

{% trans "Paste the output of a nagios plugin below" %}



{% endif %} {% endblock %} {% block footer %} {{ block.super }} {% endblock %}