{% extends "base.html" %} {% load url from future %} {% load i18n %} {% block title %}{% trans "PNP4nagios integration" %}{% endblock %} {% block nav1 %}{% trans "PNP4Nagios" %}{% endblock %} {% block smallheader %}{% trans "Configuring" %}{% endblock %} {% block largeheader %}{% trans "PNP" %}{% endblock %} {% block content %}

{% trans "PNP is an addon to Nagios which analyzes performance data provided by plugins and stores them automatically into Round Robin Databases (RRD)." %}

{% trans 'This page helps you configure PNP using the so-called "bulk npcmod" method.' %}

{% if broker_module %}
{% csrf_token %} {% include "bootstrap_fields.html" with fields=broker_module %}
{% endif %}

{% trans "This tab helps you configure your npcd.cfg file which controls the behaviour of npcd daemon." %}


{% if npcd_config %}
{% csrf_token %} {% include "bootstrap_fields.html" with fields=npcd_config %}
{% else %}

{% blocktrans with val=form.config_file.value %}Sorry, but we could not read npcd config file {{ val }}.{% endblocktrans %}

{% trans "Make sure permissions are correct and that config file path in Broker Module tab is correct" %}

{% endif %}

{% trans "To make PNP graphs easily accessable from your Nagios web interface. You can set the 'action_url' attribute on your hosts and services." %}

{% trans "Here you can reset action_url of all your services (first applying them to templates)" %}

{% if action_url %}
{% csrf_token %} {% include "bootstrap_fields.html" with fields=action_url %}
{% endif %}

{% trans "Manage the templates used to generate performance graphs." %}

{% if pnp_templates %} {% for file in pnp_templates.templates %} {% endfor %}
{{ file }}
{% endif %}
{% endblock %} {% block toolbar %} {% trans "Edit nagios.cfg" %} {% endblock %}