Re: Help with check_pqsql PLUGIN! - Mailing list pgsql-hackers

From Devrim GUNDUZ
Subject Re: Help with check_pqsql PLUGIN!
Date
Msg-id Pine.LNX.4.61.0409111009590.5920@emo.org.tr
Whole thread Raw
In response to Help with check_pqsql PLUGIN!  (Алексей Е. Невзоров <nevzorov@okbmei.ru>)
List pgsql-hackers
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

On Thu, 9 Sep 2004, [koi8-r] ??????? ?. ???????? wrote:

> Hello, Hackers! I use Nagios - monitoring system. Can you help, please? 
> I want to compile plugin for Nagios named 'check_pqsql'.
> Which libraries I need to compile it successful? Thank you.

If you're using rpm-based distros, installing postgresql-libs package will 
help you.

While compiling both of'em from source, you need to specify PostgreSQL 
libdir to configure script of Nagios:

- --with-pgsql-lib=$PGDATA/lib

where $PGDATA is the directory that PostgreSQL is installed. i.e.:

./configure --with-pgsql-lib=/usr/local/pgsql/lib --with-pgsql-status 
- --with-pgsql-xdata --with-pgsql-comments  --with-pgsql-extinfo 
- --with-pgsql-retention --with-pgsql-downtime

(with additional options for nagios...)

Also, you could check Nagios mailing lists for further help.

Regards,
- --
Devrim GUNDUZ 
devrim~gunduz.org                devrim.gunduz~linux.org.tr            http://www.tdmsoft.com
http://www.gunduz.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFBQqiftl86P3SPfQ4RAnB9AJ9ZgFy8aLoqG4hYbdM/oWsAy9Az5QCgyJyt
EJj3jWi7f7MdXa9T5Zor0sA=
=VscW
-----END PGP SIGNATURE-----


pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: Indexed views?
Next
From: "Dave Page"
Date:
Subject: Re: [pgsql-hackers-win32] more dirmod CYGWIN