[check_postgres] check_postgres - ERROR: Could not find a suitable psql executable

Sureshkumar Rajayokkian sureshkraja at gmail.com
Sat Nov 15 13:35:17 UTC 2014


Thank you for the e-mail, Greg!
I will try the below solution and get back to you in case of any issues.

Best Regards,
Suresh
On Fri, Nov 14, 2014 at 4:13 PM, Greg Sabino Mullane <greg at endpoint.com>
wrote:

> On Tue, Nov 11, 2014 at 08:23:51AM -0500, Sureshkumar Rajayokkian wrote:
> ...
> > [rsk at Nagios_server01 ~]$ sudo /usr/local/nagios/libexec/check_nrpe -H
> > Postgres01 -t 30 -c check_postgres -a '--dbuser=user01 --dbpass=P at ssw0rd
> > --action=connection'
> > ERROR: Could not find a suitable psql executable
> ...
> > *Note: Both the servers have psql.*
>
> Login as the user running nrpe and try doing: which psql
>
> It should be returning the path to your locally installed psql
> executable. If not, try passing the --PSQL argument and let
> us know exactly what the output is. Make sure you give it a
> fully qualified path, e.g. --PSQL=/usr/local/bin/psql
>
> --
> Greg Sabino Mullane greg at endpoint.com
> End Point Corporation
> PGP Key: 0x14964AC8
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.endcrypt.com/pipermail/check_postgres/attachments/20141115/d8213c6d/attachment.html>


More information about the Check_postgres mailing list