From c0d3652855ac7c735c7a90a1f68f3e953923654e Mon Sep 17 00:00:00 2001 From: PiBa-NL Date: Sun, 14 Apr 2013 00:41:54 +0200 Subject: haproxy-devel, added support for combining acl's -Agent check (lb-agent-chk) -binding multiple port's -new try at including OpenSSL 1.0.1 -fix combining frontends --- config/haproxy-devel/haproxy_pool_edit.php | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'config/haproxy-devel/haproxy_pool_edit.php') diff --git a/config/haproxy-devel/haproxy_pool_edit.php b/config/haproxy-devel/haproxy_pool_edit.php index c3707903..a1a3c69e 100644 --- a/config/haproxy-devel/haproxy_pool_edit.php +++ b/config/haproxy-devel/haproxy_pool_edit.php @@ -51,7 +51,7 @@ if (isset($_GET['dup'])) global $simplefields; $simplefields = array( "name","cookie","balance", -"check_type","checkinter","httpcheck_method","monitor_uri","monitor_httpversion","monitor_username","monitor_domain", +"check_type","checkinter","httpcheck_method","monitor_uri","monitor_httpversion","monitor_username","monitor_domain","monitor_agentport", "connection_timeout","server_timeout","retries", "stats_enabled","stats_username","stats_password","stats_uri","stats_realm","stats_admin","stats_node_enabled","stats_node","stats_desc","stats_refresh"); @@ -269,10 +269,15 @@ foreach($simplefields as $field){ setCSSdisplay(".haproxy_check_http", check_type == 'HTTP'); setCSSdisplay(".haproxy_check_username", check_type == 'MySQL' || check_type == 'PostgreSQL'); setCSSdisplay(".haproxy_check_smtp", check_type == 'SMTP' || check_type == 'ESMTP'); + setCSSdisplay(".haproxy_check_agent", check_type == 'Agent'); monitor_username = d.getElementById("monitor_username"); sqlcheckusername = d.getElementById("sqlcheckusername"); - sqlcheckusername.innerHTML=monitor_username.value; + if(!browser_InnerText_support){ + sqlcheckusername.textContent = monitor_username.value; + } else{ + sqlcheckusername.innerText = monitor_username.value; + } } @@ -567,6 +572,14 @@ FLUSH PRIVILEGES; size="64"> + + Agentport + + size="64"> +
+ Fill in the TCP portnumber the healtcheck should be performed on. + +
@@ -696,6 +709,7 @@ set by the 'retries' parameter. + browser_InnerText_support = (document.getElementsByTagName("body")[0].innerText != undefined) ? true : false; field_counter_js = 7; rows = 1; -- cgit v1.2.3