Re: psql: fe_sendauth: no password supplied

Поиск
Список
Период
Сортировка
От Justin Pryzby
Тема Re: psql: fe_sendauth: no password supplied
Дата
Msg-id CAOaQA5wRM0Ea9_SGgZdJ5mSEU0A4ExYsGMa463Vd8rjK4f-xJg@mail.gmail.com
обсуждение исходный текст
Ответ на psql: fe_sendauth: no password supplied  (Daulat Ram <Daulat.Ram@exponential.com>)
Список pgsql-performance
It's a question better directed to the -general list.

You'll either want to specify the DB name and DB user in check_postgres invocation, or otherwise add an entry to pg_hba.conf, like:
host    ts      nagios          192.168.122.1/32        trust


On Sun, Sep 30, 2018 at 6:37 PM Daulat Ram <Daulat.Ram@exponential.com> wrote:

Hi team,

 

I need your help to resolve an issue psql: fe_sendauth: no password supplied which we are getting by nagios plugin , we are trying to monitor the disk space and via  .pgpass for an authentication.

 

[root@viicinga-02 ~]# /mnt/common/local/linux/local/bin/check_postgres/check_postgres_disk_space.sh -H vikbcn-db2.vpc.prod.scl1.us.tribalfusion.net -f /var/spool/icinga/.pgpass_stby -w '60' -c '70'
Connection to vikbcn-db2.vpc.prod.scl1.us.tribalfusion.net 5432 port [tcp/postgres] succeeded!
psql: fe_sendauth: no password supplied

 

Regards,

Daulat

 

В списке pgsql-performance по дате отправления:

Предыдущее
От: Daulat Ram
Дата:
Сообщение: psql: fe_sendauth: no password supplied
Следующее
От: Fabio Pardi
Дата:
Сообщение: Re: Why could different data in a table be processed with differentperformance?