[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)
This commit is contained in:
Krzysztof Piotr Oledzki 2010-10-25 14:59:22 +02:00 committed by Willy Tarreau
parent 3989c4b0d4
commit 6190b7d9dc
3 changed files with 139 additions and 7 deletions

View File

@ -37,13 +37,6 @@
<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>
@ -58,5 +51,33 @@
<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>

View File

@ -30,6 +30,20 @@
<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>
@ -58,5 +72,12 @@
<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>

View File

@ -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>