{% if service.check_notifiers == False %}
Warning:
{% trans 'This service does not have any notifications configured. Please configure notifications to properly route alerts' %}
{% endif %}
{% if service.description %}
{{service.description|linebreaksbr|urlize}}
{% endif %}
{% if service.rule_set.count or request.site.rule_set.count %}
Rules
{% include "promgen/rule_block.html" with rule_list=service.rule_set.all show_edit=1 %}
{% if request.site.rule_set.count %}
{% include "promgen/rule_block.html" with rule_list=request.site.rule_set.all content_type='service' show_overwrite=service.id collapse="show-global-rules" %}
{% endif %}
{% endif %}
{% if service.notifiers.count %}
Service Notifiers
{% include "promgen/notifier_block.html" with object=service show_edit=1 %}
{% endif %}
{% if service.project_set.count %}
Projects
Project |
Farm |
Exporters |
Notifiers |
Actions |
{% for project in service.project_set.all %}
{% if service.notifiers.count == 0 and project.notifiers.count == 0 %}
{% endif %}
{{ project.name }}
|
{% if project.farm %}{{ project.farm }}{% endif %} |
{% for exporter in project.exporter_set.all %}
{{ exporter.job }} |
{{ exporter.port }} |
{{ exporter.path }} |
{% endfor %}
|
{% for notifier in project.notifiers.all %}
{{ notifier.sender }} |
{{ notifier.show_value }} |
{% endfor %}
|
{% trans "Silence" %}
|
{% endfor %}
{% endif %}