{% extends "base_status.html" %} {% load adagiostags %} {% block title %}{{ my_object.display_name }}{% endblock %} {% block smallheader %} {{ host.display_name }} {% endblock %} {% block largeheader %} {{ service.display_name }} {% endblock %} {% block nav1 %}status{% endblock %} {% block nav2 %}{{ host_name }} {% if primary_object.object_type == 'service' %}- {{ service_description }}{% endif %}{% endblock %} {% block view_buttons %}{% endblock %} {% block content %}
{% if my_object %} {% if service %} {% endif %}
Status
{{ my_object.status }} for {{ my_object.last_state_change|timestamp|timesince }} {% if my_object.state != 0 %} {% if my_object.acknowledged == 1 %}(has been acknowledged) {% else %}(not acknowledged) {% endif %} {% endif %}
Host Name
{{ host.display_name }}
Host Address {{ host.address }}
Host Alias {{ host.alias }}
Service Name {{ service.display_name }}
Check output {% if my_object.long_plugin_output %}
{{ my_object.plugin_output }}
{{ my_object.long_plugin_output }}
{% else %}
{{ my_object.plugin_output }}
{% endif %}
Performance Metrics {% if perfdata %} {% for i in perfdata %} {% endfor %}
label value warn crit unit min max pnp
{{ i.label }} {{ i.value }} {{ i.warn }} {{ i.crit }} {{ i.uom }} {{ i.min }} {{ i.max }}
{% else %} No Perfdata available. {% endif %}
{% endif %}

Information available via livestatus:

{% for k,v in my_object.items %} {% endfor %}
{{ k }} {{ v }}
External Links {% if my_object.notes_url_expanded %} notes {% endif %} {% if my_object.action_url_expanded %} actions {% endif %}
Check command Loading...
status
Downtimes: {% if my_object.downtimes_with_info %}
{% for i in my_object.downtimes_with_info %}
{{ i.1 }}: {{ i.2 }}
{% endfor %}
{% else %} No Downtimes are scheduled. {% endif %}
Comments:
{% for i in my_object.comments_with_info %}
{{ i.1 }}: {{ i.2 }}
{% endfor %}
{% if my_object.object_type == 'service' %} {% endif %} {{ remote_user }}:
This check is executed every {{ my_object.check_interval }} minutes. When a problem occurs it will check {{ my_object.max_check_attempts }} times every {{ my_object.retry_interval }} minutes before going to hard state and start sending out notifications. {% else %} Unknown {% endif %} {% else %} Unknown {% endif %}
Last Check {% if my_object.last_check %} {{ my_object.last_check|timestamp|date:'Y-m-d H:i' }} ({{ my_object.last_check|timestamp|timesince }} ago) {% else %} check has never been executed. {% endif %}
Next Check {% if my_object.next_check %} {{ my_object.next_check|timestamp|date:'Y-m-d H:i' }} ({{ my_object.next_check|timestamp|timeuntil }} from now) {% else %} Check is not scheduled to be executed. {% endif %}
Check Period {% if my_object.check_period %} {{ my_object.check_period }}
Notification Period {% if my_object.notification_period %} {{ my_object.notification_period }}
Network Parents {% if network_parents %} {% for parent_level in network_parents %} {% for parent in parent_level %} {% endfor %} {% endfor %}
{% endif %}
Some checks have custom variables defined. These can be defined for example to define warning/critical thresholds for custom plugins.

{% if my_object.custom_variables %} {% for k,v in my_object.custom_variables.items %} {% endfor %}
Variable Name Value
{{ k }}
{% else %} This check has no custom variables defined. {% endif %}

{% if my_object.host_custom_variables %} Host {{ host_name }} also has some custom variables. {% for k,v in my_object.host_custom_variables.items %} {% endfor %}
Variable Name Value
{{ k }} {{ v }}
{% else %} {% endif %} See also Configure check command
{% if log %} {% include "snippets/status_statehistory_snippet.html" %} {% else %} Host has no recent log entries. Try Log view to search in older logs. {% endif %}
{% if graph_urls %} {% else %} {% if pnp4nagios_error %}
We got an error while trying to talk with PNP4nagios: {{ pnp4nagios_error }}
Please check that:
  • pnp4nagios is installed and working
  • PNP Filepath is correctly configured under settings
  • User running nagios is a member of the unix groups apache or www-data
  • Click here to see pnp4nagios output
{% endif %} No Performance data is available for this {{ my_object.object_type }}. {% endif %}
{% if host.services_with_info %}
Services on this host
{% endif %} {% if hostgroup_name %} {% if hostgroups %}
Is a member of hostgroup:
{% endif %} {% endif %} {% if host.parents %}
Network Parents
{% endif %} {% if host.groups %}
Is a member of hostgroups
{% endif %} {% if my_object.contact_groups %}
Is a member of contactgroups
{% endif %} {% if service.groups %}
Is a member of servicegroups
{% endif %}
{% endblock %} {% block header %} {{ block.super }} {% endblock %} {% block footer %} {{ block.super }} {% endblock %} {% block sidebar %} {% endblock %} {% block action_buttons %} {{ block.super }} {% endblock %}