[Pkg-nagios-devel] Bug#888495: check_haproxy_stats: Please change default location admin sock

Jean-Michel Vourgère nirgal at debian.org
Fri Jan 26 11:23:06 UTC 2018


Package: nagios-plugins-contrib
Version: 21.20170222
Severity: minor

Dear Maintainer,

Running
/usr/lib/nagios/plugins/check_haproxy_stats
returns:
> Unable to connect to haproxy socket: connect: No such file or directory at /usr/lib/nagios/plugins/check_haproxy_stats line 144.

/usr/lib/nagios/plugins/check_haproxy_stats --help
says:
> -s, --sock, --socket
>   Use named UNIX socket instead of default (/var/run/haproxy.sock)

/usr/lib/nagios/plugins/check_haproxy_stats -s /var/run/haproxy/admin.sock
runs ok.

Please change default socket location to match debian default.
See haproxy (1.5~dev24-2) changelog at
http://metadata.ftp-master.debian.org/changelogs/main/h/haproxy/unstable_changelog
and commit at
https://anonscm.debian.org/cgit/pkg-haproxy/haproxy.git/commit/?id=8b77d5e324bb11466a3e10cd4885234f9cbf8a61

Thank you!

-- System Information:
Debian Release: 9.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8), LANGUAGE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

nagios-plugins-contrib depends on no packages.

Versions of packages nagios-plugins-contrib recommends:
ii  bind9-host                                     1:9.10.3.dfsg.P4-12.3+deb9u4
ii  binutils                                       2.28-5
pn  freeipmi-tools                                 <none>
ii  libc6                                          2.24-11+deb9u1
pn  libdata-validate-domain-perl                   <none>
pn  libdata-validate-ip-perl                       <none>
pn  libdate-manip-perl                             <none>
pn  libdbd-mysql-perl                              <none>
ii  libio-socket-ssl-perl                          2.044-1
ii  libipc-run-perl                                0.94-1
ii  liblocale-gettext-perl                         1.07-3+b1
pn  liblwp-useragent-determined-perl               <none>
pn  libmail-imapclient-perl                        <none>
pn  libmemcached11                                 <none>
pn  libmemcachedutil2                              <none>
pn  libmonitoring-plugin-perl | libnagios-plugin-  <none>
pn  libnet-cups-perl                               <none>
ii  libnet-dns-perl                                1.07-1
pn  libnet-dns-sec-perl                            <none>
ii  libnet-smtp-ssl-perl                           1.04-1
pn  libnet-smtp-tls-perl                           <none>
pn  libnet-smtpauth-perl                           <none>
pn  libnet-snmp-perl                               <none>
ii  libnet-ssleay-perl                             1.80-1
pn  libreadonly-perl                               <none>
pn  libredis-perl                                  <none>
ii  libtimedate-perl                               2.3000-2
pn  libvarnishapi1                                 <none>
pn  libwebinject-perl                              <none>
pn  libxml-simple-perl                             <none>
pn  libyaml-syck-perl                              <none>
ii  lsof                                           4.89+dfsg-0.1
pn  nagios-plugins-basic                           <none>
ii  openssl                                        1.1.0f-3+deb9u1
ii  perl                                           5.24.1-3+deb9u2
ii  perl-base [libsocket-perl]                     5.24.1-3+deb9u2
ii  python                                         2.7.13-2
pn  python-pymongo                                 <none>
pn  ruby | ruby-interpreter                        <none>
pn  snmp                                           <none>
ii  whois                                          5.2.17~deb9u1

Versions of packages nagios-plugins-contrib suggests:
pn  backuppc                   <none>
pn  cciss-vol-status           <none>
pn  expect                     <none>
pn  libsys-virt-perl           <none>
ii  moreutils                  0.60-1
pn  mpt-status                 <none>
pn  nagios-plugin-check-multi  <none>
pn  percona-toolkit            <none>
pn  perl-doc                   <none>
ii  python2.7                  2.7.13-2+deb9u2
pn  smstools                   <none>



More information about the Pkg-nagios-devel mailing list