{% extends 'base.html' %} {% block title %}Mozilla Add-ons Site Status{% endblock title %} {% macro status(b) %} {% if b.state %}info{% else %}error{% endif %} {% endmacro %} {% block main_content %}

[Memcache] Connection Tests ({{ memcache_timer }}ms)

There must be a minimum of 2 working servers.

[libs] Libraries and Versions ({{ libraries_timer }}ms)

{% for lib, result, msg in libraries_results %}
{{ lib }}
{% if success %} {{ msg }} {% else %} {{ msg }} {% endif %}
{% endfor %}

[Paths] Paths and Permissions ({{ path_timer }}ms)

{% for path, exists, permissions, extra in path_results %}
{{ path }}
{% if exists %} Exists... {% else %} Does not exist {% endif %} {% if permissions %} with proper permissions. {% else %} and does not have the permissions we expect. {% endif %} {% if extra %} ({{ extra }}) {% endif %}
{% endfor %}

[Redis] Redis Info ({{ redis_timer }}ms)

{% for alias, info in redis_results.iteritems() %}
{{ alias }}
{% if info %}
    {% for k, v in info|dictsort %}
  • {{ k }}: {{ v }}
  • {% endfor %}
{% else %} Error! {{ error }} {% endif %}
{% endfor %}

[Elastic Search] Health Check ({{ elastic_timer }}ms)

{% macro section(text, summary, timer, results) %}

{{ text }} ({{ timer }}ms)

{% endmacro %} {% endblock main_content %}