Thread: Help with check_pqsql PLUGIN!

Help with check_pqsql PLUGIN!

From
Алексей Е. Невзоров
Date:
<div class="Section1"><p class="MsoNormal"><font face="Arial" size="2"><span lang="EN-US" style="font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-US">Hello, Hackers! I use <span class="SpellE">Nagios</span> – monitoring
system.Can you help, please? I want to compile <span class="SpellE">plugin</span> for <span
class="SpellE">Nagios</span>named ‘<span class="SpellE">check_pqsql</span>’.</span></font><p class="MsoNormal"><font
face="Arial"size="2"><span lang="EN-US" style="font-size: 
10.0pt;font-family:Arial;mso-ansi-language:EN-US">Which libraries I need to compile it successful? Thank
you.</span></font></div>  

Re: Help with check_pqsql PLUGIN!

From
Devrim GUNDUZ
Date:
-----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-----