Hello,
Wanted to offer up this Cacti "Data Query" for Haproxy backend servers
for review. And use for those in the know.
Yes, it does NOT come w/ the required "Data Templates" and "Graph
Templates". If you have questions about making those, let me know. It
is not a simple process, but there is a chapter in the Cacti book that
covers it horribly and unclearly, and I can fill in the missing pieces
for you for $$$, just kidding, for free.
Also, if you have questions what this is particular "Data Query" is
doing, how the hell it works, just let me know.
The two currently offered "Data Queries" are for the frontend and
backend stats, all but useless to me as a sysadmin trying to debug
issues.
Paul
<interface>
<name>Get Haproxy servers</name>
<description>Queries a host for a list of backend servers</description>
<oid_index>.1.3.6.1.4.1.29385.106.1.2.28.1</oid_index>
<index_order>beDescr:beIndex</index_order>
<index_order_type>alphabetic</index_order_type>
<index_title_format>|chosen_order_field|</index_title_format>
<fields>
<beIndex>
<name>Index</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.29385.106.1.2.28.1</oid>
</beIndex>
<beDescr>
<name>Description</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.29385.106.1.2.1.1</oid>
</beDescr>
<beSessionsCurrent>
<name>Sessions Current</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.29385.106.1.2.4.1</oid>
</beSessionsCurrent>
<beSessionsMax>
<name>Sessions Max</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.29385.106.1.2.5.1</oid>
</beSessionsMax>
<beSessionsLimit>
<name>Sessions Limit</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.29385.106.1.2.6.1</oid>
</beSessionsLimit>
<beQueueCurrent>
<name>Queue Current</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.29385.106.1.2.2.1</oid>
</beQueueCurrent>
<beQueueMax>
<name>Queue Max</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.29385.106.1.2.3.1</oid>
</beQueueMax>
<beSessionsRateCurrent>
<name>Sessions Rate Current</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.29385.106.1.2.33.1</oid>
</beSessionsRateCurrent>
</fields>
</interface>