Re: psql: fe_sendauth: no password supplied - Mailing list pgsql-performance

From Justin Pryzby
Subject Re: psql: fe_sendauth: no password supplied
Date
Msg-id CAOaQA5wRM0Ea9_SGgZdJ5mSEU0A4ExYsGMa463Vd8rjK4f-xJg@mail.gmail.com
Whole thread Raw
In response to psql: fe_sendauth: no password supplied  (Daulat Ram <Daulat.Ram@exponential.com>)
List 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 by date:

Previous
From: Daulat Ram
Date:
Subject: psql: fe_sendauth: no password supplied
Next
From: Fabio Pardi
Date:
Subject: Re: Why could different data in a table be processed with differentperformance?