From: | Justin Pryzby <pryzby(at)telsasoft(dot)com> |
---|---|
To: | Daulat(dot)Ram(at)exponential(dot)com |
Cc: | pgsql-performance(at)lists(dot)postgresql(dot)org |
Subject: | Re: psql: fe_sendauth: no password supplied |
Date: | 2018-09-30 23:49:08 |
Message-ID: | CAOaQA5wRM0Ea9_SGgZdJ5mSEU0A4ExYsGMa463Vd8rjK4f-xJg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
https://bucardo.org/check_postgres/check_postgres.pl.html#database_connection_options
On Sun, Sep 30, 2018 at 6:37 PM Daulat Ram <Daulat(dot)Ram(at)exponential(dot)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(at)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
>
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Fabio Pardi | 2018-10-01 07:35:38 | Re: Why could different data in a table be processed with different performance? |
Previous Message | Daulat Ram | 2018-09-30 23:36:48 | psql: fe_sendauth: no password supplied |