A
A
Alexander Avtomonov2014-07-31 18:08:52
PostgreSQL
Alexander Avtomonov, 2014-07-31 18:08:52

How to solve problems with adding PostgreSQL plugins to Munin?

Worth Munin under FreeBSD 10. Works fine. PostgreSQL plugins needed to be added.
When executed
$ munin-node-configure --shell
, a bunch of messages like this pops up:

# pgbouncer_connections:
#       Junk printed to stderr

They concern not only plug-ins of postgres'a.
Who faced, help to cope with a problem.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anatoly, 2020-04-15
@Horizon

I have the same problem I
execute
munin-run pgbouncer_connections --debug
I get as a result

# Processing plugin configuration from /etc/munin/plugin-conf.d/munin-node
# Setting /rgid/ruid/ to /121/65534/
# Setting /egid/euid/ to /121 121/65534/
# Setting up environment
# About to run '/etc/munin/plugins/pgbouncer_connections'
DBI connect('dbname=pgbouncer','',...) failed: fe_sendauth: no password supplied at /usr/share/perl5/Munin/Plugin/Pgsql.pm line 430.
Failed to connect to database: fe_sendauth: no password supplied

I obviously can't connect. Editing /etc/munin/plugin-conf.d/munin-node does not help (maybe I'm doing something wrong)
Have you tried running the plugin with debug?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question