Pavel Loginov 2021-02-18 10:54:50 +06:00
parent b20c72cc9a
commit 01aca8e3bd
4 changed files with 7 additions and 1 deletions

View File

@ -15,6 +15,7 @@ Web interface(user-friendly web GUI, alerting, monitoring and secure) for managi
1. Installation and updating HAProxy, Nginx and Keepalived with HAProxy-WI
1. Installation and updating Grafana, Prometheus servers with HAProxy-WI
1. Installation and updating HAProxy and Nginx exporters with HAProxy-WI
1. Servers provisioning on AWS and DigitalOcean
2. Configure HAProxy, Nginx and Keepalived In a jiffy with HAProxy-WI
3. Dynamic change of Maxconn, backend's IP address and port with saving changes to the config file
3. View and analyse Status of all Frontend/backend server via HAProxy-WI from a single control panel.

View File

@ -41,7 +41,10 @@
<option value="shutdown">Shutdown</option>
<option value="enable">Enable</option>
<option value="set">Set</option>
<option value="clear">Clear</option>
<option value="add">Add</option>
{% endif %}
<option value="get">Get</option>
<option value="show" selected>Show</option>
</select>
</td>

View File

@ -61,7 +61,7 @@ $( function() {
type: frm.attr('method'),
success: function( data ) {
data = data.replace('\n', '<br>');
if (data.indexOf('error: ') != '-1' || data.indexOf('Fatal') != '-1' || data.indexOf('Error(s)') != '-1') {
if (data.indexOf('error: ') != '-1' || data.indexOf('Fatal') != '-1' || data.indexOf('Error(s)') != '-1' || data.indexOf('failed ') != '-1') {
toastr.clear();
toastr.error(data);
} else {

View File

@ -24,6 +24,7 @@
<link href="/inc/style.css" rel="stylesheet">
<link href="/inc/nprogress.css" rel="stylesheet">
<link rel="stylesheet" href="/inc/jquery-ui.css">
<link href="/inc/provisioning.css" rel="stylesheet">
<script src="/inc/jquery-1.12.4.js"></script>
<script src="/inc/jquery-ui.js"></script>
<script src="/inc/nprogress.js"></script>
@ -41,6 +42,7 @@
<link href="/inc/toastr.css" rel="stylesheet"/>
<script src="/inc/toastr.js"></script>
<script defer src="/inc/ion.sound.min.js"></script>
<script src="/inc/provisioning.js"></script>
<meta http-equiv="refresh" content="0; url=/app/overview.py" />
</head>
<body style="background-color: #239dee;">