Skip to content

Commit

Permalink
Add note on max num flows
Browse files Browse the repository at this point in the history
  • Loading branch information
cardigliano committed Jul 11, 2024
1 parent 7e64165 commit 4dd5241
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion httpdocs/templates/analyze_db.template
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
<H3> {{ i18n("analyze_db_ok") }} </H3>
<p>{{i18n("analyze_db_ok_descr")}}</p>
<p>
{{i18n("analyze_db_ok_descr")}}
<br>
<small>{{i18n("analyze_db_ok_note", {size=max_num_flows})}}</small>
</p>

<form method='POST' action="{{ ntop.getHttpPrefix() }}/lua/flows_stats.lua?ifid={{ iface_id }}">
<input hidden name='switch_interface' value='1' />
Expand Down
3 changes: 2 additions & 1 deletion scripts/locales/en.lua
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ local lang = {
["analyze_db_descr"] = "Please select a valid range for records to be analysed by ntopng",
["analyze_db_error"] = "Error while creating a new runtime interface",
["analyze_db_ok"] = "Records analysed succesfully",
["analyze_db_ok_descr"] = "Historical flows have been analysed and a new virtual network interface has been created.",
["analyze_db_ok_descr"] = "Historical flows have been analysed and a new virtual network interface is now available.",
["analyze_db_ok_note"] = "Please note historical flow processing is limited by the flow cache size (%{size} entries).",
["analyze_pcap"] = "Analyse pcap",
["analyze_pcap_descr"] = "Please select a pcap file to be uploaded to ntopng for analysis",
["analyze_pcap_error"] = "Error while creating a new pcap interface (same pcap already uploaded ?)",
Expand Down

0 comments on commit 4dd5241

Please sign in to comment.