Package: munin-plugins-core
Version: 2.0.37-1~bpo9+1
Severity: normal

Dear Maintainer,

I have upgraded munin from sretch-backports, to overcome incompatibilites with 
PostgreSQL 10:

```
# apt-cache policy munin-node munin-plugins-core | fgrep Installed
  Installed: 2.0.37-1~bpo9+1
  Installed: 2.0.37-1~bpo9+1
```

But just after installation, PostgreSQL (9.6 and 10) clusters started to 
accumualte spam:

```
2018-10-19 16:26:20 EEST [unknown] munin munin [local] FATAL:  database "munin" 
does not exist
2018-10-19 16:26:20 EEST [unknown] munin munin [local] FATAL:  database "munin" 
does not exist
2018-10-19 16:26:20 EEST [unknown] munin munin [local] FATAL:  database "munin" 
does not exist
2018-10-19 16:26:21 EEST [unknown] munin munin [local] FATAL:  database "munin" 
does not exist
2018-10-19 16:26:21 EEST [unknown] munin munin [local] FATAL:  database "munin" 
does not exist
```
munin-node.log contains:

```
2018/10/19-16:26:20 [3780] Error output from postgres_locks_ALL:
2018/10/19-16:26:20 [3780]      Use of uninitialized value $dbname in 
concatenation (.) or string at /usr/share/perl5/Munin/Plugin/Pgsql.pm line 430.
2018/10/19-16:26:20 [3780]      DBI connect('dbname=','',...) failed: FATAL:  
database "munin" does not exist at /usr/share/perl5/Munin/Plugin/Pgsql.pm line 
430.
2018/10/19-16:26:20 [3780] Service 'postgres_locks_ALL' exited with status 1/0.

2018/10/19-16:26:20 [3780] Error output from postgres_querylength_ALL:
2018/10/19-16:26:20 [3780]      Use of uninitialized value $dbname in 
concatenation (.) or string at /usr/share/perl5/Munin/Plugin/Pgsql.pm line 430.
2018/10/19-16:26:20 [3780]      DBI connect('dbname=','',...) failed: FATAL:  
database "munin" does not exist at /usr/share/perl5/Munin/Plugin/Pgsql.pm line 
430.
2018/10/19-16:26:20 [3780] Service 'postgres_querylength_ALL' exited with 
status 1/0.

2018/10/19-16:26:21 [3780] Error output from postgres_cache_ALL:
2018/10/19-16:26:21 [3780]      Use of uninitialized value $dbname in 
concatenation (.) or string at /usr/share/perl5/Munin/Plugin/Pgsql.pm line 430.
2018/10/19-16:26:21 [3780]      DBI connect('dbname=','',...) failed: FATAL:  
database "munin" does not exist at /usr/share/perl5/Munin/Plugin/Pgsql.pm line 
430.
2018/10/19-16:26:21 [3780] Service 'postgres_cache_ALL' exited with status 1/0.

2018/10/19-16:26:21 [3780] Error output from postgres_connections_ALL:
2018/10/19-16:26:21 [3780]      Use of uninitialized value $dbname in 
concatenation (.) or string at /usr/share/perl5/Munin/Plugin/Pgsql.pm line 430.
2018/10/19-16:26:21 [3780]      DBI connect('dbname=','',...) failed: FATAL:  
database "munin" does not exist at /usr/share/perl5/Munin/Plugin/Pgsql.pm line 
430.
2018/10/19-16:26:21 [3780] Service 'postgres_connections_ALL' exited with 
status 1/0.

2018/10/19-16:26:22 [3780] Error output from postgres_size_ALL:
2018/10/19-16:26:22 [3780]      Use of uninitialized value $dbname in 
concatenation (.) or string at /usr/share/perl5/Munin/Plugin/Pgsql.pm line 430.
2018/10/19-16:26:22 [3780]      DBI connect('dbname=','',...) failed: FATAL:  
database "munin" does not exist at /usr/share/perl5/Munin/Plugin/Pgsql.pm line 
430.
2018/10/19-16:26:22 [3780] Service 'postgres_size_ALL' exited with status 1/0.
```

My config:

```
# cat /etc/munin/plugin-conf.d/postgresql
[postgres_*]
user munin
env.PGHOST /var/run/postgresql
```

There where no issues like that with previous 2.0.33-1 version.

Any ideas on how to work-around it? Our DBA is not happy very much :) .

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

Kernel: Linux 4.18.0-0.bpo.1-amd64 (SMP w/4 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 munin-plugins-core depends on:
ii  munin-common  2.0.37-1~bpo9+1
ii  perl          5.24.1-3+deb9u4

Versions of packages munin-plugins-core recommends:
ii  libnet-snmp-perl  6.0.1-2

Versions of packages munin-plugins-core suggests:
ii  bc                       1.06.95-9+b3
ii  conntrack                1:1.4.4+snapshot20161117-5
pn  libcache-cache-perl      <none>
pn  libdbd-mysql-perl        <none>
pn  libnet-dns-perl          <none>
pn  libnet-netmask-perl      <none>
pn  libnet-telnet-perl       <none>
pn  libxml-parser-perl       <none>
ii  python                   2.7.13-2
pn  ruby | ruby-interpreter  <none>
pn  time                     <none>

-- no debconf information

Reply via email to