mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 17:30:11 +00:00
129 lines
5.5 KiB
Text
129 lines
5.5 KiB
Text
{#
|
|
(C) 2020 - ntop.org
|
|
|
|
This is the template for the active monitoring stats page. I
|
|
#}
|
|
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<div class="card card-shadow">
|
|
<div class="card-body">
|
|
<table class="table w-100 table-striped table-hover table-bordered" id="am-table">
|
|
<thead>
|
|
<tr>
|
|
<th>{{i18n("flow_details.url")}}</th>
|
|
<th>{{i18n("active_monitoring_stats.measurement")}}</th>
|
|
<th>{{i18n("chart")}}</th>
|
|
<th>{{i18n("threshold")}}</th>
|
|
<th>{{i18n("active_monitoring.24h")}}</th>
|
|
<th>{{i18n("active_monitoring_stats.last_measurement")}}</th>
|
|
<th>{{i18n("system_stats.last_ip")}}</th>
|
|
<th>{{i18n("active_monitoring_stats.measurement")}}</th>
|
|
<th>{{i18n("active_monitoring_stats.alerted")}}</th>
|
|
<th>{{i18n("active_monitoring_stats.jitter")}}</th>
|
|
<th>{{i18n("actions")}}</th>
|
|
<th>{{i18n("active_monitoring_stats.measurement")}}</th>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
</div>
|
|
<div class="card-footer">
|
|
{* ui_utils.render_configuration_footer('active_monitoring') *}
|
|
</div>
|
|
</div>
|
|
<div class="notes bg-light border">
|
|
<b>{{ i18n("notes") }}</b>:
|
|
<ul>
|
|
{% for _, note in pairs(am_stats.notes) do %}
|
|
<li>{{ note }}</li>
|
|
{% end %}
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{*
|
|
template_utils.render("am_add_host_modal.html", {
|
|
dialog = {
|
|
add_record = i18n("active_monitoring_stats.add_record"),
|
|
measurement = i18n("active_monitoring_stats.measurement"),
|
|
add_measurement_select = generate_select("select-add-measurement", "measurement", true, false, {}, "measurement-select"),
|
|
am_host = i18n("about.host_checks_directory"),
|
|
periodicity = i18n("internals.periodicity"),
|
|
add_granularity_select = generate_select("select-add-granularity", "granularity", true, false, {}, "measurement-granularity"),
|
|
threshold = i18n("threshold"),
|
|
notes = i18n("notes"),
|
|
note_icmp = i18n("active_monitoring_stats.am_note_icmp"),
|
|
note_http = i18n("active_monitoring_stats.am_note_http"),
|
|
note_alert = i18n("active_monitoring_stats.note_alert"),
|
|
cancel = i18n("cancel"),
|
|
add = i18n("add"),
|
|
}
|
|
})
|
|
*}
|
|
|
|
{*
|
|
template_utils.render("am_edit_host_modal.html", {
|
|
dialog = {
|
|
measurement = i18n("active_monitoring_stats.measurement"),
|
|
edit_measurement_select = generate_select("select-edit-measurement", "measurement", true, false, {}, "measurement-select"),
|
|
am_host = i18n("about.host_checks_directory"),
|
|
periodicity = i18n("internals.periodicity"),
|
|
edit_granularity_select = generate_select("select-edit-granularity", "granularity", true, false, {}, "measurement-granularity"),
|
|
edit_record = i18n("active_monitoring_stats.edit_record"),
|
|
notes = i18n("notes"),
|
|
note_icmp = i18n("active_monitoring_stats.am_note_icmp"),
|
|
note_http = i18n("active_monitoring_stats.am_note_http"),
|
|
note_alert = i18n("active_monitoring_stats.note_alert"),
|
|
note_periodicity_change = i18n("active_monitoring_stats.note_periodicity_change"),
|
|
reset = i18n("reset"),
|
|
apply = i18n("apply"),
|
|
cancel = i18n("cancel"),
|
|
threshold = i18n("threshold"),
|
|
}
|
|
})
|
|
*}
|
|
|
|
{*
|
|
|
|
template_utils.render("am_delete_host_modal.html", {
|
|
dialog = {
|
|
confirm_delete = i18n("active_monitoring_stats.confirm_delete"),
|
|
delete = i18n("delete"),
|
|
cancel = i18n("cancel"),
|
|
}
|
|
})
|
|
|
|
*}
|
|
|
|
|
|
<link href="{{ ntop.getHttpPrefix()}}/css/dataTables.bootstrap5.min.css" rel="stylesheet"/>
|
|
<script type="text/javascript">
|
|
|
|
i18n_ext.showing_x_to_y_rows = "{{ i18n('showing_x_to_y_rows', {x='_START_', y='_END_', tot='_TOTAL_'})}}";
|
|
i18n_ext.search = "{{ i18n("search")}}:";
|
|
i18n_ext.msec = "{{i18n("active_monitoring_stats.msec")}}";
|
|
i18n_ext.edit = "{{i18n("users.edit")}}";
|
|
i18n_ext.success = "{{i18n("success")}}";
|
|
i18n_ext.delete = "{{i18n("delete")}}";
|
|
i18n_ext.expired_csrf = "{{i18n("expired_csrf")}}";
|
|
i18n_ext.all = "{{i18n("all")}}";
|
|
i18n_ext.other = "{{i18n("other")}}";
|
|
i18n_ext.others = "{{i18n("others")}}";
|
|
i18n_ext.measurement = "{{i18n("active_monitoring_stats.measurement")}}";
|
|
i18n_ext.alert_status = "{{ i18n("active_monitoring_stats.alert_status")}}";
|
|
i18n_ext.alerted = "{{ i18n("active_monitoring_stats.alerted")}}";
|
|
i18n_ext.not_alerted = "{{ i18n("active_monitoring_stats.not_alerted")}}";
|
|
i18n_ext.no_recipients = "{{i18n('pools.no_recipients')}}";
|
|
i18n_ext.some_recipients = "{{i18n('pools.some_recipients')}}";
|
|
i18n_ext.infrastructure = "{{ i18n('infrastructure_dashboard.infrastructure') }}"
|
|
|
|
let get_host = "{* am_stats.get_host *}";
|
|
let am_csrf = "{{ ntop.getRandomCSRFValue()}}";
|
|
let import_csrf = "{{ ntop.getRandomCSRFValue()}}";
|
|
const measurements_info = {*json.encode(am_stats.measurements_info)*};
|
|
const SHOW_IFACE = {{ ntop.isPingIfaceAvailable() }};
|
|
</script>
|
|
<script type='text/javascript' src='{{ ntop.getHttpPrefix() }}/js/utils/active_monitoring_utils.js?{{ ntop.getStaticFileEpoch() }}'></script>
|
|
|