Can I Configure the NRPE Plugins without check_pgsql?

steve f a31modela at hotmail.com
Wed Jun 30 20:12:32 CEST 2010




So I am installing the Nagios NRPE addon on a SuSE 8 server.  When I try to do the nagios-plugins-1.4.14 configure, I error out every time for missing pg_config_manual.h

If I am not running pgsql on the box, is there a way to get the plugins compiled?  I know I can do the config with the --with-pgsql=DIR  option to point to the correct location but how can I not install the check_pgsql plugin?  Can I remove it from the plugins dir in the nagios-plugins-1.4.14/plugins dir before I do the configure?

Can I ignore the error for this during the ./configure & just continue on with the configure?  ( I assume when the error happens, it stops the config at that point)

gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include/pgsql -I/usr/include   -DNP_VERSION='"1.4.14"' -g -O2 -MT check_pgsql.o -MD -MP -MF .deps/check_pgsql.Tpo -c -o check_pgsql.o check_pgsql.c
check_pgsql.c:40:30: pg_config_manual.h: No such file or directory
make[2]: *** [check_pgsql.o] Error 1
make[2]: Leaving directory `/home/tech/fiedle/nagios_downloads/nagios-plugins-1.4.14/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tech/fiedle/nagios_downloads/nagios-plugins-1.4.14'
make: *** [all] Error 2

Thanks,

Steve

 		 	   		  
_________________________________________________________________
The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail.
http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20100630/4059f443/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list