{% trans "Status" %} | {% if my_object.last_check != 0 %} {{ my_object.status }} for {{ my_object.last_state_change|timestamp|timesince }} {% if my_object.state != 0 %} {% if my_object.acknowledged == 1 %}{% trans "(has been acknowledged)" %} {% else %}{% trans "(not acknowledged)" %} {% endif %} {% endif %} {% else %} {% trans " Pending" %} {% endif %} |
{% trans "Host Name" %} | {% if my_object.last_check != 0 %} {% else %} {% endif %} {{ host.display_name }} |
{% trans "Host Address" %} | {{ host.address }} |
{% trans "Host Alias" %} | {{ host.alias }} |
{% trans "Service Name" %} | {{ service.display_name }} |
{% trans "Check output" %} |
{% if my_object.last_check == 0 %}
{% trans "Has not run yet." %}
{% else %}
{% if my_object.long_plugin_output %}
{{ my_object.plugin_output }} {{ my_object.long_plugin_output }}{% else %} {{ my_object.plugin_output }}{% endif %} {% endif %} |
{% trans "Performance Metrics" %} | {% if perfdata %} |
{% trans "Information available via livestatus:" %}
{{ k }} | {{ v }} |
{% blocktrans with ot=my_object.object_type ci=my_object.check_interval %} This {{ ot }} is checked every {{ ci }} minutes. {% endblocktrans %} {% blocktrans with mca=my_object.max_check_attempts ri=my_object.retry_interval %} When a problem occurs it will be checked {{ mca }} times every {{ ri }} minutes before going to hard state and start sending out notifications. {% endblocktrans %}
{% if my_object.notes %}{% trans "Notes:" %} {{ my_object.notes }}
{% endif %}{% trans "Last Check" %} | {% if my_object.last_check %} {{ my_object.last_check|timestamp|date:'Y-m-d H:i' }} ({{ my_object.last_check|timestamp|timesince }}{% trans " ago)" %} {% else %} {% trans "check has never been executed." %} {% endif %} | |
{% trans "Next Check" %} | {% if my_object.next_check %} {{ my_object.next_check|timestamp|date:'Y-m-d H:i' }} ({{ my_object.next_check|timestamp|timeuntil }}{% trans " from now)" %} {% else %} {% trans "Check is not scheduled to be executed." %} {% endif %} | |
{% trans "Check Period" %} | {% if my_object.check_period %} {{ my_object.check_period }} {% else %} {% trans "Unknown" %} {% endif %} (currently {% if my_object.in_check_period %}inside{% else %}outside{% endif %} check_period) | |
{% trans "Notification Period" %} | {% if my_object.notification_period %} {{ my_object.notification_period }} {% else %} {% trans "Unknown" %} {% endif %} (currently {% if my_object.in_notification_period %}inside{% else %}outside{% endif %} notification period) | |
{% trans "Check command" %} | {% trans " Loading..." %} | |
{% trans "Active Checks" %} | {% if my_object.active_checks_enabled == 1 %} {% trans "Enabled" %} {% else %} {% trans "Disabled" %} {% endif %} | |
{% trans "Passive checks" %} | {% if my_object.accept_passive_checks == 1 %} {% trans "Enabled" %} {% else %} {% trans "Disabled" %} {% endif %} | |
{% trans "Obsessing" %} | {% if my_object.host_obsess_over_host == 1 %} {% trans "Enabled" %} {% else %} {% trans "Disabled" %} {% endif %} | |
{% trans "Notifications" %} | {% if my_object.notifications_enabled == 1 %} {% trans "Enabled" %} {% else %} {% trans "Disabled" %} {% endif %} | |
{% trans "Event Handler" %} | {% if my_object.event_handler_enabled == 1 %} {% trans "Enabled" %} {% else %} {% trans "Disabled" %} {% endif %} | |
{% trans "Flap Detection" %} | {% if my_object.flap_detection_enabled == 1 %} {% trans "Enabled" %} {% else %} {% trans "Disabled" %} {% endif %} | |
{% trans "Downtimes:" %} |
{% if my_object.downtimes_with_info %}
{% for i in my_object.downtimes_with_info %}
{% else %}
{% trans "No Downtimes are scheduled." %}
{% endif %}
{{ i.1 }}: {{ i.2 }}
{% endfor %}
|
|
{% trans "Comments:" %} |
{% if my_object.comments_with_info %}
{% for i in my_object.comments_with_info %}
{{ i.1 }}: {{ i.2 }}
{% endfor %}
{% else %}
{% blocktrans with ot=my_object.object_type %}This {{ ot }} has no comments.{% endblocktrans %} {% endif %}
{% if my_object.object_type == 'service' %}
{% endif %}
{{ remote_user }}:
|
|
{% trans "Network Parents" %} |
{% if network_parents %}
|
{% if my_object.custom_variables %}
{% trans "Variable Name" %} | {% trans "Value" %} |
---|---|
{{ k }} |
|
{% trans "Variable Name" %} | {% trans "Value" %} |
---|---|
{{ k }} | {{ v }} |
- pnp4nagios{% trans " is installed and working" %}
- {% trans "PNP Filepath" %}{% trans " is correctly configured under " %}{% trans "settings" %}
- {% trans "User running nagios is a member of the unix groups apache or www-data" %}
- {% url 'pnp.views.pnp' "json" as the_url %} {% blocktrans %}Click here to see pnp4nagios output{% endblocktrans %}
{% endfor %}