From: Krzysztof Piotr Oledzki Date: Mon, 25 Oct 2010 12:59:22 +0000 (+0200) Subject: [CONTRIB] Update Cacti Tempates X-Git-Tag: v1.5-dev8~425 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6190b7d9dca43c18c1f37b96091610976289561c;p=thirdparty%2Fhaproxy.git [CONTRIB] Update Cacti Tempates This patch adds new haproxy_socket.xml template and updates haproxy_backend.xml and haproxy_frontend.xml templates. (cherry picked from commit 67cd1d55b5513e4186f021a7014e9442fd7a710f) --- diff --git a/contrib/netsnmp-perl/haproxy_backend.xml b/contrib/netsnmp-perl/haproxy_backend.xml index 9bbde2fe8e..a5dbe543d6 100644 --- a/contrib/netsnmp-perl/haproxy_backend.xml +++ b/contrib/netsnmp-perl/haproxy_backend.xml @@ -37,13 +37,6 @@ output .1.3.6.1.4.1.29385.106.1.1.7 - - Response Errors - get - value - output - .1.3.6.1.4.1.29385.106.1.1.14 - Bytes In get @@ -58,5 +51,33 @@ output .1.3.6.1.4.1.29385.106.1.1.9 + + Connection Errors + get + value + output + .1.3.6.1.4.1.29385.106.1.1.13 + + + Response Errors + get + value + output + .1.3.6.1.4.1.29385.106.1.1.14 + + + LB Total + get + value + output + .1.3.6.1.4.1.29385.106.1.1.30 + + + Denied Requests + get + value + output + .1.3.6.1.4.1.29385.106.1.1.10 + diff --git a/contrib/netsnmp-perl/haproxy_frontend.xml b/contrib/netsnmp-perl/haproxy_frontend.xml index 09789c88e3..028ebc7353 100644 --- a/contrib/netsnmp-perl/haproxy_frontend.xml +++ b/contrib/netsnmp-perl/haproxy_frontend.xml @@ -30,6 +30,20 @@ input .1.3.6.1.4.1.29385.106.1.0.1 + + Current Sessions + get + value + output + .1.3.6.1.4.1.29385.106.1.0.4 + + + Maximum Sessions + get + value + output + .1.3.6.1.4.1.29385.106.1.0.5 + Total Sessions get @@ -58,5 +72,12 @@ output .1.3.6.1.4.1.29385.106.1.0.9 + + Denied Requests + get + value + output + .1.3.6.1.4.1.29385.106.1.0.10 + diff --git a/contrib/netsnmp-perl/haproxy_socket.xml b/contrib/netsnmp-perl/haproxy_socket.xml new file mode 100644 index 0000000000..63ae110e2e --- /dev/null +++ b/contrib/netsnmp-perl/haproxy_socket.xml @@ -0,0 +1,90 @@ + + HAProxy - socket + .1.3.6.1.4.1.29385.106.1.3.10001 + + + Unique Index + get + value + input + .1.3.6.1.4.1.29385.106.1.3.10001 + + + Proxy ID + get + value + input + .1.3.6.1.4.1.29385.106.1.3.27 + + + Service ID + get + value + input + .1.3.6.1.4.1.29385.106.1.3.28 + + + Proxy Name + get + value + input + .1.3.6.1.4.1.29385.106.1.3.0 + + + Service Name + get + value + input + .1.3.6.1.4.1.29385.106.1.3.1 + + + Current Sessions + get + value + output + .1.3.6.1.4.1.29385.106.1.3.4 + + + Maximum Sessions + get + value + output + .1.3.6.1.4.1.29385.106.1.3.5 + + + Total Sessions + get + value + output + .1.3.6.1.4.1.29385.106.1.3.7 + + + Request Errors + get + value + output + .1.3.6.1.4.1.29385.106.1.3.12 + + + Bytes In + get + value + output + .1.3.6.1.4.1.29385.106.1.3.8 + + + Bytes Out + get + value + output + .1.3.6.1.4.1.29385.106.1.3.9 + + + Denied Requests + get + value + output + .1.3.6.1.4.1.29385.106.1.3.10 + + +