我有一個單獨的服務器運行postgres和Nagios。我想用「psql_replication_check.pl」與nagios監視postgres複製狀態。該檢查腳本需要DBD :: Pg模塊連接到數據庫。安裝DBD :: Pg,詢問pg_config文件的路徑。如果未安裝postgres,我該如何安裝DBD :: Pg?
#perl Makefile.PL
Configuring DBD::Pg 2.17.1
Path to pg_config?
我沒有權限在Nagios計算機上安裝postgres。有沒有人以前解決過這個問題。
我在這兩個系統上都安裝了CentOS 5.4。
什麼是linux發行版或打包系統? – ysth 2010-10-20 14:02:28