Control: tags -1 +patch

Trivial patch attached
Description: Change haproxy default socket to match debian haproxy
 haproxy enables admin socket at /var/run/haproxy/admin.sock by default since 1.5~dev24-2.
 This fixes the default location to work out of the box.
Forwarded: not-needed
Author: Jean-Michel Vourgère <>
Last-Update: 2018-02-14

--- a/check_haproxy_stats/
+++ b/check_haproxy_stats/
@@ -57,7 +57,7 @@
         in list.
     -s, --sock, --socket
-        Use named UNIX socket instead of default (/var/run/haproxy.sock)
+        Use named UNIX socket instead of default (/var/run/haproxy/admin.sock)
     -w, --warning
         Set warning threshold for sessions number to the specified percentage (see -c)
@@ -114,7 +114,7 @@
 # Defaults
 my $swarn = 80.0;
 my $scrit = 90.0;
-my $sock  = "/var/run/haproxy.sock";
+my $sock  = "/var/run/haproxy/admin.sock";
 my $dump;
 my $proxy;
 my $help;

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to