How to install DBD :: Pg if postgres is not installed?

I have separate servers working with postgres and Nagios. I want to use " psql_replication_check.pl " with nagios to track postgres replication status. This script check requires connecting the DBD :: Pg module to the database. Install DBD :: Pg with a request to the path of the pg_config file.

#perl Makefile.PL 
Configuring DBD::Pg 2.17.1
Path to pg_config? 

I do not have permissions to install postgres on a Nagios machine. Is there anyone who fixed this issue before.

I have CentOS 5.4 for both systems.

+3
source share
1 answer

DBD::Pg PostgreSQL, C, libpq. , , pg_config. Debian libpq-dev - .

+6

Source: https://habr.com/ru/post/1770537/


All Articles