{% extends "base_status.html" %} {% block title %}Hostgroup {{ hostgroup_name }}{% endblock %} {% block nav2 %}Hostgroups / {{ hostgroup_name }}{% endblock %} {% block smallheader %}hostgroup{% endblock %} {% block largeheader %}{{ hostgroup_name }}{% endblock %} {% block content %}
{% if my_hostgroup %}
Hostgroup Name {{ my_hostgroup.name }}
Alias {{ my_hostgroup.alias }}
External links {% if my_hostgroup.action_url %} action url {% endif %} {% if my_hostgroup.notes_url %} notes_url {% endif %}
Parent Hostgroups {% for i in my_hostgroup.parent_hostgroups %} {{ i }}, {% endfor %}
Host Status
Hosts up:
{{ my_hostgroup.num_hosts_up }}
Hosts down:
{{ my_hostgroup.num_hosts_down }}
Hosts unreachable:
{{ my_hostgroup.num_hosts_unreach }}
...
Total: {{ my_hostgroup.num_hosts }}
Service Status
OK:
{{ my_hostgroup.num_services_ok }}
Warning:
{{ my_hostgroup.num_services_warn }}
Critical:
{{ my_hostgroup.num_services_crit }}
Unknown:
{{ my_hostgroup.num_services_unknown }}
Total: {{ my_hostgroup.num_services }}
{% else %} No Information found for hostgroup {{ hostgroup_name }}. Are you sure it exists ? {% endif %}
hostgroups that belong to {{ hostgroup_name }} {% include "snippets/status_hostgrouplist_snippet.html" %}
Hosts that belong to {{ hostgroup_name }} {% include "snippets/status_hostlist_snippet.html" %}
Services that belong to {{ hostgroup_name }} {% include "snippets/status_servicelist_snippet.html" %}
{% if log %} {% include "snippets/status_statehistory_snippet.html" %} {% else %} No recent state history changes in this hostgroup. Try Log view to search in older logs. {% endif %}

Information available via livestatus:

{% for k,v in my_hostgroup.items %} {% endfor %}
{{ k }} {{ v }}
{% endblock %} {% block footer %} {{ block.super }} {% endblock %}