Adds localization for the implemented ClickHouse monitor

This commit is contained in:
Simone Mainardi 2021-12-06 16:38:55 +01:00
parent e09ef65569
commit 9d2155cc01

View file

@ -640,6 +640,7 @@ local lang = {
["ngi_trust_event"] = "Abnormal activity detected for device <a href=\"%{mac_url}\">%{mac}</a> at %{time}. [Last state: %{last_state}][Unchanged since: %{state_unchanged_since}][Abnormality grade: %{abnormality_grade}]",
["ngi_trust_event_released"] = "Device <a href=\"%{mac_url}\">%{mac}</a> state is back to normal at %{time}. [Last state: %{last_state}][Unchanged since: %{state_unchanged_since}][Abnormality grade: %{abnormality_grade}]",
["no_influxdb"] = "Please <A HREF=\"%{url}\">enable timeseries dump to InfluxDB</A> and then reload this page",
["no_clickhouse"] = "ClickHouse not enabled.",
["ntopng_anomalous_termination"] = "Started after anomalous termination (<a href=\"%{url}\">bug report</a>)",
["ntopng_start"] = "Started",
["ntopng_stop"] = "Stopped",
@ -777,6 +778,8 @@ local lang = {
["influxdb_export_failure"] = "InfluxDB Export Failure",
["influxdb_monitor"] = "InfluxDB monitor",
["influxdb_monitor_description"] = "Monitor the InfluxDB health",
["clickhouse_monitor"] = "ClickHouse monitor",
["clickhouse_monitor_description"] = "Monitor the ClickHouse health",
["info"] = "Info",
["internal_issues"] = "Internal Issues",
["involving_msg"] = "Flow Alerts Involving",
@ -5489,6 +5492,23 @@ local lang = {
["top_redis_commands"] = "Top Commands Calls",
["tot_calls"] = "Total Calls",
},
["clickhouse"] = {
["command_hits"] = "%{cmd} Calls",
["commands"] = "Commands",
["clickhouse_health_green"] = "OK",
["clickhouse_health_green_descr"] = "ClickHouse is working OK.",
["clickhouse_health_red"] = "Persistence Issues",
["clickhouse_health_red_descr"] = "Unable to query ClickHouse. Expect %{product} to malfunction.",
["clickhouse_flows_size"] = "Flows Table Size",
["clickhouse_alert_size"] = "Alert Tables Size",
["clickhouse_monitor"] = "ClickHouse Monitor",
["clickhouse_monitor_description"] = "Monitor the ClickHouse health",
["short_desc_clickhouse_health"] = "Current ClickHouse health.",
["short_desc_clickhouse_alert_size"] = "Total size of the ClickHouse alert tables.",
["short_desc_clickhouse_flows_size"] = "Total size of the ClickHouse flows table.",
["top_clickhouse_commands"] = "Top Commands Calls",
["tot_calls"] = "Total Calls",
},
},
["tags"] = {
["acknowledged"] = "Acknowledged",