PDA

View Full Version : compilation Nagios and Co


slider
09-14-2005, 05:13 PM
Bonjour

Aprés avoir eu des problémes d'installation Oreon, ils sont toujours là !!
j'ai laisseé de coté, et je me suis attaqué à la compil de Nagios sur du Sun Solaris 8.
j'ai donc lancer la compil, pas avec mysql, mais avec postgresql !! oui je sai je suis un mec compliqué. voilà la belle formule compilation émotion

./configure --with-nagios-user=nagios --with-nagios-grp=nagios --with-pgsql-status --with-pgsql-lib=/postgresql/pgl747 --with-pgsql-inc=/postgresql/pgl747

Résultat : il ne prend pas en compte les chemins ou j'ai mis les lib et include et il me dit ce ptit gars.


PostgreSQL library could not be located... *********************

You chose to compile Nagios with PostgreSQL support, but I was
unable to locate the PostgreSQL library on your system. If the
library is installed, use the --with-pgsql-lib and --with-pgsql-inc
arguments to specify the locations of the PostgreSQL library and
include files.

NOTE: After you install the necessary libraries on your system:
1. Make sure /etc/ld.so.conf has an entry for the directory in
which the PostgreSQL libraries are installed.
2. Run 'ldconfig' to update the run-time linker options.
3. Run 'make clean' in the Nagios distribution to clean out
any old references to your previous compile.
4. Rerun the configure script.
y a de la lecture
qui peut m'aider sur ce coup là ?
Merci d'avance de votre aide

Slider

wistof
09-14-2005, 05:18 PM
essais déjà de compiler sans support de postgresql...

Oreon ne récupére aucune info depuis la db de nagios...