[Pkg-nagios-devel] Bug#884076: nagios-plugins-standard: check_mysql segfaults with --extra-opts

Joonas Kylmälä joonas.kylmala at kirjastot.fi
Mon Dec 11 09:06:35 UTC 2017


Package: monitoring-plugins-standard
Version: 2.2-3
Severity: normal

Dear Maintainer,

I ran the command "/usr/lib/nagios/plugins/check_mysql --extra-opts" and
it gave me the following output: "Segmentation fault".

I would have expected it to give the same output as running the command
like this:

$ /usr/lib/nagios/plugins/check_mysql
--extra-opts=check_mysql@/etc/monitoring-plugins.ini
Uptime: 603545  Threads: 1  Questions: 48355  Slow queries: 0  Opens:
108  Flush tables: 1  Open tables: 41  Queries per second avg:
0.080|Connections=644c;;; Open_files=63;;; Open_tables=41;;;
Qcache_free_memory=0;;; Qcache_hits=0c;;; Qcache_inserts=0c;;;
Qcache_lowmem_prunes=0c;;; Qcache_not_cached=0c;;;
Qcache_queries_in_cache=0;;; Queries=48355c;;; Questions=48355c;;;
Table_locks_waited=0c;;; Threads_connected=1;;; Threads_running=1;;;
Uptime=603545c;;;


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

Kernel: Linux 4.9.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages monitoring-plugins-standard depends on:
ii  libc6                     2.24-11+deb9u1
ii  monitoring-plugins-basic  2.2-3
ii  ucf                       3.0036

Versions of packages monitoring-plugins-standard recommends:
ii  bind9-host [host]   1:9.10.3.dfsg.P4-12.3+deb9u3
ii  dnsutils            1:9.10.3.dfsg.P4-12.3+deb9u3
ii  host                1:9.10.3.dfsg.P4-12.3+deb9u3
ii  libdbi1             0.9.0-4+b2
ii  libldap-2.4-2       2.4.44+dfsg-5+deb9u1
ii  libmariadbclient18  10.1.26-0+deb9u1
ii  libnet-snmp-perl    6.0.1-2
ii  libpq5              9.6.6-0+deb9u1
ii  libradcli4          1.2.6-4
ii  rpcbind             0.2.3-0.6
ii  smbclient           2:4.5.12+dfsg-2+deb9u1
ii  snmp                5.7.3+dfsg-1.7
ii  zlib1g              1:1.2.8.dfsg-5

Versions of packages monitoring-plugins-standard suggests:
pn  fping                                                             <none>
pn  icinga | icinga2                                                  <none>
pn  postfix | sendmail-bin | exim4-daemon-heavy | exim4-daemon-light  <none>
pn  qstat                                                             <none>

-- no debconf information



More information about the Pkg-nagios-devel mailing list