{% extends "base_status.html" %} {% load i18n %} {% block title %}{% trans "Error" %}{% endblock %} {% block smallheader %}{% endblock %} {% block largeheader %}{% trans "Oh no, something went wrong ☹" %}{% endblock %} {% block nav1 %}{{ block.super }}{% endblock %} {% load adagiostags %} {% block content %}
{% if exception_type == "LivestatusNotConfiguredException" or nagios_running and not num_problems %} {% trans "Adagios cannot connect to livestatus. Don't worry, you can still use the other parts of Adagios, but to get the status part to work check the following:" %} {% trans "Install instructions for rpm-based systems:" %}
yum --enablerepo=ok-testing install mk-livestatus
pynag config --append "broker_module=/usr/lib64/mk-livestatus/livestatus.o /var/spool/nagios/cmd/livestatus"
service nagios reload
            
{% trans "Install instructions for debian-based systems:" %}
apt-get install check-mk-livestatus
pynag config --append "broker_module=/usr/lib/check_mk/livestatus.o /var/lib/nagios3/rw/livestatus"
service nagios3 reload
            
{% endif %} {% if not nagios_running %}

{% trans "Is our monitoring engine even running ? If so we cant detect it." %}

{% trans "Don't worry you can still configure stuff but you might want to start it so you can start monitoring stuff." %}

{% endif %}
{% if exception_type == "ConfigFileNotFound" %}

{% trans "So! Adagios is up and running. But you need to install and configure a monitoring engine." %}

{% url adagios.misc.views.settings as the_url %}{% blocktrans %}If Nagios (or a compatible engine like Icinga, Shinken or Naemon) is already installed. You should head over to settings page and configure right paths.{% endblocktrans %}

{% blocktrans %}If you don't have a monitoring engine installed you should take a look at our installation instructions to get started.{% endblocktrans %}

{% endif %} {% if exception_type == "EventHandlerError" %} {% if "Not a git repository" in exception %}

{% trans "So! Seems like your configuration directory is not a git repository but Adagios was configured to that it uses git." %}

{% url adagios.misc.views.gitlog as the_url %} {% blocktrans %}It's not a big deal, all you have to do is to visit this page and we will generate one for you.{% endblocktrans %}

{% trans "You configuration files should always be a git repository anyway, so this is for your own good :)" %}

{% endif %} {% endif %}
{% if exception %}
{{ exception_type }}: {{ exception }}
{% endif %}
{% if traceback %} {% blocktrans %}

If you think this is a bug. Send the following information to the developers:

{% endblocktrans %}
{{ traceback }}
{% endif %}
{% endblock %} {% block toolbar %} {% endblock %} {% block footer %} {{ block.super }} {% endblock %}