我正在尝试为Munin激活一些Postgresql插件。运行时,munin-node-configure --suggest | grep postgres
我得到以下输出:
postgres_bgwriter | no | no [DBD::Pg not found, and cannot do psql yet]
postgres_cache_ | no | no [DBD::Pg not found, and cannot do psql yet]
postgres_checkpoints | no | no [DBD::Pg not found, and cannot do psql yet]
postgres_connections_ | no | no [DBD::Pg not found, and cannot do psql yet]
postgres_connections_db | no | no [DBD::Pg not found, and cannot do psql yet]
postgres_locks_ | no | no [DBD::Pg not found, and cannot do psql yet]
postgres_querylength_ | no | no [DBD::Pg not found, and cannot do psql yet]
postgres_scans_ | no | no [DBD::Pg not found, and cannot do psql yet]
postgres_size_ | no | no [DBD::Pg not found, and cannot do psql yet]
postgres_transactions_ | no | no [DBD::Pg not found, and cannot do psql yet]
我已经在Google周围搜寻了答案,但没有找到任何有关如何解决此问题的明确答案。我以前从未使用过Perl模块(我们所有的软件都在Python中),那么我需要做些什么来安装此依赖项?我正在使用Ubuntu 10.04.4 LTS。
apt-get install libdbd-pg-perl
解决了。