]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
[CONTRIB] Update Cacti Tempates
authorKrzysztof Piotr Oledzki <ole@ans.pl>
Mon, 25 Oct 2010 12:59:22 +0000 (14:59 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 30 Oct 2010 17:04:36 +0000 (19:04 +0200)
This patch adds new haproxy_socket.xml template and updates
haproxy_backend.xml and haproxy_frontend.xml templates.
(cherry picked from commit 67cd1d55b5513e4186f021a7014e9442fd7a710f)

contrib/netsnmp-perl/haproxy_backend.xml
contrib/netsnmp-perl/haproxy_frontend.xml
contrib/netsnmp-perl/haproxy_socket.xml [new file with mode: 0644]

index 9bbde2fe8ecb00b4e2a3eaf6e7ecb09ff8d3e004..a5dbe543d657300d5316d7737ac44ff30d62b710 100644 (file)
                        <direction>output</direction>
                        <oid>.1.3.6.1.4.1.29385.106.1.1.7</oid>
                </beSTot>
-               <beEResp>
-                       <name>Response Errors</name>
-                       <method>get</method>
-                       <source>value</source>
-                       <direction>output</direction>
-                       <oid>.1.3.6.1.4.1.29385.106.1.1.14</oid>
-               </beEResp>
                <beBIn>
                        <name>Bytes In</name>
                        <method>get</method>
                        <direction>output</direction>
                        <oid>.1.3.6.1.4.1.29385.106.1.1.9</oid>
                </beBOut>
+               <beEConn>
+                       <name>Connection Errors</name>
+                       <method>get</method>
+                       <source>value</source>
+                       <direction>output</direction>
+                       <oid>.1.3.6.1.4.1.29385.106.1.1.13</oid>
+               </beEConn>
+               <beEResp>
+                       <name>Response Errors</name>
+                       <method>get</method>
+                       <source>value</source>
+                       <direction>output</direction>
+                       <oid>.1.3.6.1.4.1.29385.106.1.1.14</oid>
+               </beEResp>
+               <beLBTot>
+                       <name>LB Total</name>
+                       <method>get</method>
+                       <source>value</source>
+                       <direction>output</direction>
+                       <oid>.1.3.6.1.4.1.29385.106.1.1.30</oid>
+               </beLBTot>
+               <beDReq>
+                       <name>Denied Requests</name>
+                       <method>get</method>
+                       <source>value</source>
+                       <direction>output</direction>
+                       <oid>.1.3.6.1.4.1.29385.106.1.1.10</oid>
+               </beDReq>
        </fields>
 </interface>
index 09789c88e3efac4b10be0308b5a2cf5b3dc7afd9..028ebc735394c9067bbc9e53d6f224365d8059b6 100644 (file)
                        <direction>input</direction>
                        <oid>.1.3.6.1.4.1.29385.106.1.0.1</oid>
                </feSvName>
+               <feSCur>
+                       <name>Current Sessions</name>
+                       <method>get</method>
+                       <source>value</source>
+                       <direction>output</direction>
+                       <oid>.1.3.6.1.4.1.29385.106.1.0.4</oid>
+               </feSCur>
+               <feSMax>
+                       <name>Maximum Sessions</name>
+                       <method>get</method>
+                       <source>value</source>
+                       <direction>output</direction>
+                       <oid>.1.3.6.1.4.1.29385.106.1.0.5</oid>
+               </feSMax>
                <feSTot>
                        <name>Total Sessions</name>
                        <method>get</method>
                        <direction>output</direction>
                        <oid>.1.3.6.1.4.1.29385.106.1.0.9</oid>
                </feBOut>
+               <feDReq>
+                       <name>Denied Requests</name>
+                       <method>get</method>
+                       <source>value</source>
+                       <direction>output</direction>
+                       <oid>.1.3.6.1.4.1.29385.106.1.0.10</oid>
+               </feDReq>
        </fields>
 </interface>
diff --git a/contrib/netsnmp-perl/haproxy_socket.xml b/contrib/netsnmp-perl/haproxy_socket.xml
new file mode 100644 (file)
index 0000000..63ae110
--- /dev/null
@@ -0,0 +1,90 @@
+<interface>
+       <name>HAProxy - socket</name>
+       <oid_index>.1.3.6.1.4.1.29385.106.1.3.10001</oid_index>
+       <fields>
+               <feseID>
+                       <name>Unique Index</name>
+                       <method>get</method>
+                       <source>value</source>
+                       <direction>input</direction>
+                       <oid>.1.3.6.1.4.1.29385.106.1.3.10001</oid>
+               </feseID>
+               <feIID>
+                       <name>Proxy ID</name>
+                       <method>get</method>
+                       <source>value</source>
+                       <direction>input</direction>
+                       <oid>.1.3.6.1.4.1.29385.106.1.3.27</oid>
+               </feIID>
+               <feSID>
+                       <name>Service ID</name>
+                       <method>get</method>
+                       <source>value</source>
+                       <direction>input</direction>
+                       <oid>.1.3.6.1.4.1.29385.106.1.3.28</oid>
+               </feSID>
+               <fePxName>
+                       <name>Proxy Name</name>
+                       <method>get</method>
+                       <source>value</source>
+                       <direction>input</direction>
+                       <oid>.1.3.6.1.4.1.29385.106.1.3.0</oid>
+               </fePxName>
+               <feSvName>
+                       <name>Service Name</name>
+                       <method>get</method>
+                       <source>value</source>
+                       <direction>input</direction>
+                       <oid>.1.3.6.1.4.1.29385.106.1.3.1</oid>
+               </feSvName>
+               <feSCur>
+                       <name>Current Sessions</name>
+                       <method>get</method>
+                       <source>value</source>
+                       <direction>output</direction>
+                       <oid>.1.3.6.1.4.1.29385.106.1.3.4</oid>
+               </feSCur>
+               <feSMax>
+                       <name>Maximum Sessions</name>
+                       <method>get</method>
+                       <source>value</source>
+                       <direction>output</direction>
+                       <oid>.1.3.6.1.4.1.29385.106.1.3.5</oid>
+               </feSMax>
+               <feSTot>
+                       <name>Total Sessions</name>
+                       <method>get</method>
+                       <source>value</source>
+                       <direction>output</direction>
+                       <oid>.1.3.6.1.4.1.29385.106.1.3.7</oid>
+               </feSTot>
+               <feEReq>
+                       <name>Request Errors</name>
+                       <method>get</method>
+                       <source>value</source>
+                       <direction>output</direction>
+                       <oid>.1.3.6.1.4.1.29385.106.1.3.12</oid>
+               </feEReq>
+               <feBIn>
+                       <name>Bytes In</name>
+                       <method>get</method>
+                       <source>value</source>
+                       <direction>output</direction>
+                       <oid>.1.3.6.1.4.1.29385.106.1.3.8</oid>
+               </feBIn>
+               <feBOut>
+                       <name>Bytes Out</name>
+                       <method>get</method>
+                       <source>value</source>
+                       <direction>output</direction>
+                       <oid>.1.3.6.1.4.1.29385.106.1.3.9</oid>
+               </feBOut>
+               <feDReq>
+                       <name>Denied Requests</name>
+                       <method>get</method>
+                       <source>value</source>
+                       <direction>output</direction>
+                       <oid>.1.3.6.1.4.1.29385.106.1.3.10</oid>
+               </feDReq>
+       </fields>
+</interface>