{% extends "cluster/base.html" %} {% load bootstrap_toolkit %} {% load humanize %} {% load cluster_extras %} {% block subtitle %}{{ node.hostname}} / Nodes / {% endblock %} {% block content %}
Hostname {{ node.hostname }}
{% if node.is_db %}

DB info

{% for db, info, security, security_correct in db_info.databases %} {% else %} {% csrf_token %} {% endif %} {% endfor %}
Database Docs Security Security check
Admins Members
{{ db }} {% if info %} {{ info.doc_count|intcomma }}
    {% for name in security.admins.names %}
  • {{ name }}
  • {% endfor %} {% for role in security.admins.roles %}
  • @{{ role }}
  • {% endfor %}
    {% for name in security.members.names %}
  • {{ name }}
  • {% endfor %} {% for role in security.members.roles %}
  • @{{ role }}
  • {% endfor %}
{% if security_correct %} Ok {% else %} {% if info %}
{% csrf_token %}
{% endif %} {% endif %}

Replications

{% for perm in db_info.permutations %} {% endfor %}
Hostname Database Status
{{ perm.hostname }} {{ perm.db }} {% if 'status' in perm %}{{ perm.status }}{% else %}not exists{% endif %} {% if perm.status != 'triggered' and db_info.replications_error != 'not_found' %}
{% csrf_token %}
{% endif %}

Raw replications

{% if db_info.replications_error == 'not_found' %}
{% csrf_token %}
{% else %} {% for replication in db_info.replications %} {% endfor %}
Source Target Status
{{ replication.doc.source|hide_url_password }} {{ replication.doc.target|hide_url_password }} {{ replication.key }}
{% endif %}

Tasks

{% for task in db_info.tasks %} {% endfor %}
Type Status Progress Started on Last update on
{{ task.type }} {% if task.type == 'replication' %} {{ task.source }} → {{ task.target }} ({{ task.checkpointed_source_seq|intcomma }}/{{ task.source_seq|intcomma }}) {% endif %} {% if task.type == 'view_compaction' %} {{ task.design_document }}@{{ task.database }} {% endif %} {% if task.type == 'indexer' %} {{ task.design_document }}@{{ task.database }} ({{ task.changes_done|intcomma }}/{{ task.total_changes|intcomma }}) {% endif %} {{ task.progress }}% {{ task.started_on|unix|date:"Y-m-d H:i" }} {{ task.updated_on|unix|timesince }}
{% endif %} {% endblock %}