v6.3.10.0

Changelog: https://roxy-wi.org/changelog#6_3_10
pull/364/head v6.3.10.0
Aidaho 2023-04-29 09:30:58 +03:00
parent 14539e8511
commit 1e34e0b996
5 changed files with 27 additions and 4 deletions

View File

@ -780,8 +780,7 @@ if form.getvalue('updatehapwiserver') is not None:
service = form.getvalue('service_name')
sql.update_hapwi_server(hapwi_id, alert, metrics, active, service)
server_ip = sql.select_server_ip_by_id(hapwi_id)
roxywi_common.logging(server_ip, f'The server {name} has been updated ', roxywi=1, login=1, keep_history=1,
service=service)
roxywi_common.logging(server_ip, f'The server {name} has been updated ', roxywi=1, login=1, keep_history=1, service=service)
if form.getvalue('updateserver') is not None:
name = form.getvalue('updateserver')
@ -1273,7 +1272,7 @@ if form.getvalue('awsinit') or form.getvalue('doinit') or form.getvalue('gcorein
print('error: ' + stderr)
else:
if "Terraform initialized in an empty directory" in output[0]:
print('error: There is not need modules')
print('error: There is not need module')
elif "mkdir .terraform: permission denied" in output[0]:
print('error: Cannot init. Check permission to folder')
@ -1842,7 +1841,7 @@ if form.getvalue('gcoreeditworkspace'):
):
try:
cmd = 'cd scripts/terraform/ && sudo terraform workspace select ' + workspace + '_' + group + '_gcore'
cmd = f'cd scripts/terraform/ && sudo terraform workspace select {workspace}_{group}_gcore'
output, stderr = server_mod.subprocess_execute(cmd)
except Exception as e:
print('error: ' + str(e))

View File

@ -161,6 +161,7 @@
"checker_check_interval": "Threshold value for maxconn alerting, in %",
"smon_ssl_expire_warning_alert": "Warning alert about a SSL certificate expiration (in days)",
"smon_ssl_expire_critical_alert": "Critical alert about a SSL certificate expiration (in days)",
"action_keep_history_range": "Retention period for Action history (in days)",
},
"main": {
"time_zone": "Time Zone",
@ -861,5 +862,10 @@
"processes": "processes",
"position": "position",
"global": "global",
"none": "none",
"headers": "headers",
"value": "value",
"if": "if",
"then": "then",
}
%}

View File

@ -161,6 +161,7 @@
"checker_check_interval": "Valeur du seuil pour les alertes maxconn, en %",
"smon_ssl_expire_warning_alert": "Alerte type warning dès qu'un certificat SSL expire (en jours)",
"smon_ssl_expire_critical_alert": "Alerte tpye critical dès qu'un certificat SSL expire (en jours)",
"action_keep_history_range": "Période de conservation de l'historique des actions (en jours)",
},
"main": {
"time_zone": "Fuseau horaire",
@ -861,5 +862,10 @@
"processes": "processus",
"position": "position",
"global": "mondial",
"none": "aucun",
"headers": "en-têtes",
"value": "valeur",
"if": "si",
"then": "alors",
}
%}

View File

@ -161,6 +161,7 @@
"checker_check_interval": "Valor limite para a notificação de maxconn, em %",
"smon_ssl_expire_warning_alert": "Aviso de alerta sobre a expiração do certificado SSL (em dias)",
"smon_ssl_expire_critical_alert": "Alerta critico a expiração do certificado SSL (em dias)"
"action_keep_history_range": "Período de retenção do histórico de ações (em dias)",
},
"main": {
"time_zone": "Fuso horário.",
@ -861,5 +862,10 @@
"processes": "processos",
"position": "posição",
"global": "global",
"none": "nenhum",
"headers": "cabeçalhos",
"value": "valor",
"if": "se",
"then": "então",
}
%}

View File

@ -161,6 +161,7 @@
"checker_check_interval": "Порог срабатывания уведомления по maxconn, в %",
"smon_ssl_expire_warning_alert": "Предупреждение о истечении SSL-сертификата (в днях)",
"smon_ssl_expire_critical_alert": "Критическое предупреждение о истечении SSL-сертификата (в днях)",
"action_keep_history_range": "Время хранения истории действий (в днях)",
},
"main": {
"time_zone": "Временная зона",
@ -861,5 +862,10 @@
"processes": "процессов",
"position": "позицию",
"global": "глобальный",
"none": "нет",
"headers": "заголовки",
"value": "значение",
"if": "если",
"then": "тогда",
}
%}