<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>programatically checking failed machines</title>
        <description> List,

I'm wondering, is there a hook or something of this nature I can call to find if/what are the down machines in my config file?  Essentially the issue I'm attempting to solve is to automatically remove servers that haproxy believes are down.  These machines are all SSL, so the ssl-hello-chk is the only way to tell if these machines are alive.  Has anyone run into this?</description>
        <link>http://www.serverphorums.com/read.php?10,505373,505373#msg-505373</link>
        <lastBuildDate>Thu, 23 May 2013 01:45:29 +0200</lastBuildDate>
        <generator>Phorum 5.2.18</generator>
        <item>
            <guid>http://www.serverphorums.com/read.php?10,505373,508231#msg-508231</guid>
            <title>Re: programatically checking failed machines</title>
            <link>http://www.serverphorums.com/read.php?10,505373,508231#msg-508231</link>
            <description><![CDATA[ On Mon, Jun 04, 2012 at 01:13:31PM -0700, Cord MacLeod wrote:<br />
&gt; Just got around to attempting this, it appears not to work with SSL.  Is there any other option (stunnel breaks a lot and doesn't support 1 off connections)?<br />
&gt; <br />
&gt;  * Reloading haproxy haproxy                                                                                              [WARNING] 155/201028 (3442) : config : 'stats' statement ignored for proxy 'ssl-relay' as it requires HTTP mode.<br />
<br />
That's expected since your SSL instance works in TCP mode. The &quot;stats uri&quot;<br />
statement must be in an HTTP instance (use a dedicated port as most people<br />
do, it looks like a waste at first but it's very convenient in the long run).<br />
<br />
Also the &quot;stats socket&quot; in the global section allows you much more fun, as<br />
you can connect there to get stats, change weights, start/stop servers,<br />
kill server connections, etc...<br />
<br />
Regards,<br />
Willy]]></description>
            <dc:creator>Willy Tarreau</dc:creator>
            <category>HAProxy</category>
            <pubDate>Wed, 06 Jun 2012 00:20:01 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?10,505373,507716#msg-507716</guid>
            <title>Re: programatically checking failed machines</title>
            <link>http://www.serverphorums.com/read.php?10,505373,507716#msg-507716</link>
            <description><![CDATA[ Could you at least provide your config?<br />
<br />
cheers<br />
<br />
On Mon, Jun 4, 2012 at 10:13 PM, Cord MacLeod &lt;cordmacleod@gmail.com&gt; wrote:<br />
&gt; Just got around to attempting this, it appears not to work with SSL.  Is<br />
&gt; there any other option (stunnel breaks a lot and doesn't support 1 off<br />
&gt; connections)?<br />
&gt;<br />
&gt;  * Reloading haproxy haproxy<br />
&gt;                                              [WARNING] 155/201028 (3442) :<br />
&gt; config : 'stats' statement ignored for proxy 'ssl-relay' as it requires HTTP<br />
&gt; mode.<br />
&gt;<br />
&gt;                                        [ OK ]<br />
&gt;<br />
&gt;<br />
&gt;<br />
&gt; On May 30, 2012, at 12:03 PM, Miah Johnson wrote:<br />
&gt;<br />
&gt; Cord,<br />
&gt;<br />
&gt; Yes! You can use 'stats socket' or 'stats uri', and a small program that<br />
&gt; reads that to monitor your haproxy system. From there you can gather many<br />
&gt; statistics about your haproxy server, including but not limited to server<br />
&gt; status (up,down,etc), number of failed checks, and downtime.<br />
&gt;<br />
&gt; --<br />
&gt; Miah Johnson<br />
&gt;<br />
&gt; On Wednesday, May 30, 2012 at 11:36 AM, Cord MacLeod wrote:<br />
&gt;<br />
&gt; List,<br />
&gt;<br />
&gt; I'm wondering, is there a hook or something of this nature I can call to<br />
&gt; find if/what are the down machines in my config file? Essentially the issue<br />
&gt; I'm attempting to solve is to automatically remove servers that haproxy<br />
&gt; believes are down. These machines are all SSL, so the ssl-hello-chk is the<br />
&gt; only way to tell if these machines are alive. Has anyone run into this?<br />
&gt;<br />
&gt;<br />
&gt;]]></description>
            <dc:creator>Baptiste</dc:creator>
            <category>HAProxy</category>
            <pubDate>Tue, 05 Jun 2012 09:10:01 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?10,505373,507547#msg-507547</guid>
            <title>Re: programatically checking failed machines</title>
            <link>http://www.serverphorums.com/read.php?10,505373,507547#msg-507547</link>
            <description><![CDATA[ Just got around to attempting this, it appears not to work with SSL.  Is there any other option (stunnel breaks a lot and doesn't support 1 off connections)?<br />
<br />
 * Reloading haproxy haproxy                                                                                              [WARNING] 155/201028 (3442) : config : 'stats' statement ignored for proxy 'ssl-relay' as it requires HTTP mode.<br />
                                                                                                                   [ OK ]<br />
<br />
<br />
<br />
On May 30, 2012, at 12:03 PM, Miah Johnson wrote:<br />
<br />
&gt; Cord,<br />
&gt; <br />
&gt; Yes! You can use 'stats socket' or 'stats uri', and a small program that reads that to monitor your haproxy system. From there you can gather many statistics about your haproxy server, including but not limited to server status (up,down,etc), number of failed checks, and downtime.<br />
&gt; <br />
&gt; -- <br />
&gt; Miah Johnson<br />
&gt; <br />
&gt; On Wednesday, May 30, 2012 at 11:36 AM, Cord MacLeod wrote:<br />
&gt; <br />
&gt;&gt; List,<br />
&gt;&gt; <br />
&gt;&gt; I'm wondering, is there a hook or something of this nature I can call to find if/what are the down machines in my config file? Essentially the issue I'm attempting to solve is to automatically remove servers that haproxy believes are down. These machines are all SSL, so the ssl-hello-chk is the only way to tell if these machines are alive. Has anyone run into this?<br />
&gt;]]></description>
            <dc:creator>Cord MacLeod</dc:creator>
            <category>HAProxy</category>
            <pubDate>Mon, 04 Jun 2012 22:20:01 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?10,505373,505589#msg-505589</guid>
            <title>Re: programatically checking failed machines</title>
            <link>http://www.serverphorums.com/read.php?10,505373,505589#msg-505589</link>
            <description><![CDATA[ Hi,<br />
<br />
You could also use stunnel in client mode and run your health checks over it :)<br />
<br />
cheers<br />
<br />
On Wed, May 30, 2012 at 9:03 PM, Miah Johnson &lt;miah@chia-pet.org&gt; wrote:<br />
&gt; Cord,<br />
&gt;<br />
&gt; Yes! You can use 'stats socket' or 'stats uri', and a small program that<br />
&gt; reads that to monitor your haproxy system. From there you can gather many<br />
&gt; statistics about your haproxy server, including but not limited to server<br />
&gt; status (up,down,etc), number of failed checks, and downtime.<br />
&gt;<br />
&gt; --<br />
&gt; Miah Johnson<br />
&gt;<br />
&gt; On Wednesday, May 30, 2012 at 11:36 AM, Cord MacLeod wrote:<br />
&gt;<br />
&gt; List,<br />
&gt;<br />
&gt; I'm wondering, is there a hook or something of this nature I can call to<br />
&gt; find if/what are the down machines in my config file? Essentially the issue<br />
&gt; I'm attempting to solve is to automatically remove servers that haproxy<br />
&gt; believes are down. These machines are all SSL, so the ssl-hello-chk is the<br />
&gt; only way to tell if these machines are alive. Has anyone run into this?<br />
&gt;<br />
&gt;]]></description>
            <dc:creator>Baptiste</dc:creator>
            <category>HAProxy</category>
            <pubDate>Thu, 31 May 2012 06:50:01 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?10,505373,505386#msg-505386</guid>
            <title>Re: programatically checking failed machines</title>
            <link>http://www.serverphorums.com/read.php?10,505373,505386#msg-505386</link>
            <description><![CDATA[ Cord, <br />
<br />
Yes! You can use 'stats socket' or 'stats uri', and a small program that reads that to monitor your haproxy system. From there you can gather many statistics about your haproxy server, including but not limited to server status (up,down,etc), number of failed checks, and downtime.<br />
<br />
-- <br />
Miah Johnson<br />
<br />
<br />
On Wednesday, May 30, 2012 at 11:36 AM, Cord MacLeod wrote:<br />
<br />
&gt; List,<br />
&gt; <br />
&gt; I'm wondering, is there a hook or something of this nature I can call to find if/what are the down machines in my config file? Essentially the issue I'm attempting to solve is to automatically remove servers that haproxy believes are down. These machines are all SSL, so the ssl-hello-chk is the only way to tell if these machines are alive. Has anyone run into this?]]></description>
            <dc:creator>Miah Johnson</dc:creator>
            <category>HAProxy</category>
            <pubDate>Wed, 30 May 2012 21:10:01 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?10,505373,505373#msg-505373</guid>
            <title>programatically checking failed machines</title>
            <link>http://www.serverphorums.com/read.php?10,505373,505373#msg-505373</link>
            <description><![CDATA[ List,<br />
<br />
I'm wondering, is there a hook or something of this nature I can call to find if/what are the down machines in my config file?  Essentially the issue I'm attempting to solve is to automatically remove servers that haproxy believes are down.  These machines are all SSL, so the ssl-hello-chk is the only way to tell if these machines are alive.  Has anyone run into this?]]></description>
            <dc:creator>Cord MacLeod</dc:creator>
            <category>HAProxy</category>
            <pubDate>Wed, 30 May 2012 20:40:01 +0200</pubDate>
        </item>
    </channel>
</rss>
