From: Cook, G. <GW...@ma...> - 2004-06-23 16:11:29
|
per...@li... wrote: > Yes, I=B4m using the Nagios 1.2. >=20 > Thanks, >=20 > Jeyri It looks like you are trying to compile Nagios with ONLY the = '--with-file-perfdata' option? There may be other options needed for your Nagios implementation. Do you = remember the options that you originally used when compiling Nagios? You should read the PerfParse How-To for more information. -g > ----- Original Message ----- > From: "Ben Clewett" <Be...@cl...> > To: "Jeyri Bautista" <jba...@in...> > Cc: <per...@li...>; > <nag...@li...> > Sent: Wednesday, June 23, 2004 4:40 AM > Subject: [Nagios-users] Re: [Perfparse-users] question >=20 >=20 > Jeyri, >=20 > I have not seen this problem before. Are you using the latest Nagios > 1.2? I have forwarded this email to nagios-help where some > person there > will probably be of more help then I am. >=20 > Regards, Ben >=20 > Jeyri Bautista wrote: >=20 >> Hi, I want to install the perfparse program but I read that I need >> for the nagios run ./configure --with-file-perfdata, because the >> perfparse don=B4t work with default perfdata. When I execute the >> ./configure with --with-file-perfdata, all is ok but when I execute >> make all appear the following error:=20 >>=20 >> [root@nagios nagios-1.2]# make all >> cd ./base && make >> make[1]: Cambiando a directorio `/usr/src/nagios-1.2/base' >> gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE nagios.c checks.o config.o >> commands.o flapping.o logging.o notifications.o sehandlers.o utils.o >> sretention.o ../xdata/xrddefault.c ../common/comments.c >> ../xdata/xcddefault.c ../common/objects.c ../xdata/xodtemplate.c >> ../common/statusdata.c ../xdata/xsddefault.c perfdata.o >> ../xdata/xpdfile.c ../common/downtime.c > ../xdata/xdddefault.c -lm -o >> nagios >> perfdata.o: In function `initialize_performance_data': >> /usr/src/nagios-1.2/base/perfdata.c:57: undefined reference to >> `xpddefault_initialize_performance_data' >> perfdata.o: In function `cleanup_performance_data': >> /usr/src/nagios-1.2/base/perfdata.c:73: undefined reference to >> `xpddefault_cleanup_performance_data' >> perfdata.o: In function `update_service_performance_data': >> /usr/src/nagios-1.2/base/perfdata.c:103: undefined reference to >> `xpddefault_update_service_performance_data' >> perfdata.o: In function `update_host_performance_data': >> /usr/src/nagios-1.2/base/perfdata.c:127: undefined reference to >> `xpddefault_update_host_performance_data' >> collect2: ld devolvi=F3 el estado de salida 1 >> make[1]: *** [nagios] Error 1 >> make[1]: Saliendo directorio `/usr/src/nagios-1.2/base' >> make: *** [all] Error 2 >> [root@nagios nagios-1.2]# >> Can you help me? >>=20 >> Thanks, >>=20 >> Jeyri Bautista |