{% 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 }}

This {{ my_object.object_type }} is checked every {{ my_object.check_interval }} minutes. When a problem occurs it will be checked {{ my_object.max_check_attempts }} times every {{ my_object.retry_interval }} minutes before going to hard state and start sending out notifications.

{% if my_object.notes %}

Notes: {{ my_object.notes }}

{% 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 }} {% else %} Unknown {% endif %} (currently {% if my_object.in_check_period %}inside{% else %}outside{% endif %} check_period)
Notification Period {% if my_object.notification_period %} {{ my_object.notification_period }} {% else %} Unknown {% endif %} (currently {% if my_object.in_notification_period %}inside{% else %}outside{% endif %} notification period)
Check command Loading...
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:
{% if my_object.comments_with_info %} {% for i in my_object.comments_with_info %}
{{ i.1 }}: {{ i.2 }}
{% endfor %} {% else %}

This {{ my_object.object_type }} has no comments.

{% endif %}
{% if my_object.object_type == 'service' %} {% endif %} {{ remote_user }}:
Network Parents {% if network_parents %} {% for parent_level in network_parents %} {% for parent in parent_level %} {% endfor %} {% endfor %}
{% else %} This {{ my_object.object_type }} has no configured network parents. {% 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
This tab should update when the tab is clicked
{% 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 %}
External Links
{% 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 %}