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 |
From: Cook, G. <GW...@ma...> - 2004-06-23 19:54:52
|
Jeyri Bautista wrote: > Hi, >=20 > No, I=B4m try to compile Nagios using >=20 > ./configure --prefix=3D/usr/local/nagios > --with-cgiurl=3D/nagios/cgi-bin --with- > htmurl=3D/nagios/ --with-nagios-user=3Dnagios > --with-nagios-grp=3Dnagios --with-fi > le-perfdata --with-template-extinfo >=20 I believe that most of those options are defaults. The only two that are = 'special' are '--with-file-perfdata' and '--with-template-extinfo'. = Someone please correct me if I'm wrong about this. I would suggest that you configure and make (but don't make install!) = with each of these 'special' options as the only one, and see if they = work alone.=20 You'll probably want to 'make clean' and possibly 'make distclean' = before each compile. If both go ok, then make clean/distclean again and = try compiling with both options. If either of them fail, repost the = failure message and see if anyone has a solution. -g >=20 > ----- Original Message ----- > From: "Cook, Garry" <GW...@ma...> > To: "Jeyri Bautista" <jba...@in...>; "Ben Clewett" > <Be...@cl...> Cc: <per...@li...>; > <nag...@li...> > Sent: Wednesday, June 23, 2004 12:10 PM > Subject: RE: [Nagios-users] Re: [Perfparse-users] question >=20 >=20 > per...@li... wrote: >> Yes, I=B4m using the Nagios 1.2. >>=20 >> Thanks, >>=20 >> Jeyri >=20 > 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. >=20 > -g >=20 >=20 >> ----- 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 [snip] >>>=20 >>> Thanks, >>>=20 >>> Jeyri Bautista Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) |
From: Jeyri B. <jba...@in...> - 2004-06-23 19:23:17
|
Hi, No, I´m try to compile Nagios using ./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin --with- htmurl=/nagios/ --with-nagios-user=nagios --with-nagios-grp=nagios --with-fi le-perfdata --with-template-extinfo Thanks, Jeyri ----- Original Message ----- From: "Cook, Garry" <GW...@ma...> To: "Jeyri Bautista" <jba...@in...>; "Ben Clewett" <Be...@cl...> Cc: <per...@li...>; <nag...@li...> Sent: Wednesday, June 23, 2004 12:10 PM Subject: RE: [Nagios-users] Re: [Perfparse-users] question per...@li... wrote: > Yes, I´m using the Nagios 1.2. > > Thanks, > > 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 > > > Jeyri, > > 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. > > Regards, Ben > > Jeyri Bautista wrote: > >> 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´t 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: >> >> [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ó 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? >> >> Thanks, >> >> Jeyri Bautista ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Nagios-users mailing list Nag...@li... 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 |