You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(12) |
Jun
(56) |
Jul
(68) |
Aug
(141) |
Sep
(82) |
Oct
(76) |
Nov
(115) |
Dec
(74) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(65) |
Feb
(113) |
Mar
(82) |
Apr
(37) |
May
(44) |
Jun
(22) |
Jul
(12) |
Aug
(3) |
Sep
(17) |
Oct
(11) |
Nov
(23) |
Dec
(1) |
2006 |
Jan
(1) |
Feb
(9) |
Mar
(6) |
Apr
(12) |
May
(10) |
Jun
(23) |
Jul
(1) |
Aug
(4) |
Sep
(3) |
Oct
(4) |
Nov
(6) |
Dec
(15) |
2007 |
Jan
(17) |
Feb
(14) |
Mar
(20) |
Apr
(7) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
(5) |
Oct
(1) |
Nov
|
Dec
(2) |
2008 |
Jan
|
Feb
|
Mar
(2) |
Apr
(2) |
May
(6) |
Jun
(5) |
Jul
(13) |
Aug
(2) |
Sep
(16) |
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: barry m. <bar...@sh...> - 2005-02-07 20:44:14
|
I'm currently running nagios and perfparse v0.104.8. It's being imported into the database with no problem. The problem I'm having is deleting some hosts or deleting imformation older then 7 days. Do I need to tune the mysql database?? I have 650 hosts looking after 5000 services. It's running on redhat enterprise. Thanks Barry |
From: Alex P. <ale...@ci...> - 2005-02-07 18:11:43
|
> This is worrying as this will force a re-translation of the program. = A=20 > lot of hard work went into the French and German translations. > May I ask you to complete some of the work, and open up your patch for = > review? Then we can all decide where to take this. Oke, I do this on version 0.105.5 > There may be other ways of sed'ing the translations as a = post-configure=20 > work, therefore not requiring any of this work. Or using a different=20 > language which is specific to your needs? How does it works if I sea it like one different language. But I work with one configuration file for my application. PS: When the file Asnmtap.conf don't exist, the variable are the one = hardcoded. When the file Asnmtap.conf exist, the variable are taken from here.# -------------------------------------------------------------------------= -# =A9 Copyright 2003-2005 Alex Peeters [ale...@ci...] # -------------------------------------------------------------------------= -# Asnmtap.conf for Asnmtap.pm 2.000.000 or later # = -------------------------------------------------------------------------= - # SET ENVIRONMENT VARIABLES - - - - - - - - - - - - - - - - - - - - - - = - $ENV{'PATH'}=3D'/usr/local/bin:/usr/bin:/bin'; $ENV{'BASH_ENV'}=3D''; $ENV{'ENV'}=3D''; # Common variables - - - - - - - - - - - - - - - - - - - - - - - - - - = - $APPLICATION =3D "Application Monitoring"; $BUSINESS =3D "CITAP"; $DEPARTMENT =3D "Development"; $SENDEMAILTO =3D "alex.peeters\@citap.be"; $COPYRIGHT =3D "2003-2005"; $ASNMTAPMAN =3D "asnmtap.pdf"; -----Original Message----- From: Ben Clewett [mailto:bcl...@pe...]=20 Sent: maandag 7 februari 2005 18:25 To: ale...@ci... Cc: per...@li... Subject: Re: [Perfparse-users] RE: Perfparse Alex, Alex Peeters wrote: > Hi Ben, >=20 > #define HOST_TITLE =3D _("Host"); > #define SERVICE_TITLE =3D _("Title"); >=20 > or do you mean >=20 > #define HOST_TITLE =3D _("Host"); > #define SERVICE_TITLE =3D _("Service"); :) But please use Yves version: #define HOST_TITLE (_("Host")) #define SERVICE_TITLE (_("Title")) > Is this text or not? > -------------------- > sHost =3D strdup(scgi("host")); > sService =3D strdup(scgi("service")); No. This is a CGI variable. This should be the same as, or nearly the=20 same as the field name in the database, by programming convention. It=20 would not be a good idea to change any of these at this stage. Same of course with the SQL, keep the service and host names :) Sample of existing code: printf(" <b>%s</b><br>\n", _("Edit a Host Group List")); printf(" <a href=3D\"%s?add_amend_host_group=3D1\">%s</a>\n", sProgName, _("Edit Host Groups")); New code: pritnf(" <b>%s %s %s</b><br>\n", _("Edit a"), HOST_TITLE, _("Group List")); printf(" <a href=3D\"%s?add_amend_host_group=3D1\">%s %s %s</a>\n", sProgName, _("Edit"), HOST_TITLE, _T("Groups"))); This is worrying as this will force a re-translation of the program. A=20 lot of hard work went into the French and German translations. May I ask you to complete some of the work, and open up your patch for=20 review? Then we can all decide where to take this. There may be other ways of sed'ing the translations as a post-configure=20 work, therefore not requiring any of this work. Or using a different=20 language which is specific to your needs? Regards, Ben. >=20 >=20 > -- Alex >=20 > -----Original Message----- > From: Ben Clewett [mailto:bcl...@pe...]=20 > Sent: maandag 7 februari 2005 10:19 > To: ale...@ci... > Cc: bcl...@pe...; gc...@pe...; > per...@li... > Subject: Re: Perfparse >=20 > Dear Alex, >=20 > I will answer you in line: >=20 > Alex Peeters wrote: >=20 >>Question? >> >>my $performanceData =3D "duration=3D$responseTime s;$trendline;;; = 'response=20 >>time'=3D$responseTime s;$trendline;;;"; >> >> DUMMY-T5=20 >> Condenced View test=20 >> >=20 > <http://asnmtap.citap.be/cgi-bin/perfparse.cgi?graph=3D1&host=3DDUMMY%2DT= 5&servi > ce=3DCondenced+View+test&metric=3Dduration> >=20 >> duration=20 >> 2005-02-06 17:34:00=20 >> 1=20 >> UP=20 >> >=20 > <http://asnmtap.citap.be/cgi-bin/perfparse.cgi?graph=3D1&host=3DDUMMY%2DT= 5&servi > ce=3DCondenced+View+test&metric=3Dresponse+time> >=20 >> response time=20 >> 2005-02-06 17:32:00=20 >> 1=20 >> WARNING=20 >> >>The responstime is alway the same in this test for =91duration=92 and=20 >>=91response time, and sended at the same time >> >>Why do I sea into PerfParse 2 different times 17:34 and 17:32 ? >=20 >=20 > The times reflect the last time in which a valid result was parsed = into=20 > PP. This suggests one of the metrics failed. Check your drop file. >=20 > I see you have a small error: >=20 > You have: $performanceData =3D "duration=3D$responseTime = s;$trendline;;; > Should be: $performanceData =3D = "duration=3D${responseTime}s;$trendline;;; >=20 > No space between value and unit. This may help. >=20 >=20 >=20 >>Question? >> >>*Administration* >> >>Administraion Menu=20 >><http://asnmtap.citap.be/cgi-bin/perfparse.cgi?admin_menu=3D1> >> >>Is it not =91Administration Menu=92 ? >=20 >=20 > Yes. I am dyslexic. Since my 'vi' has no spell checker, I relay on=20 > kind people such as your self pointing these out. This will be fixed = as=20 > soon as I have an excuse to release another version :) >=20 >=20 >=20 >>Question? >>=20 >> >>Is it possible to sea the results from the same host, service coming=20 >>from one raw data, into one graphics. >=20 >=20 > Soon. My self and Yves have been arguing hard about the best way of=20 > doing this. Unfortunately we both have little time available. As = soon=20 > as I can find a few days, this will be done. >=20 > This will be completed like a shopping card. You will add metrics to=20 > your cart, then 'check out' and store a permanent template. This can=20 > then be used at any time to draw multiple metrics. >=20 > Watch this space! >=20 >=20 >=20 >>I mean, is it possible to have the results for =91duration=92 and = =91response=20 >>time into the same graphic? >=20 >=20 > The scaling may not show anything useful in this case, you will see = only=20 > the shape of the lines on the graph. But, yes, this will be possible. >=20 >=20 >=20 >>Question? >> >>The name =91Host=92 and =91Service=92 are the hard coded? >> >>This because into ASNMTAP, =91Host=92 means there =91Plugin Group=92 = and=20 >>=91Service=92 means there =91Plugin Title=92 and if possible I want to = change=20 >>these two names? >=20 >=20 > Maybe you want to do a patch for us? >=20 > Edit libpp_common.h and add: >=20 > #define HOST_TITLE =3D _("Host"); > #define SERVICE_TITLE =3D _("Title"); >=20 > Then go through the code changing this. In your code you can change=20 > this to something else. If this is popular, this can become a=20 > configuration variable. >=20 >=20 >=20 >=20 >>*A working version of PerfParse integrated into ASNMTAP:* >> >>* * >> >>*PerfParse facilitates the storage and analysis of binary performance=20 >>data produced by the Application Monitoring=20 >><http://asnmtap.citap.be/cgi-bin/perfparse.cgi>* >> >>http://asnmtap.citap.be/asnmtap/nav/test/reports-index-cv.html >> >>http://asnmtap.citap.be/cgi-bin/perfparse.cgi >=20 >=20 > Interesting! >=20 > Please keep sending your ideas :) >=20 > Regards, >=20 > Ben Clewett. >=20 >=20 >=20 >=20 >=20 >>=20 >> >>=20 >> >>-----Original Message----- >>*From:* Alex Peeters [mailto:ale...@ci...] >>*Sent:* zondag 6 februari 2005 12:56 >>*To:* 'bcl...@pe...' >>*Cc:* 'gc...@pe...' >>*Subject:* RE: Perfparse >> >>=20 >> >>=20 >> >>The idea is to replace: >> >>/opt/asnmtap/perfparse/bin/perfparse_nagios_pipe_command.pl =20 >>/opt/asnmtap/perfparse/var/var/perfdata-host.log "$TIMET$" = "$HOSTNAME$"=20 >>"$OUTPUT$" "$PERFDATA$" >> >>=20 >> >>=20 >> >>with something like: >> >>/opt/asnmtap/perfparse/bin/ perfparse-pluginoutput2mysql =20 >>--pluginoutput "$TIMET$" "$HOSTNAME$" "$OUTPUT$" "$PERFDATA$" >> >>=20 >> >>=20 >> >>Hi Ben, >> >>=20 >> >>Do you remember that i told you that is wanted to port perfparse to >=20 > asnmtap, >=20 >>my application monitoring tool I=92am writing. >> >>=20 >> >>Now I have performance data support in it compatible with nagios. >> >>=20 >> >>I will do my first test with perfparse-log2mysql, but my question is >> >>of that that is not possible to have a command >=20 > perfparse-pluginoutput2mysql >=20 >>where perfparse-pluginoutput2mysql give me the possibility to write >> >>directly the output of my plugin into the database. >> >>=20 >> >>With perfparse-log2mysql, I need to write the plugin output first into = a=20 >>file, >> >>and then perfparse-log2mysql add these data to the database. >> >>=20 >> >>perfparse-log2mysql - help >> >>-l, --serviceperf-log <string> : Input log source (from nagios or=20 >>perfparsed) >> >>=20 >> >>The question is, can you moddify a version perfparse-log2mysql of = where=20 >>I can give the plugin output as a parameter please: >> >>perfparse-pluginoutput2mysql >> >>-p, --pluginoutput <string> : pluginoutput (from nagios or = perfparsed) >> >>=20 >> >>=20 >> >>*Application System Network Monitoring Tool Alex Peeters*=20 >><http://asnmtap.citap.be/##> >> >>=20 >> >>http://asnmtap.citap.be <http://asnmtap.citap.be/> >> >>=20 >> >>-- Alex >> =20 --=20 No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 =20 |
From: Ben C. <bcl...@pe...> - 2005-02-07 17:26:32
|
Alex, Alex Peeters wrote: > Hi Ben, > > #define HOST_TITLE = _("Host"); > #define SERVICE_TITLE = _("Title"); > > or do you mean > > #define HOST_TITLE = _("Host"); > #define SERVICE_TITLE = _("Service"); :) But please use Yves version: #define HOST_TITLE (_("Host")) #define SERVICE_TITLE (_("Title")) > Is this text or not? > -------------------- > sHost = strdup(scgi("host")); > sService = strdup(scgi("service")); No. This is a CGI variable. This should be the same as, or nearly the same as the field name in the database, by programming convention. It would not be a good idea to change any of these at this stage. Same of course with the SQL, keep the service and host names :) Sample of existing code: printf(" <b>%s</b><br>\n", _("Edit a Host Group List")); printf(" <a href=\"%s?add_amend_host_group=1\">%s</a>\n", sProgName, _("Edit Host Groups")); New code: pritnf(" <b>%s %s %s</b><br>\n", _("Edit a"), HOST_TITLE, _("Group List")); printf(" <a href=\"%s?add_amend_host_group=1\">%s %s %s</a>\n", sProgName, _("Edit"), HOST_TITLE, _T("Groups"))); This is worrying as this will force a re-translation of the program. A lot of hard work went into the French and German translations. May I ask you to complete some of the work, and open up your patch for review? Then we can all decide where to take this. There may be other ways of sed'ing the translations as a post-configure work, therefore not requiring any of this work. Or using a different language which is specific to your needs? Regards, Ben. > > > -- Alex > > -----Original Message----- > From: Ben Clewett [mailto:bcl...@pe...] > Sent: maandag 7 februari 2005 10:19 > To: ale...@ci... > Cc: bcl...@pe...; gc...@pe...; > per...@li... > Subject: Re: Perfparse > > Dear Alex, > > I will answer you in line: > > Alex Peeters wrote: > >>Question? >> >>my $performanceData = "duration=$responseTime s;$trendline;;; 'response >>time'=$responseTime s;$trendline;;;"; >> >> DUMMY-T5 >> Condenced View test >> > > <http://asnmtap.citap.be/cgi-bin/perfparse.cgi?graph=1&host=DUMMY%2DT5&servi > ce=Condenced+View+test&metric=duration> > >> duration >> 2005-02-06 17:34:00 >> 1 >> UP >> > > <http://asnmtap.citap.be/cgi-bin/perfparse.cgi?graph=1&host=DUMMY%2DT5&servi > ce=Condenced+View+test&metric=response+time> > >> response time >> 2005-02-06 17:32:00 >> 1 >> WARNING >> >>The responstime is alway the same in this test for ‘duration’ and >>‘response time, and sended at the same time >> >>Why do I sea into PerfParse 2 different times 17:34 and 17:32 ? > > > The times reflect the last time in which a valid result was parsed into > PP. This suggests one of the metrics failed. Check your drop file. > > I see you have a small error: > > You have: $performanceData = "duration=$responseTime s;$trendline;;; > Should be: $performanceData = "duration=${responseTime}s;$trendline;;; > > No space between value and unit. This may help. > > > >>Question? >> >>*Administration* >> >>Administraion Menu >><http://asnmtap.citap.be/cgi-bin/perfparse.cgi?admin_menu=1> >> >>Is it not ‘Administration Menu’ ? > > > Yes. I am dyslexic. Since my 'vi' has no spell checker, I relay on > kind people such as your self pointing these out. This will be fixed as > soon as I have an excuse to release another version :) > > > >>Question? >> >> >>Is it possible to sea the results from the same host, service coming >>from one raw data, into one graphics. > > > Soon. My self and Yves have been arguing hard about the best way of > doing this. Unfortunately we both have little time available. As soon > as I can find a few days, this will be done. > > This will be completed like a shopping card. You will add metrics to > your cart, then 'check out' and store a permanent template. This can > then be used at any time to draw multiple metrics. > > Watch this space! > > > >>I mean, is it possible to have the results for ‘duration’ and ‘response >>time into the same graphic? > > > The scaling may not show anything useful in this case, you will see only > the shape of the lines on the graph. But, yes, this will be possible. > > > >>Question? >> >>The name ‘Host’ and ‘Service’ are the hard coded? >> >>This because into ASNMTAP, ‘Host’ means there ‘Plugin Group’ and >>‘Service’ means there ‘Plugin Title’ and if possible I want to change >>these two names? > > > Maybe you want to do a patch for us? > > Edit libpp_common.h and add: > > #define HOST_TITLE = _("Host"); > #define SERVICE_TITLE = _("Title"); > > Then go through the code changing this. In your code you can change > this to something else. If this is popular, this can become a > configuration variable. > > > > >>*A working version of PerfParse integrated into ASNMTAP:* >> >>* * >> >>*PerfParse facilitates the storage and analysis of binary performance >>data produced by the Application Monitoring >><http://asnmtap.citap.be/cgi-bin/perfparse.cgi>* >> >>http://asnmtap.citap.be/asnmtap/nav/test/reports-index-cv.html >> >>http://asnmtap.citap.be/cgi-bin/perfparse.cgi > > > Interesting! > > Please keep sending your ideas :) > > Regards, > > Ben Clewett. > > > > > >> >> >> >> >>-----Original Message----- >>*From:* Alex Peeters [mailto:ale...@ci...] >>*Sent:* zondag 6 februari 2005 12:56 >>*To:* 'bcl...@pe...' >>*Cc:* 'gc...@pe...' >>*Subject:* RE: Perfparse >> >> >> >> >> >>The idea is to replace: >> >>/opt/asnmtap/perfparse/bin/perfparse_nagios_pipe_command.pl >>/opt/asnmtap/perfparse/var/var/perfdata-host.log "$TIMET$" "$HOSTNAME$" >>"$OUTPUT$" "$PERFDATA$" >> >> >> >> >> >>with something like: >> >>/opt/asnmtap/perfparse/bin/ perfparse-pluginoutput2mysql >>--pluginoutput "$TIMET$" "$HOSTNAME$" "$OUTPUT$" "$PERFDATA$" >> >> >> >> >> >>Hi Ben, >> >> >> >>Do you remember that i told you that is wanted to port perfparse to > > asnmtap, > >>my application monitoring tool I’am writing. >> >> >> >>Now I have performance data support in it compatible with nagios. >> >> >> >>I will do my first test with perfparse-log2mysql, but my question is >> >>of that that is not possible to have a command > > perfparse-pluginoutput2mysql > >>where perfparse-pluginoutput2mysql give me the possibility to write >> >>directly the output of my plugin into the database. >> >> >> >>With perfparse-log2mysql, I need to write the plugin output first into a >>file, >> >>and then perfparse-log2mysql add these data to the database. >> >> >> >>perfparse-log2mysql - help >> >>-l, --serviceperf-log <string> : Input log source (from nagios or >>perfparsed) >> >> >> >>The question is, can you moddify a version perfparse-log2mysql of where >>I can give the plugin output as a parameter please: >> >>perfparse-pluginoutput2mysql >> >>-p, --pluginoutput <string> : pluginoutput (from nagios or perfparsed) >> >> >> >> >> >>*Application System Network Monitoring Tool Alex Peeters* >><http://asnmtap.citap.be/##> >> >> >> >>http://asnmtap.citap.be <http://asnmtap.citap.be/> >> >> >> >>-- Alex >> >> >> >> >> >> >> >> >> >> >>-- >>No virus found in this outgoing message. >>Checked by AVG Anti-Virus. >>Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 >> >> >>-- >>No virus found in this outgoing message. >>Checked by AVG Anti-Virus. >>Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 >> >> >>-- >>No virus found in this outgoing message. >>Checked by AVG Anti-Virus. >>Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 >> >> >>-- >>No virus found in this outgoing message. >>Checked by AVG Anti-Virus. >>Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 >> >> >>-- >>No virus found in this outgoing message. >>Checked by AVG Anti-Virus. >>Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 >> > > |
From: Alex P. <ale...@ci...> - 2005-02-07 17:04:08
|
Hi Ben, #define HOST_TITLE =3D _("Host"); #define SERVICE_TITLE =3D _("Title"); or do you mean #define HOST_TITLE =3D _("Host"); #define SERVICE_TITLE =3D _("Service"); The first part is easy to do, but there are also al lot: The next are clear, this is text: --------------------------------- showHeader(_("Deletion Policies for Hosts"), ""); printf(" <td align=3Dcenter>%s<b>Host</b></font></td>\n", FONT); printf(" %s: \n",_("Select Host")); showHeader(_("Mark Host for complete deletion."), ""); printf(" %s%s", FONT,_("<b>Note:</b> Host and Host Data will be = deleted when\n" printf(" <b>%s</b><br>\n",_("Edit a Host Group List")); printf(" <a href=3D\"%s?add_amend_host_group=3D1\">%s</a>\n", = sProgName, _("Edit Host Groups")); printf(" %s\n",_("Select Host Group:")); printf(" %s\n",_("Add new Host to Group:")); printf(" <b>%s</b><br>\n", _("Host List")); ... Is this text or not? -------------------- sHost =3D strdup(scgi("host")); sService =3D strdup(scgi("service")); -- Alex -----Original Message----- From: Ben Clewett [mailto:bcl...@pe...]=20 Sent: maandag 7 februari 2005 10:19 To: ale...@ci... Cc: bcl...@pe...; gc...@pe...; per...@li... Subject: Re: Perfparse Dear Alex, I will answer you in line: Alex Peeters wrote: > Question? >=20 > my $performanceData =3D "duration=3D$responseTime s;$trendline;;; = 'response=20 > time'=3D$responseTime s;$trendline;;;"; >=20 > DUMMY-T5=20 > Condenced View test=20 > <http://asnmtap.citap.be/cgi-bin/perfparse.cgi?graph=3D1&host=3DDUMMY%2DT= 5&servi ce=3DCondenced+View+test&metric=3Dduration> > duration=20 > 2005-02-06 17:34:00=20 > 1=20 > UP=20 > <http://asnmtap.citap.be/cgi-bin/perfparse.cgi?graph=3D1&host=3DDUMMY%2DT= 5&servi ce=3DCondenced+View+test&metric=3Dresponse+time> > response time=20 > 2005-02-06 17:32:00=20 > 1=20 > WARNING=20 >=20 > The responstime is alway the same in this test for =91duration=92 and=20 > =91response time, and sended at the same time >=20 > Why do I sea into PerfParse 2 different times 17:34 and 17:32 ? The times reflect the last time in which a valid result was parsed into=20 PP. This suggests one of the metrics failed. Check your drop file. I see you have a small error: You have: $performanceData =3D "duration=3D$responseTime = s;$trendline;;; Should be: $performanceData =3D = "duration=3D${responseTime}s;$trendline;;; No space between value and unit. This may help. > Question? >=20 > *Administration* >=20 > Administraion Menu=20 > <http://asnmtap.citap.be/cgi-bin/perfparse.cgi?admin_menu=3D1> >=20 > Is it not =91Administration Menu=92 ? Yes. I am dyslexic. Since my 'vi' has no spell checker, I relay on=20 kind people such as your self pointing these out. This will be fixed as = soon as I have an excuse to release another version :) > Question? > =20 >=20 > Is it possible to sea the results from the same host, service coming=20 > from one raw data, into one graphics. Soon. My self and Yves have been arguing hard about the best way of=20 doing this. Unfortunately we both have little time available. As soon=20 as I can find a few days, this will be done. This will be completed like a shopping card. You will add metrics to=20 your cart, then 'check out' and store a permanent template. This can=20 then be used at any time to draw multiple metrics. Watch this space! > I mean, is it possible to have the results for =91duration=92 and = =91response=20 > time into the same graphic? The scaling may not show anything useful in this case, you will see only = the shape of the lines on the graph. But, yes, this will be possible. > Question? >=20 > The name =91Host=92 and =91Service=92 are the hard coded? >=20 > This because into ASNMTAP, =91Host=92 means there =91Plugin Group=92 = and=20 > =91Service=92 means there =91Plugin Title=92 and if possible I want to = change=20 > these two names? Maybe you want to do a patch for us? Edit libpp_common.h and add: #define HOST_TITLE =3D _("Host"); #define SERVICE_TITLE =3D _("Title"); Then go through the code changing this. In your code you can change=20 this to something else. If this is popular, this can become a=20 configuration variable. > *A working version of PerfParse integrated into ASNMTAP:* >=20 > * * >=20 > *PerfParse facilitates the storage and analysis of binary performance=20 > data produced by the Application Monitoring=20 > <http://asnmtap.citap.be/cgi-bin/perfparse.cgi>* >=20 > http://asnmtap.citap.be/asnmtap/nav/test/reports-index-cv.html >=20 > http://asnmtap.citap.be/cgi-bin/perfparse.cgi Interesting! Please keep sending your ideas :) Regards, Ben Clewett. >=20 > =20 >=20 > =20 >=20 > -----Original Message----- > *From:* Alex Peeters [mailto:ale...@ci...] > *Sent:* zondag 6 februari 2005 12:56 > *To:* 'bcl...@pe...' > *Cc:* 'gc...@pe...' > *Subject:* RE: Perfparse >=20 > =20 >=20 > =20 >=20 > The idea is to replace: >=20 > /opt/asnmtap/perfparse/bin/perfparse_nagios_pipe_command.pl =20 > /opt/asnmtap/perfparse/var/var/perfdata-host.log "$TIMET$" = "$HOSTNAME$"=20 > "$OUTPUT$" "$PERFDATA$" >=20 > =20 >=20 > =20 >=20 > with something like: >=20 > /opt/asnmtap/perfparse/bin/ perfparse-pluginoutput2mysql =20 > --pluginoutput "$TIMET$" "$HOSTNAME$" "$OUTPUT$" "$PERFDATA$" >=20 > =20 >=20 > =20 >=20 > Hi Ben, >=20 > =20 >=20 > Do you remember that i told you that is wanted to port perfparse to asnmtap, >=20 > my application monitoring tool I=92am writing. >=20 > =20 >=20 > Now I have performance data support in it compatible with nagios. >=20 > =20 >=20 > I will do my first test with perfparse-log2mysql, but my question is >=20 > of that that is not possible to have a command perfparse-pluginoutput2mysql >=20 > where perfparse-pluginoutput2mysql give me the possibility to write >=20 > directly the output of my plugin into the database. >=20 > =20 >=20 > With perfparse-log2mysql, I need to write the plugin output first into = a=20 > file, >=20 > and then perfparse-log2mysql add these data to the database. >=20 > =20 >=20 > perfparse-log2mysql - help >=20 > -l, --serviceperf-log <string> : Input log source (from nagios or=20 > perfparsed) >=20 > =20 >=20 > The question is, can you moddify a version perfparse-log2mysql of = where=20 > I can give the plugin output as a parameter please: >=20 > perfparse-pluginoutput2mysql >=20 > -p, --pluginoutput <string> : pluginoutput (from nagios or = perfparsed) >=20 > =20 >=20 > =20 >=20 > *Application System Network Monitoring Tool Alex Peeters*=20 > <http://asnmtap.citap.be/##> >=20 > =20 >=20 > http://asnmtap.citap.be <http://asnmtap.citap.be/> >=20 > =20 >=20 > -- Alex >=20 > =20 >=20 > =09 >=20 > =20 >=20 > =20 >=20 >=20 > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 >=20 >=20 > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 >=20 >=20 > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 >=20 >=20 > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 >=20 >=20 > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 >=20 --=20 No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 =20 --=20 No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 =20 |
From: Ben C. <bcl...@pe...> - 2005-02-07 16:38:51
|
Alex, In that case there is definitely a bug in the purge program. This will be fixed in next version. You may want to undo this until this version: mysql> UPDATE perfdata_host SET is_deleted = 0; I am glad your data is now being added correctly. There should be no difference to the behavior of Sun, Linux or any other OS. If you have a difference, this may be a bug. Ben Alex Peeters wrote: > Hi Ben, > > I dit marked one host for permanently deletion into the host deletion > policy. > > I dit run first the mysql-delete script > > Then again the mysql-create script > > The asnmtap added some data > > I dit run the /opt/asnmtap/perfparse/bin/perfparse-db-purge script. > > >>Can I please ask you to send all support questions to the mailing list >>per...@li...? > > Oke, > > I do have one account at nagios-exchange.org, but there I can't add > problems. > > > -----Original Message----- > From: Ben Clewett [mailto:bcl...@pe...] > Sent: maandag 7 februari 2005 10:05 > To: ale...@ci... > Cc: bcl...@pe...; gc...@pe...; > per...@li... > Subject: Re: Perfparse error for version 0.105.5 > > Hi Alex, > > Can I please ask you to send all support questions to the mailing list > per...@li...? > > You are likely to get better support as well as maybe helping other > users with same problem :) > > May I ask what you were doing at the time of this failure? I believe > you may have been deleting a host which was permanently marked as deleted? > > If this is the case you have found a hole in the system. New tables > have been added which are not included in the deletion function. The > database is trying to protect your data from bad programmes :) > > Regards, Ben. > > PS, (TODO: Edit the purge code to delete data from summary tables.) > > > Alex Peeters wrote: > >>Hi, >> >> >> >> >> >>/opt/asnmtap/perfparse/bin/perfparse-db-purge >> >> >> >>root@chablis [/opt/asnmtap/plugins]# >>/opt/asnmtap/perfparse/bin/perfparse-db-purge >> >>An error occured with the SQL: >> >> >> >> "DELETE perfdata_service FROM perfdata_service,perfdata_host WHERE >>perfdata_service.host_name = perfdata_host.host_name AND >>perfdata_host.is_deleted = 1" >> >> >> >>Failure Message: >> >> >> >> "Cannot delete or update a parent row: a foreign key constraint fails" >> >> >> >> >> >>-- Alex >> >> >> >> >> >> >>-- >>No virus found in this outgoing message. >>Checked by AVG Anti-Virus. >>Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 >> >> >>-- >>No virus found in this outgoing message. >>Checked by AVG Anti-Virus. >>Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 >> >> >>-- >>No virus found in this outgoing message. >>Checked by AVG Anti-Virus. >>Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 >> >> >>-- >>No virus found in this outgoing message. >>Checked by AVG Anti-Virus. >>Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 >> >> >>-- >>No virus found in this outgoing message. >>Checked by AVG Anti-Virus. >>Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 >> >> >>-- >>No virus found in this outgoing message. >>Checked by AVG Anti-Virus. >>Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 >> > > |
From: Ben C. <bcl...@pe...> - 2005-02-07 16:35:28
|
Yves wrote: >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLIBDIR=\"/opt/nagios/lib\" >>-DLOCALSTATEDIR=\"/opt/nagios/var\" -DSYSCONFDIR=\"/opt/nagios/etc\" >>-DPREFIX=\"/opt/nagios\" -I/usr/include/glib-2.0 >>-I/usr/lib/glib-2.0/include -DLOCALEDIR=\"/opt/nagios/share/locale\" >>-I.. -g -O2 -Wall -MT libpp_common_la-config_file.lo -MD -MP -MF >>.deps/libpp_common_la-config_file.Tpo -c config_file.c -fPIC -DPIC -o >>.libs/libpp_common_la-config_file.o >>config_file.c: In function `config_definition_init': >>config_file.c:105: warning: null argument where non-null required (arg 1) >>config_file.c:105: warning: null argument where non-null required (arg 1) >>config_file.c:105: warning: null argument where non-null required (arg 2) >>config_file.c:105: warning: null argument where non-null required (arg 2) >>config_file.c:105: warning: null argument where non-null required (arg 1) >>config_file.c:105: warning: null argument where non-null required (arg 1) >>config_file.c:105: warning: null argument where non-null required (arg 2) > > > Ben, could you have a look at that ? It makes no sense. Line 105 is no different to 104 or 106, which work. These have not changed in months. Further, if I execute your exact gcc command on my setup, it works. So the problem is not programmatical. May I ask what version of gcc you are using? Any other ideas Yves? Ben. |
From: Alex P. <ale...@ci...> - 2005-02-07 15:58:06
|
Hi Ben, I dit marked one host for permanently deletion into the host deletion policy. I dit run first the mysql-delete script Then again the mysql-create script The asnmtap added some data I dit run the /opt/asnmtap/perfparse/bin/perfparse-db-purge script. > Can I please ask you to send all support questions to the mailing list > per...@li...? Oke, I do have one account at nagios-exchange.org, but there I can't add problems. -----Original Message----- From: Ben Clewett [mailto:bcl...@pe...] Sent: maandag 7 februari 2005 10:05 To: ale...@ci... Cc: bcl...@pe...; gc...@pe...; per...@li... Subject: Re: Perfparse error for version 0.105.5 Hi Alex, Can I please ask you to send all support questions to the mailing list per...@li...? You are likely to get better support as well as maybe helping other users with same problem :) May I ask what you were doing at the time of this failure? I believe you may have been deleting a host which was permanently marked as deleted? If this is the case you have found a hole in the system. New tables have been added which are not included in the deletion function. The database is trying to protect your data from bad programmes :) Regards, Ben. PS, (TODO: Edit the purge code to delete data from summary tables.) Alex Peeters wrote: > Hi, > > > > > > /opt/asnmtap/perfparse/bin/perfparse-db-purge > > > > root@chablis [/opt/asnmtap/plugins]# > /opt/asnmtap/perfparse/bin/perfparse-db-purge > > An error occured with the SQL: > > > > "DELETE perfdata_service FROM perfdata_service,perfdata_host WHERE > perfdata_service.host_name = perfdata_host.host_name AND > perfdata_host.is_deleted = 1" > > > > Failure Message: > > > > "Cannot delete or update a parent row: a foreign key constraint fails" > > > > > > -- Alex > > > > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 > -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 |
From: Yves <yme...@pe...> - 2005-02-07 13:20:57
|
Alex, The following hack by Ben is a quick hack. Do it when you want to change = something yourself and when you don't want to spend too much time on it. Besides this, there is a mistake. The quick hack should be this : #define HOST_TITLE (_("Host")) #define SERVICE_TITLE (_("Title")) (and I have not tested if it works that way; I'm sure that is does not wo= rk the other way :) Yves >> The name =91Host=92 and =91Service=92 are the hard coded? >> >> This because into ASNMTAP, =91Host=92 means there =91Plugin Group=92 a= nd >> =91Service=92 means there =91Plugin Title=92 and if possible I want to= change >> these two names? > > Maybe you want to do a patch for us? > > Edit libpp_common.h and add: > > #define HOST_TITLE =3D _("Host"); > #define SERVICE_TITLE =3D _("Title"); > > Then go through the code changing this. In your code you can change > this to something else. If this is popular, this can become a > configuration variable. > > > >> *A working version of PerfParse integrated into ASNMTAP:* >> >> * * >> >> *PerfParse facilitates the storage and analysis of binary performance >> data produced by the Application Monitoring >> <http://asnmtap.citap.be/cgi-bin/perfparse.cgi>* >> >> http://asnmtap.citap.be/asnmtap/nav/test/reports-index-cv.html >> >> http://asnmtap.citap.be/cgi-bin/perfparse.cgi > > Interesting! > > Please keep sending your ideas :) > > Regards, > > Ben Clewett. > > > > >> >> >> >> >> >> -----Original Message----- >> *From:* Alex Peeters [mailto:ale...@ci...] >> *Sent:* zondag 6 februari 2005 12:56 >> *To:* 'bcl...@pe...' >> *Cc:* 'gc...@pe...' >> *Subject:* RE: Perfparse >> >> >> >> >> >> The idea is to replace: >> >> /opt/asnmtap/perfparse/bin/perfparse_nagios_pipe_command.pl >> /opt/asnmtap/perfparse/var/var/perfdata-host.log "$TIMET$" "$HOSTNAME$= " >> "$OUTPUT$" "$PERFDATA$" >> >> >> >> >> >> with something like: >> >> /opt/asnmtap/perfparse/bin/ perfparse-pluginoutput2mysql >> --pluginoutput "$TIMET$" "$HOSTNAME$" "$OUTPUT$" "$PERFDATA$" >> >> >> >> >> >> Hi Ben, >> >> >> >> Do you remember that i told you that is wanted to port perfparse to as= nmtap, >> >> my application monitoring tool I=92am writing. >> >> >> >> Now I have performance data support in it compatible with nagios. >> >> >> >> I will do my first test with perfparse-log2mysql, but my question is >> >> of that that is not possible to have a command perfparse-pluginoutput2= mysql >> >> where perfparse-pluginoutput2mysql give me the possibility to write >> >> directly the output of my plugin into the database. >> >> >> >> With perfparse-log2mysql, I need to write the plugin output first into= a >> file, >> >> and then perfparse-log2mysql add these data to the database. >> >> >> >> perfparse-log2mysql - help >> >> -l, --serviceperf-log <string> : Input log source (from nagios or >> perfparsed) >> >> >> >> The question is, can you moddify a version perfparse-log2mysql of wher= e >> I can give the plugin output as a parameter please: >> >> perfparse-pluginoutput2mysql >> >> -p, --pluginoutput <string> : pluginoutput (from nagios or perfpar= sed) >> >> >> >> >> >> *Application System Network Monitoring Tool Alex Peeters* >> <http://asnmtap.citap.be/##> >> >> >> >> http://asnmtap.citap.be <http://asnmtap.citap.be/> >> >> >> >> -- Alex >> >> >> >> >> >> >> >> >> >> >> -- >> No virus found in this outgoing message. >> Checked by AVG Anti-Virus. >> Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 >> >> >> -- >> No virus found in this outgoing message. >> Checked by AVG Anti-Virus. >> Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 >> >> >> -- >> No virus found in this outgoing message. >> Checked by AVG Anti-Virus. >> Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 >> >> >> -- >> No virus found in this outgoing message. >> Checked by AVG Anti-Virus. >> Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 >> >> >> -- >> No virus found in this outgoing message. >> Checked by AVG Anti-Virus. >> Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 >> > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > > --=20 - Homepage - http://ymettier.free.fr - http://www.logicacmg.com - - GPG key - http://ymettier.free.fr/gpg.txt - - Maitretarot - http://www.nongnu.org/maitretarot/ - - Perfparse - http://www.perfparse.org/ - |
From: Yves <yme...@pe...> - 2005-02-07 13:13:13
|
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLIBDIR=3D\"/opt/nagios/lib\" > -DLOCALSTATEDIR=3D\"/opt/nagios/var\" -DSYSCONFDIR=3D\"/opt/nagios/etc\= " > -DPREFIX=3D\"/opt/nagios\" -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -DLOCALEDIR=3D\"/opt/nagios/share/locale\" > -I.. -g -O2 -Wall -MT libpp_common_la-config_file.lo -MD -MP -MF > .deps/libpp_common_la-config_file.Tpo -c config_file.c -fPIC -DPIC -o > .libs/libpp_common_la-config_file.o > config_file.c: In function `config_definition_init': > config_file.c:105: warning: null argument where non-null required (arg = 1) > config_file.c:105: warning: null argument where non-null required (arg = 1) > config_file.c:105: warning: null argument where non-null required (arg = 2) > config_file.c:105: warning: null argument where non-null required (arg = 2) > config_file.c:105: warning: null argument where non-null required (arg = 1) > config_file.c:105: warning: null argument where non-null required (arg = 1) > config_file.c:105: warning: null argument where non-null required (arg = 2) Ben, could you have a look at that ? > /usr/bin/ld: cannot find -lXpm > collect2: ld returned 1 exit status > > Now, I got past by linking libXpm.so to libXpm.so.4.11 in > /usr/X11R6/lib, but then it halted at libX11, and so on - getting > confused at the versioned so libraries. > > Is this a function of the compiler, loader, Makefile or what? Any ideas= ? Nick : this is probably a problem on FC because you should not have libXp= m.so.4.11 without libXpm.so.4. The library is libXpm.so.4 and should be found under= that name. Having libXpm.so.4.11 is a convenient way to manage versions easily. If you upgraded, maybe you still have libXpm.so.4.11 from an older instal= lation, but you did not install the Xpm packages ? Don't forget to install the libxpm-dev= el package. Same thing for libX11. > > Thanks > Nick > --=20 - Homepage - http://ymettier.free.fr - http://www.logicacmg.com - - GPG key - http://ymettier.free.fr/gpg.txt - - Maitretarot - http://www.nongnu.org/maitretarot/ - - Perfparse - http://www.perfparse.org/ - |
From: Nick S. <ni...@sm...> - 2005-02-07 11:16:49
|
Hello! After a bit of problem with a disk, I took the opportunity to upgrade to FC3, upgrade MySQL, recompiling Nagios (OK) and recompile PP. However, I have some trouble - perhaps someone has encountered this? (configure output and make output attached). Configure seems to progress normally. In make, I get a load of warnings like: make[2]: Entering directory `/opt/perfparse-0.105.5/libpp_common' if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. '-DLIBDIR="/opt/nagios/lib"' '-DLOCALSTATEDIR="/opt/nagios/var"' '-DSYSCONFDIR="/opt/nagios/etc"' '-DPREFIX="/opt/nagios"' -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include '-DLOCALEDIR="/opt/nagios/share/locale"' -I.. -g -O2 -Wall -MT libpp_common_la-config_file.lo -MD -MP -MF ".deps/libpp_common_la-config_file.Tpo" -c -o libpp_common_la-config_file.lo `test -f 'config_file.c' || echo './'`config_file.c; \ then mv -f ".deps/libpp_common_la-config_file.Tpo" ".deps/libpp_common_la-config_file.Plo"; else rm -f ".deps/libpp_common_la-config_file.Tpo"; exit 1; fi mkdir .libs gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLIBDIR=\"/opt/nagios/lib\" -DLOCALSTATEDIR=\"/opt/nagios/var\" -DSYSCONFDIR=\"/opt/nagios/etc\" -DPREFIX=\"/opt/nagios\" -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DLOCALEDIR=\"/opt/nagios/share/locale\" -I.. -g -O2 -Wall -MT libpp_common_la-config_file.lo -MD -MP -MF .deps/libpp_common_la-config_file.Tpo -c config_file.c -fPIC -DPIC -o .libs/libpp_common_la-config_file.o config_file.c: In function `config_definition_init': config_file.c:105: warning: null argument where non-null required (arg 1) config_file.c:105: warning: null argument where non-null required (arg 1) config_file.c:105: warning: null argument where non-null required (arg 2) config_file.c:105: warning: null argument where non-null required (arg 2) config_file.c:105: warning: null argument where non-null required (arg 1) config_file.c:105: warning: null argument where non-null required (arg 1) config_file.c:105: warning: null argument where non-null required (arg 2) Which I have ignored for the time being. However, later on it comes to a halt at: if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. '-DLIBDIR="/opt/nagios/lib"' '-DLOCALSTATEDIR="/opt/nagios/var"' '-DSYSCONFDIR="/opt/nagios/etc"' '-DPREFIX="/opt/nagios"' -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include '-DLOCALEDIR="/opt/nagios/share/locale"' -I.. -g -O2 -Wall -MT libpp_common_la-log.lo -MD -MP -MF ".deps/libpp_common_la-log.Tpo" -c -o libpp_common_la-log.lo `test -f 'log.c' || echo './'`log.c; \ then mv -f ".deps/libpp_common_la-log.Tpo" ".deps/libpp_common_la-log.Plo"; else rm -f ".deps/libpp_common_la-log.Tpo"; exit 1; fi cc -g -O2 -Wall -o .libs/perfchart.png perfchart_png-perfchart.o perfchart_png-cgi.o -L/opt/perfparse-0.105.5/libpp_mysql /opt/perfparse-0.105.5/libpp_mysql/.libs/libpp_mysql.so -L/usr/lib/mysql /usr/lib/mysql/libmysqlclient.a -lcrypt -lnsl -lc -lnss_files -lnss_dns -lresolv -L/opt/perfparse-0.105.5/libpp_common /opt/perfparse-0.105.5/libpp_common/.libs/libpp_common.so -lglib-2.0 -L/usr/lib -L/usr/X11R6/lib -lXpm -lX11 -ljpeg -lfreetype -lpng12 -lz -lgd -ldl -lm -Wl,--rpath -Wl,/opt/nagios/lib /usr/bin/ld: cannot find -lXpm collect2: ld returned 1 exit status Now, I got past by linking libXpm.so to libXpm.so.4.11 in /usr/X11R6/lib, but then it halted at libX11, and so on - getting confused at the versioned so libraries. Is this a function of the compiler, loader, Makefile or what? Any ideas? Thanks Nick |
From: Ben C. <bcl...@pe...> - 2005-02-07 09:21:15
|
Dear Alex, I will answer you in line: Alex Peeters wrote: > Question? > > my $performanceData = "duration=$responseTime s;$trendline;;; 'response > time'=$responseTime s;$trendline;;;"; > > DUMMY-T5 > Condenced View test > <http://asnmtap.citap.be/cgi-bin/perfparse.cgi?graph=1&host=DUMMY%2DT5&service=Condenced+View+test&metric=duration> > duration > 2005-02-06 17:34:00 > 1 > UP > <http://asnmtap.citap.be/cgi-bin/perfparse.cgi?graph=1&host=DUMMY%2DT5&service=Condenced+View+test&metric=response+time> > response time > 2005-02-06 17:32:00 > 1 > WARNING > > The responstime is alway the same in this test for ‘duration’ and > ‘response time, and sended at the same time > > Why do I sea into PerfParse 2 different times 17:34 and 17:32 ? The times reflect the last time in which a valid result was parsed into PP. This suggests one of the metrics failed. Check your drop file. I see you have a small error: You have: $performanceData = "duration=$responseTime s;$trendline;;; Should be: $performanceData = "duration=${responseTime}s;$trendline;;; No space between value and unit. This may help. > Question? > > *Administration* > > Administraion Menu > <http://asnmtap.citap.be/cgi-bin/perfparse.cgi?admin_menu=1> > > Is it not ‘Administration Menu’ ? Yes. I am dyslexic. Since my 'vi' has no spell checker, I relay on kind people such as your self pointing these out. This will be fixed as soon as I have an excuse to release another version :) > Question? > > > Is it possible to sea the results from the same host, service coming > from one raw data, into one graphics. Soon. My self and Yves have been arguing hard about the best way of doing this. Unfortunately we both have little time available. As soon as I can find a few days, this will be done. This will be completed like a shopping card. You will add metrics to your cart, then 'check out' and store a permanent template. This can then be used at any time to draw multiple metrics. Watch this space! > I mean, is it possible to have the results for ‘duration’ and ‘response > time into the same graphic? The scaling may not show anything useful in this case, you will see only the shape of the lines on the graph. But, yes, this will be possible. > Question? > > The name ‘Host’ and ‘Service’ are the hard coded? > > This because into ASNMTAP, ‘Host’ means there ‘Plugin Group’ and > ‘Service’ means there ‘Plugin Title’ and if possible I want to change > these two names? Maybe you want to do a patch for us? Edit libpp_common.h and add: #define HOST_TITLE = _("Host"); #define SERVICE_TITLE = _("Title"); Then go through the code changing this. In your code you can change this to something else. If this is popular, this can become a configuration variable. > *A working version of PerfParse integrated into ASNMTAP:* > > * * > > *PerfParse facilitates the storage and analysis of binary performance > data produced by the Application Monitoring > <http://asnmtap.citap.be/cgi-bin/perfparse.cgi>* > > http://asnmtap.citap.be/asnmtap/nav/test/reports-index-cv.html > > http://asnmtap.citap.be/cgi-bin/perfparse.cgi Interesting! Please keep sending your ideas :) Regards, Ben Clewett. > > > > > > -----Original Message----- > *From:* Alex Peeters [mailto:ale...@ci...] > *Sent:* zondag 6 februari 2005 12:56 > *To:* 'bcl...@pe...' > *Cc:* 'gc...@pe...' > *Subject:* RE: Perfparse > > > > > > The idea is to replace: > > /opt/asnmtap/perfparse/bin/perfparse_nagios_pipe_command.pl > /opt/asnmtap/perfparse/var/var/perfdata-host.log "$TIMET$" "$HOSTNAME$" > "$OUTPUT$" "$PERFDATA$" > > > > > > with something like: > > /opt/asnmtap/perfparse/bin/ perfparse-pluginoutput2mysql > --pluginoutput "$TIMET$" "$HOSTNAME$" "$OUTPUT$" "$PERFDATA$" > > > > > > Hi Ben, > > > > Do you remember that i told you that is wanted to port perfparse to asnmtap, > > my application monitoring tool I’am writing. > > > > Now I have performance data support in it compatible with nagios. > > > > I will do my first test with perfparse-log2mysql, but my question is > > of that that is not possible to have a command perfparse-pluginoutput2mysql > > where perfparse-pluginoutput2mysql give me the possibility to write > > directly the output of my plugin into the database. > > > > With perfparse-log2mysql, I need to write the plugin output first into a > file, > > and then perfparse-log2mysql add these data to the database. > > > > perfparse-log2mysql - help > > -l, --serviceperf-log <string> : Input log source (from nagios or > perfparsed) > > > > The question is, can you moddify a version perfparse-log2mysql of where > I can give the plugin output as a parameter please: > > perfparse-pluginoutput2mysql > > -p, --pluginoutput <string> : pluginoutput (from nagios or perfparsed) > > > > > > *Application System Network Monitoring Tool Alex Peeters* > <http://asnmtap.citap.be/##> > > > > http://asnmtap.citap.be <http://asnmtap.citap.be/> > > > > -- Alex > > > > > > > > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 > |
From: Ben C. <bcl...@pe...> - 2005-02-07 09:07:28
|
Hi Alex, Can I please ask you to send all support questions to the mailing list per...@li...? You are likely to get better support as well as maybe helping other users with same problem :) May I ask what you were doing at the time of this failure? I believe you may have been deleting a host which was permanently marked as deleted? If this is the case you have found a hole in the system. New tables have been added which are not included in the deletion function. The database is trying to protect your data from bad programmes :) Regards, Ben. PS, (TODO: Edit the purge code to delete data from summary tables.) Alex Peeters wrote: > Hi, > > > > > > /opt/asnmtap/perfparse/bin/perfparse-db-purge > > > > root@chablis [/opt/asnmtap/plugins]# > /opt/asnmtap/perfparse/bin/perfparse-db-purge > > An error occured with the SQL: > > > > "DELETE perfdata_service FROM perfdata_service,perfdata_host WHERE > perfdata_service.host_name = perfdata_host.host_name AND > perfdata_host.is_deleted = 1" > > > > Failure Message: > > > > "Cannot delete or update a parent row: a foreign key constraint fails" > > > > > > -- Alex > > > > > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 > > > -- > No virus found in this outgoing message. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.5 - Release Date: 3/02/2005 > |
From: Yves <yme...@pe...> - 2005-02-04 17:34:58
|
Daniel, Ben released 0.105.5 : try it. But you will probably have a probl= em with g_path_get_basename. The following is only for your information :) Ben, there are 2 interesting things in the following, including g_path_ge= t_basename. Please have a look on it. > 15:11:25 [root@dw003]:~/tmp/nagios/addons/perfparse-0.105.4 > aclocal -= I m4 > /usr/local/share/aclocal/gtk.m4:7: warning: underquoted definition of > AM_PATH_GTK You are probably running a recent version of aclocal. This is not a probl= em. You get the warning because gtk+ is not as recent as aclocal. But I made some tests o= n other software and it runs anyways. > run info '(automake)Extending aclocal' > or see > http://sources.redhat.com/automake/automake.html#Extending%20aclocal > /usr/local/share/aclocal/glib.m4:8: warning: underquoted definition of > AM_PATH_GLIB > aclocal:configure.ac:92: warning: macro `AM_PATH_GLIB_2_0' not found in > library Your installation of glib is not correct, or you don't have glib2 install= ed, or you should specify the path where the m4 macro is. We won't try to solve this= "bug" because it's an issue only for developpers. If some developer wants to know more,= please write us on per...@li... :) > 15:11:44 [root@dw003]:~/tmp/nagios/addons/perfparse-0.105.4 > autoconf > configure.ac:94: error: possibly undefined macro: AM_PATH_GLIB_2_0 > If this token and others are legitimate, please use m4_pattern_al= low. > See the Autoconf documentation. Same as before :) > 15:12:05 [root@dw003]:~/tmp/nagios/addons/perfparse-0.105.4 > autoheade= r > 15:12:39 [root@dw003]:~/tmp/nagios/addons/perfparse-0.105.4 > automake = -a -c > cgi/Makefile.am:39: perfgant_png_LDADD multiply defined in condition TR= UE > ... Ben : What is that ? Do you have an idea ? Check cgi/Makefile.am > cgi/Makefile.am:35: ... `perfgant_png_LDADD' previously defined here > cgi/Makefile.am:40: perfgant_png_CPPFLAGS multiply defined in condition= TRUE > ... > cgi/Makefile.am:36: ... `perfgant_png_CPPFLAGS' previously defined here > perfparse/Makefile.am:13: variable `PERFPARSE_LDFLAGS' is defined but n= o > program or > perfparse/Makefile.am:13: library has `PERFPARSE' as canonic name (poss= ible > typo) Ben : same as above. > Then I've commented out the two lines in configure.ac (93,94) with > AM_PATH_GLIB_2_0 and reexecuted: Without that, you cannot use glib2. I hope you have glib-1.2 installed :) > configure --disable-shared && make > [...] > /bin/bash ../libtool --mode=3Dlink --tag=3DCC gcc -g -O2 -Wall -o pe= rfparsed > perfparsed-perfparsed.o perfparsed-perfparse-common.o > perfparsed-server_parser.o perfparsed-log_reader.o perfparsed-storage.o > perfparsed-storage_history.o -lz -L../libpp_common -lpp_common > -L../libnagios_perfdata_parser -lnagios_perfdata_parser -L/usr/local/li= b > -lglib ../intl/libintl.a -liconv -ldl -lnsl -lm -lsocket > gcc -g -O2 -Wall -o perfparsed perfparsed-perfparsed.o > perfparsed-perfparse-common.o perfparsed-server_parser.o > perfparsed-log_reader.o perfparsed-storage.o perfparsed-storage_history= .o > -L/local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_common > /local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_common/.libs/libp= p_com > mon.a -lz > -L/local/root/tmp/nagios/addons/perfparse-0.105.4/libnagios_perfdata_pa= rser > /local/root/tmp/nagios/addons/perfparse-0.105.4/libnagios_perfdata_pars= er/.l > ibs/libnagios_perfdata_parser.a -L/usr/local/lib /usr/local/lib/libglib= .so > -L/usr/lib -L/usr/openwin/lib ../intl/libintl.a /usr/local/lib/libiconv= .so > -ldl -lnsl -lm -lsocket -R/usr/local/lib -R/usr/local/lib > Undefined first referenced > symbol in file > g_path_get_basename perfparsed-storage.o Ben : glib-1.2 has another function for that. Could you make a wrapper fo= r glib-1.2 users ? I consider that one as a bug, and I would be surprised if Daniel manages = to compile perfparse-0.105.5 with glib-1.2 if that has not been fixed. Yves --=20 - Homepage - http://ymettier.free.fr - http://www.logicacmg.com - - GPG key - http://ymettier.free.fr/gpg.txt - - Maitretarot - http://www.nongnu.org/maitretarot/ - - Perfparse - http://www.perfparse.org/ - |
From: Ben C. <bcl...@pe...> - 2005-02-04 17:16:20
|
Daniel, Version 0.105.5 has been released containing this fix. This contains no other changes from previous versions. If you had the time to check this works, this would be useful. Thanks for letting us know about the problem, Ben. Ben Clewett wrote: > Daniel, > > Yves is right, I did forget to include this stage :( > > I hope this works for you. > > Ben > > > Yves wrote: > >> Daniel, >> >> When you made the changes with my patch, you have to run >> >> libtoolize -f (I don't think this is necessary, but I'm not sure) >> aclocal -I m4 >> autoconf >> autoheader >> automake -a -c >> configure && make (this is what you do) >> >> If you don't do that, configure will not take the patch into account. >> Ben forgot to tell >> you in his previous mail. >> Could you try again and tell us ? >> >> Yves >> >> >>> The patch didn't woked, but I've done the changes by hand. >>> Unfortunately after the run of configure && make exactly the same error >>> messages appeard on the console. I've tried to generate either shared >>> and >>> static libs. In both cases make broke with errors like last time: >>> nothing >>> changed. >> >> >> >>>> This patch is against 0.105.3, but will work against 0.105.4. Please >>>> edit the patch and change 0.105.3 to 0.105.4 before use. Don't >>>> worry if >>>> the Changelog doesn't patch. >>>> >>>> $ edit patch.... >>>> $ patch -p1 < patch... >>>> $ cd perfparse-0.105.4 >>>> $ ./configure .... >>>> $ make >> >> >> >> > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > |
From: Cisowski, D. <dan...@ed...> - 2005-02-04 16:31:15
|
Yves, thanks for the hints. I've tried to execute them, but yet another error occured: 15:11:25 [root@dw003]:~/tmp/nagios/addons/perfparse-0.105.4 > aclocal -I m4 /usr/local/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending%20aclocal /usr/local/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB aclocal:configure.ac:92: warning: macro `AM_PATH_GLIB_2_0' not found in library 15:11:44 [root@dw003]:~/tmp/nagios/addons/perfparse-0.105.4 > 15:11:44 [root@dw003]:~/tmp/nagios/addons/perfparse-0.105.4 > autoconf configure.ac:94: error: possibly undefined macro: AM_PATH_GLIB_2_0 If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. 15:12:05 [root@dw003]:~/tmp/nagios/addons/perfparse-0.105.4 > autoheader 15:12:39 [root@dw003]:~/tmp/nagios/addons/perfparse-0.105.4 > automake -a -c cgi/Makefile.am:39: perfgant_png_LDADD multiply defined in condition TRUE ... cgi/Makefile.am:35: ... `perfgant_png_LDADD' previously defined here cgi/Makefile.am:40: perfgant_png_CPPFLAGS multiply defined in condition TRUE ... cgi/Makefile.am:36: ... `perfgant_png_CPPFLAGS' previously defined here perfparse/Makefile.am:13: variable `PERFPARSE_LDFLAGS' is defined but no program or perfparse/Makefile.am:13: library has `PERFPARSE' as canonic name (possible typo) Then I've commented out the two lines in configure.ac (93,94) with AM_PATH_GLIB_2_0 and reexecuted: libtoolize -f && aclocal -I m4 && autoconf && autoheader && automake -a -c configure && make Then the same unresolved symbol errors had been printed out I've seen previously. After configure --disable-shared && make the following fatal error occured: [...] /bin/bash ../libtool --mode=link --tag=CC gcc -g -O2 -Wall -o perfparsed perfparsed-perfparsed.o perfparsed-perfparse-common.o perfparsed-server_parser.o perfparsed-log_reader.o perfparsed-storage.o perfparsed-storage_history.o -lz -L../libpp_common -lpp_common -L../libnagios_perfdata_parser -lnagios_perfdata_parser -L/usr/local/lib -lglib ../intl/libintl.a -liconv -ldl -lnsl -lm -lsocket gcc -g -O2 -Wall -o perfparsed perfparsed-perfparsed.o perfparsed-perfparse-common.o perfparsed-server_parser.o perfparsed-log_reader.o perfparsed-storage.o perfparsed-storage_history.o -L/local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_common /local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_common/.libs/libpp_com mon.a -lz -L/local/root/tmp/nagios/addons/perfparse-0.105.4/libnagios_perfdata_parser /local/root/tmp/nagios/addons/perfparse-0.105.4/libnagios_perfdata_parser/.l ibs/libnagios_perfdata_parser.a -L/usr/local/lib /usr/local/lib/libglib.so -L/usr/lib -L/usr/openwin/lib ../intl/libintl.a /usr/local/lib/libiconv.so -ldl -lnsl -lm -lsocket -R/usr/local/lib -R/usr/local/lib Undefined first referenced symbol in file g_path_get_basename perfparsed-storage.o ld: fatal: Symbol referencing errors. No output written to perfparsed collect2: ld returned 1 exit status make[2]: *** [perfparsed] Error 1 make[2]: Leaving directory `/local/root/tmp/nagios/addons/perfparse-0.105.4/perfparse' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/local/root/tmp/nagios/addons/perfparse-0.105.4' make: *** [all] Error 2 Is there something else wrong ? Best regards, Daniel -- Daniel Cisowski EDS Operations Services GmbH EAD DP Eisenstr. 58 (58-5-M) D-65428 Ruesselsheim Phone: +49-6142-80-1049 Fax: +49-6142-80-1018 Mobile: +49-170-792-2331 mailto:dan...@ed... jabber:dan...@ei... Yves <> wrote on Friday, February 04, 2005 2:20 PM: > Daniel, > > When you made the changes with my patch, you have to run > > libtoolize -f (I don't think this is necessary, but I'm not sure) > aclocal -I m4 > autoconf > autoheader > automake -a -c > configure && make (this is what you do) > > If you don't do that, configure will not take the patch into account. Ben > forgot to tell you in his previous mail. > Could you try again and tell us ? > > Yves > >> The patch didn't woked, but I've done the changes by hand. >> Unfortunately after the run of configure && make exactly the same error >> messages appeard on the console. I've tried to generate either shared and >> static libs. In both cases make broke with errors like last time: nothing >> changed. > >>> This patch is against 0.105.3, but will work against 0.105.4. Please >>> edit the patch and change 0.105.3 to 0.105.4 before use. Don't worry if >>> the Changelog doesn't patch. >>> >>> $ edit patch.... >>> $ patch -p1 < patch... >>> $ cd perfparse-0.105.4 >>> $ ./configure .... >>> $ make |
From: Ben C. <bcl...@pe...> - 2005-02-04 13:35:00
|
Daniel, Yves is right, I did forget to include this stage :( I hope this works for you. Ben Yves wrote: > Daniel, > > When you made the changes with my patch, you have to run > > libtoolize -f (I don't think this is necessary, but I'm not sure) > aclocal -I m4 > autoconf > autoheader > automake -a -c > configure && make (this is what you do) > > If you don't do that, configure will not take the patch into account. Ben forgot to tell > you in his previous mail. > Could you try again and tell us ? > > Yves > > >>The patch didn't woked, but I've done the changes by hand. >>Unfortunately after the run of configure && make exactly the same error >>messages appeard on the console. I've tried to generate either shared and >>static libs. In both cases make broke with errors like last time: nothing >>changed. > > >>>This patch is against 0.105.3, but will work against 0.105.4. Please >>>edit the patch and change 0.105.3 to 0.105.4 before use. Don't worry if >>>the Changelog doesn't patch. >>> >>>$ edit patch.... >>>$ patch -p1 < patch... >>>$ cd perfparse-0.105.4 >>>$ ./configure .... >>>$ make > > > |
From: Yves <yme...@pe...> - 2005-02-04 13:20:00
|
Daniel, When you made the changes with my patch, you have to run libtoolize -f (I don't think this is necessary, but I'm not sure) aclocal -I m4 autoconf autoheader automake -a -c configure && make (this is what you do) If you don't do that, configure will not take the patch into account. Ben= forgot to tell you in his previous mail. Could you try again and tell us ? Yves > The patch didn't woked, but I've done the changes by hand. > Unfortunately after the run of configure && make exactly the same error > messages appeard on the console. I've tried to generate either shared a= nd > static libs. In both cases make broke with errors like last time: nothi= ng > changed. >> This patch is against 0.105.3, but will work against 0.105.4. Please >> edit the patch and change 0.105.3 to 0.105.4 before use. Don't worry = if >> the Changelog doesn't patch. >> >> $ edit patch.... >> $ patch -p1 < patch... >> $ cd perfparse-0.105.4 >> $ ./configure .... >> $ make --=20 - Homepage - http://ymettier.free.fr - http://www.logicacmg.com - - GPG key - http://ymettier.free.fr/gpg.txt - - Maitretarot - http://www.nongnu.org/maitretarot/ - - Perfparse - http://www.perfparse.org/ - |
From: Cisowski, D. <dan...@ed...> - 2005-02-04 11:58:25
|
Ben, Yves, thanks for the patch. The patch didn't woked, but I've done the changes by hand. Unfortunately after the run of configure && make exactly the same error messages appeard on the console. I've tried to generate either shared and static libs. In both cases make broke with errors like last time: nothing changed. Can you duplicate my problems? Could you please prepare another patch? Thanks a lot! Daniel Ben Clewett <mailto:bcl...@pe...> wrote on Friday, February 04, 2005 9:36 AM: > Daniel, > > Our Sun expert Yves has produced a patch, which I have enclosed. This > may help. I will try and get a version released today which contains > this patch. > > This patch is against 0.105.3, but will work against 0.105.4. Please > edit the patch and change 0.105.3 to 0.105.4 before use. Don't worry if > the Changelog doesn't patch. > > $ edit patch.... > $ patch -p1 < patch... > $ cd perfparse-0.105.4 > $ ./configure .... > $ make > > Please let us know. > > Regards, > > Ben. > > > > Cisowski, Daniel wrote: >> Ben, >> >> thanks for the quick response. >> >> I didn't compile MySQL by my own, but installed a package from sunfreeware >> (http://www.sunfreeware.com). The include files are correct. >> The version of MySQL is 4.0.21 >> >> I've tried to compile PerfParse v0.105.4 downloaded today. >> >> Regards, >> >> Daniel >> >> >> >> Ben Clewett <mailto:bcl...@pe...> wrote on Thursday, February >> 03, 2005 2:31 PM: >> >> >>> Daniel, >>> >>> Can you tell me the version of MySQL you are using, and the version of >>> PerfParse? >>> >>> Can you also check that your MySQL Client Library '/usr/include' files >>> are correct for the MySQL Client Library '/usr/lib' files you have >>> installed? Please let me know which version this is as well. >>> >>> Regards, >>> >>> Ben Clewett. >>> >>> >>> Cisowski, Daniel wrote: >>> >>> >>>> Hi folks, >>>> >>>> I'm trying to compile PerfPars on a Solaris 9 box. Unfortunately the link >>>> process breaks with fatal errors. Has anybody an idea what's going wrong? >>>> I'd be glad to receive a hint. >>>> >>>> >>>> After a >>>> >>>> ./configure --prefix=/usr/local/nagios --with-glib12=/usr/local >>>> --with-libiconv-prefix=/usr/local/lib --with-included-gettext >>>> --with-db=mysql --with-mysql_config_dir=/usr/local/mysql/bin >>>> make >>>> >>>> the following errors occure: >>>> >>>> make all-recursive >>>> make[1]: Entering directory >>>> `/local/root/tmp/nagios/addons/perfparse-0.105.4' >>>> Making all in intl >>>> [...] >>>> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/mysql/include/mysql >>>> -I../libpp_mysql -I/usr/local/include/glib-1.2 >>>> -I/usr/local/lib/glib/include >>>> -I.. -I../libpp_common -I../libnagios_perfdata_parser >>>> -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -g -O2 -Wall -MT >>>> libpp_storage_mysql_la-libstorage.lo -MD -MP -MF >>>> .deps/libpp_storage_mysql_la-libstorage.Tpo -c libstorage.c -fPIC -DPIC >> >> -o >> >>>> .libs/libpp_storage_mysql_la-libstorage.o >>>> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/mysql/include/mysql >>>> -I../libpp_mysql -I/usr/local/include/glib-1.2 >>>> -I/usr/local/lib/glib/include >>>> -I.. -I../libpp_common -I../libnagios_perfdata_parser >>>> -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -g -O2 -Wall -MT >>>> libpp_storage_mysql_la-libstorage.lo -MD -MP -MF >>>> .deps/libpp_storage_mysql_la-libstorage.Tpo -c libstorage.c -o >>>> libpp_storage_mysql_la-libstorage.o >/dev/null 2>&1 >>>> /bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -o >>>> libpp_storage_mysql.la -rpath /usr/local/nagios/lib -module >>>> libpp_storage_mysql_la-storage_mysql.lo >>>> libpp_storage_mysql_la-libstorage.lo >>>> -L/usr/local/lib -R/usr/local/lib -R/usr/lib -L/usr/lib >> >> -R/usr/openwin/lib >> >>>> -L/usr/openwin/lib -L/usr/local/ssl/lib -R/usr/local/ssl/lib >>>> -L/usr/local/BerkeleyDB.4.2/lib -R/usr/local/BerkeleyDB.4.2/lib >>>> -L/usr/local/mysql/lib/mysql -lmysqlclient -lposix4 -lcrypt -lgen >> >> -lsocket >> >>>> -lnsl -lm -L../libpp_mysql -lpp_mysql -ldl -lnsl -lm -lsocket >>>> gcc -shared -Wl,-h -Wl,libpp_storage_mysql.so.0 -o >>>> .libs/libpp_storage_mysql.so.0.0.0 >>>> .libs/libpp_storage_mysql_la-storage_mysql.o >>>> .libs/libpp_storage_mysql_la-libstorage.o -z allextract >>>> /usr/local/mysql/lib/mysql/libmysqlclient.a -z defaultextract >>>> -R/local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_mysql/.libs >>>> -R/usr/local/nagios/lib -R/usr/local/lib -R/usr/lib -R/usr/openwin/lib >>>> -R/usr/local/ssl/lib -R/usr/local/BerkeleyDB.4.2/lib -L/usr/local/lib >>>> -L/usr/lib -L/usr/openwin/lib -L/usr/local/ssl/lib >>>> -L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/mysql/lib/mysql -lposix4 >>>> -lcrypt -lgen >> >> -L/local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_mysql >> >> /local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_mysql/.libs/libpp_mysq >> >>>> l.so -ldl -lnsl -lm -lsocket -lc >>>> Text relocation remains referenced >>>> against symbol offset in file >>>> <unknown> 0x5d0 >>>> /usr/local/mysql/lib/mysql/libmysqlclient.a(libmysql.o) >>>> <unknown> 0x5d4 >>>> /usr/local/mysql/lib/mysql/libmysqlclient.a(libmysql.o) >>>> <unknown> 0x5d8 >>>> /usr/local/mysql/lib/mysql/libmysqlclient.a(libmysql.o) [... 3650 lines >>>> later ...] __udiv64 0x1d8 >>>> /usr/local/mysql/lib/mysql/libmysqlclient.a(longlong2str.o) >>>> __mul64 0xd4c >>>> /usr/local/mysql/lib/mysql/libmysqlclient.a(my_getopt.o) >>>> __mul64 0xfe0 >>>> /usr/local/mysql/lib/mysql/libmysqlclient.a(my_getopt.o) >>>> __mul64 0x80 >>>> /usr/local/mysql/lib/mysql/libmysqlclient.a(longlong2str.o) >>>> strtoll 0xcb8 >>>> /usr/local/mysql/lib/mysql/libmysqlclient.a(my_getopt.o) >>>> strtoll 0xe8c >>>> /usr/local/mysql/lib/mysql/libmysqlclient.a(my_getopt.o) >>>> vfprintf 0x20 >>>> /usr/local/mysql/lib/mysql/libmysqlclient.a(my_getopt.o) >>>> vfprintf 0x8c8 >>>> /usr/local/mysql/lib/mysql/libmysqlclient.a(dbug.o) >>>> fstat64 0x320 >>>> /usr/local/mysql/lib/mysql/libmysqlclient.a(my_lib.o) >>>> fstat64 0x324 >>>> /usr/local/mysql/lib/mysql/libmysqlclient.a(my_lib.o) >>>> opendir 0x14 >>>> /usr/local/mysql/lib/mysql/libmysqlclient.a(my_lib.o) >>>> stat64 0x25c >>>> /usr/local/mysql/lib/mysql/libmysqlclient.a(my_lib.o) >>>> readdir64 0x84 >>>> /usr/local/mysql/lib/mysql/libmysqlclient.a(my_lib.o) >>>> ld: fatal: relocations remain against allocatable but non-writable >> >> sections >> >>>> collect2: ld returned 1 exit status >>>> make[2]: *** [libpp_storage_mysql.la] Error 1 >>>> make[2]: Leaving directory >>>> `/local/root/tmp/nagios/addons/perfparse-0.105.4/modules' >>>> make[1]: *** [all-recursive] Error 1 >>>> make[1]: Leaving directory >>>> `/local/root/tmp/nagios/addons/perfparse-0.105.4' make: *** [all] Error 2 >> >> >>>> >>>> >>>> I've also tried not to use shared libraries, but it also results in >>>> unresolved symbols: >>>> >>>> ./configure --prefix=/usr/local/nagios --with-glib12=/usr/local >>>> --with-libiconv-prefix=/usr/local/lib --with-included-gettext >>>> --with-db=mysql --with-mysql_config_dir=/usr/local/mysql/bin >>>> --disable-shared >>>> make >>>> >>>> gcc -g -O2 -Wall -o perfparse-db-purge >>>> perfparse_db_purge-perfparse-db-purge.o perfparse_db_purge-convert.o >>>> -L/local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_common >>>> >> >> /local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_common/.libs/libpp_com >> >>>> mon.a -lz -L/local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_mysql >>>> >> >> /local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_mysql/.libs/libpp_mysq >> >>>> l.a -L/usr/local/lib -L/usr/lib -L/usr/openwin/lib -L/usr/local/ssl/lib >>>> -L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/mysql/lib/mysql >>>> /usr/local/mysql/lib/mysql/libmysqlclient.a -lposix4 -lcrypt -lgen >>>> /usr/local/lib/libglib.so ../intl/libintl.a /usr/local/lib/libiconv.so >> >> -ldl >> >>>> -lnsl -lm -lsocket -R/usr/local/lib -R/usr/local/lib -R/usr/lib >>>> -R/usr/openwin/lib -R/usr/local/ssl/lib -R/usr/local/BerkeleyDB.4.2/lib >>>> Undefined first referenced >>>> symbol in file >>>> pp_log >>>> >> >> /local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_mysql/.libs/libpp_mysq >> >>>> l.a(libpp_mysql_la-dbms.o) ld: fatal: Symbol referencing errors. No >> >> output >> >>>> written to perfparse-db-purge collect2: ld returned 1 exit status >>>> make[2]: *** [perfparse-db-purge] Error 1 >>>> make[2]: Leaving directory >>>> `/local/root/tmp/nagios/addons/perfparse-0.105.4/db_tools' >>>> make[1]: *** [all-recursive] Error 1 >>>> make[1]: Leaving directory >>>> `/local/root/tmp/nagios/addons/perfparse-0.105.4' make: *** [all] Error 2 >> >> >>>> >>>> >>>> Thanks in advance. >>>> >>>> Daniel >>>> >>>> -- >>>> Daniel Cisowski >>>> EDS Operations Services GmbH >>>> EAD DP >>>> Eisenstr. 58 (58-5-M) >>>> D-65428 Ruesselsheim >>>> Phone: +49-6142-80-1049 >>>> Fax: +49-6142-80-1018 >>>> Mobile: +49-170-792-2331 >>>> mailto:dan...@ed... >>>> jabber:dan...@ei... >>>> >>>> >>>> >>>> ------------------------------------------------------- >>>> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting >>>> Tool for open source databases. Create drag-&-drop reports. Save time >>>> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >>>> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>>> _______________________________________________ >>>> Perfparse-users mailing list >>>> Per...@li... >>>> https://lists.sourceforge.net/lists/listinfo/perfparse-users >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting >> Tool for open source databases. Create drag-&-drop reports. Save time >> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >> _______________________________________________ >> Perfparse-users mailing list >> Per...@li... >> https://lists.sourceforge.net/lists/listinfo/perfparse-users |
From: Ben C. <bcl...@pe...> - 2005-02-04 08:40:04
|
Daniel, Our Sun expert Yves has produced a patch, which I have enclosed. This may help. I will try and get a version released today which contains this patch. This patch is against 0.105.3, but will work against 0.105.4. Please edit the patch and change 0.105.3 to 0.105.4 before use. Don't worry if the Changelog doesn't patch. $ edit patch.... $ patch -p1 < patch... $ cd perfparse-0.105.4 $ ./configure .... $ make Please let us know. Regards, Ben. Cisowski, Daniel wrote: > Ben, > > thanks for the quick response. > > I didn't compile MySQL by my own, but installed a package from sunfreeware > (http://www.sunfreeware.com). The include files are correct. > The version of MySQL is 4.0.21 > > I've tried to compile PerfParse v0.105.4 downloaded today. > > Regards, > > Daniel > > > > Ben Clewett <mailto:bcl...@pe...> wrote on Thursday, February 03, > 2005 2:31 PM: > > >>Daniel, >> >>Can you tell me the version of MySQL you are using, and the version of >>PerfParse? >> >>Can you also check that your MySQL Client Library '/usr/include' files >>are correct for the MySQL Client Library '/usr/lib' files you have >>installed? Please let me know which version this is as well. >> >>Regards, >> >>Ben Clewett. >> >> >>Cisowski, Daniel wrote: >> >> >>>Hi folks, >>> >>>I'm trying to compile PerfPars on a Solaris 9 box. Unfortunately the link >>>process breaks with fatal errors. Has anybody an idea what's going wrong? >>>I'd be glad to receive a hint. >>> >>> >>>After a >>> >>>./configure --prefix=/usr/local/nagios --with-glib12=/usr/local >>>--with-libiconv-prefix=/usr/local/lib --with-included-gettext >>>--with-db=mysql --with-mysql_config_dir=/usr/local/mysql/bin >>>make >>> >>>the following errors occure: >>> >>>make all-recursive >>>make[1]: Entering directory >>>`/local/root/tmp/nagios/addons/perfparse-0.105.4' >>>Making all in intl >>>[...] >>> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/mysql/include/mysql >>>-I../libpp_mysql -I/usr/local/include/glib-1.2 >>>-I/usr/local/lib/glib/include >>>-I.. -I../libpp_common -I../libnagios_perfdata_parser >>>-DLOCALEDIR=\"/usr/local/nagios/share/locale\" -g -O2 -Wall -MT >>>libpp_storage_mysql_la-libstorage.lo -MD -MP -MF >>>.deps/libpp_storage_mysql_la-libstorage.Tpo -c libstorage.c -fPIC -DPIC > > -o > >>>.libs/libpp_storage_mysql_la-libstorage.o >>> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/mysql/include/mysql >>>-I../libpp_mysql -I/usr/local/include/glib-1.2 >>>-I/usr/local/lib/glib/include >>>-I.. -I../libpp_common -I../libnagios_perfdata_parser >>>-DLOCALEDIR=\"/usr/local/nagios/share/locale\" -g -O2 -Wall -MT >>>libpp_storage_mysql_la-libstorage.lo -MD -MP -MF >>>.deps/libpp_storage_mysql_la-libstorage.Tpo -c libstorage.c -o >>>libpp_storage_mysql_la-libstorage.o >/dev/null 2>&1 >>>/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -o >>>libpp_storage_mysql.la -rpath /usr/local/nagios/lib -module >>>libpp_storage_mysql_la-storage_mysql.lo >>>libpp_storage_mysql_la-libstorage.lo >>>-L/usr/local/lib -R/usr/local/lib -R/usr/lib -L/usr/lib > > -R/usr/openwin/lib > >>>-L/usr/openwin/lib -L/usr/local/ssl/lib -R/usr/local/ssl/lib >>>-L/usr/local/BerkeleyDB.4.2/lib -R/usr/local/BerkeleyDB.4.2/lib >>>-L/usr/local/mysql/lib/mysql -lmysqlclient -lposix4 -lcrypt -lgen > > -lsocket > >>>-lnsl -lm -L../libpp_mysql -lpp_mysql -ldl -lnsl -lm -lsocket >>>gcc -shared -Wl,-h -Wl,libpp_storage_mysql.so.0 -o >>>.libs/libpp_storage_mysql.so.0.0.0 >>>.libs/libpp_storage_mysql_la-storage_mysql.o >>>.libs/libpp_storage_mysql_la-libstorage.o -z allextract >>>/usr/local/mysql/lib/mysql/libmysqlclient.a -z defaultextract >>>-R/local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_mysql/.libs >>>-R/usr/local/nagios/lib -R/usr/local/lib -R/usr/lib -R/usr/openwin/lib >>>-R/usr/local/ssl/lib -R/usr/local/BerkeleyDB.4.2/lib -L/usr/local/lib >>>-L/usr/lib -L/usr/openwin/lib -L/usr/local/ssl/lib >>>-L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/mysql/lib/mysql -lposix4 >>>-lcrypt -lgen > > -L/local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_mysql > > /local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_mysql/.libs/libpp_mysq > >>>l.so -ldl -lnsl -lm -lsocket -lc >>>Text relocation remains referenced >>> against symbol offset in file >>><unknown> 0x5d0 >>>/usr/local/mysql/lib/mysql/libmysqlclient.a(libmysql.o) >>><unknown> 0x5d4 >>>/usr/local/mysql/lib/mysql/libmysqlclient.a(libmysql.o) >>><unknown> 0x5d8 >>>/usr/local/mysql/lib/mysql/libmysqlclient.a(libmysql.o) [... 3650 lines >>>later ...] __udiv64 0x1d8 >>>/usr/local/mysql/lib/mysql/libmysqlclient.a(longlong2str.o) >>>__mul64 0xd4c >>>/usr/local/mysql/lib/mysql/libmysqlclient.a(my_getopt.o) >>>__mul64 0xfe0 >>>/usr/local/mysql/lib/mysql/libmysqlclient.a(my_getopt.o) >>>__mul64 0x80 >>>/usr/local/mysql/lib/mysql/libmysqlclient.a(longlong2str.o) >>>strtoll 0xcb8 >>>/usr/local/mysql/lib/mysql/libmysqlclient.a(my_getopt.o) >>>strtoll 0xe8c >>>/usr/local/mysql/lib/mysql/libmysqlclient.a(my_getopt.o) >>>vfprintf 0x20 >>>/usr/local/mysql/lib/mysql/libmysqlclient.a(my_getopt.o) >>>vfprintf 0x8c8 >>>/usr/local/mysql/lib/mysql/libmysqlclient.a(dbug.o) >>>fstat64 0x320 >>>/usr/local/mysql/lib/mysql/libmysqlclient.a(my_lib.o) >>>fstat64 0x324 >>>/usr/local/mysql/lib/mysql/libmysqlclient.a(my_lib.o) >>>opendir 0x14 >>>/usr/local/mysql/lib/mysql/libmysqlclient.a(my_lib.o) >>>stat64 0x25c >>>/usr/local/mysql/lib/mysql/libmysqlclient.a(my_lib.o) >>>readdir64 0x84 >>>/usr/local/mysql/lib/mysql/libmysqlclient.a(my_lib.o) >>>ld: fatal: relocations remain against allocatable but non-writable > > sections > >>>collect2: ld returned 1 exit status >>>make[2]: *** [libpp_storage_mysql.la] Error 1 >>>make[2]: Leaving directory >>>`/local/root/tmp/nagios/addons/perfparse-0.105.4/modules' >>>make[1]: *** [all-recursive] Error 1 >>>make[1]: Leaving directory >>>`/local/root/tmp/nagios/addons/perfparse-0.105.4' make: *** [all] Error 2 > > >>> >>> >>>I've also tried not to use shared libraries, but it also results in >>>unresolved symbols: >>> >>>./configure --prefix=/usr/local/nagios --with-glib12=/usr/local >>>--with-libiconv-prefix=/usr/local/lib --with-included-gettext >>>--with-db=mysql --with-mysql_config_dir=/usr/local/mysql/bin >>>--disable-shared >>>make >>> >>>gcc -g -O2 -Wall -o perfparse-db-purge >>>perfparse_db_purge-perfparse-db-purge.o perfparse_db_purge-convert.o >>>-L/local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_common >>> > > /local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_common/.libs/libpp_com > >>>mon.a -lz -L/local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_mysql >>> > > /local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_mysql/.libs/libpp_mysq > >>>l.a -L/usr/local/lib -L/usr/lib -L/usr/openwin/lib -L/usr/local/ssl/lib >>>-L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/mysql/lib/mysql >>>/usr/local/mysql/lib/mysql/libmysqlclient.a -lposix4 -lcrypt -lgen >>>/usr/local/lib/libglib.so ../intl/libintl.a /usr/local/lib/libiconv.so > > -ldl > >>>-lnsl -lm -lsocket -R/usr/local/lib -R/usr/local/lib -R/usr/lib >>>-R/usr/openwin/lib -R/usr/local/ssl/lib -R/usr/local/BerkeleyDB.4.2/lib >>>Undefined first referenced >>> symbol in file >>>pp_log >>> > > /local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_mysql/.libs/libpp_mysq > >>>l.a(libpp_mysql_la-dbms.o) ld: fatal: Symbol referencing errors. No > > output > >>>written to perfparse-db-purge collect2: ld returned 1 exit status >>>make[2]: *** [perfparse-db-purge] Error 1 >>>make[2]: Leaving directory >>>`/local/root/tmp/nagios/addons/perfparse-0.105.4/db_tools' >>>make[1]: *** [all-recursive] Error 1 >>>make[1]: Leaving directory >>>`/local/root/tmp/nagios/addons/perfparse-0.105.4' make: *** [all] Error 2 > > >>> >>> >>>Thanks in advance. >>> >>>Daniel >>> >>>-- >>>Daniel Cisowski >>>EDS Operations Services GmbH >>>EAD DP >>>Eisenstr. 58 (58-5-M) >>>D-65428 Ruesselsheim >>>Phone: +49-6142-80-1049 >>>Fax: +49-6142-80-1018 >>>Mobile: +49-170-792-2331 >>>mailto:dan...@ed... >>>jabber:dan...@ei... >>> >>> >>> >>>------------------------------------------------------- >>>This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting >>>Tool for open source databases. Create drag-&-drop reports. Save time >>>by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >>>Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>>_______________________________________________ >>>Perfparse-users mailing list >>>Per...@li... >>>https://lists.sourceforge.net/lists/listinfo/perfparse-users > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > -- Ben Clewett bcl...@pe... PerfParse http://www.perfparse.org PP FAQ http://wiki.perfparse.org/tiki-list_faqs.php |
From: <Seb...@ku...> - 2005-02-03 15:54:18
|
I use Debian v.3.0 with all current updates. The Perfparse version I'm = trying to configure is: 0.105.2. I'm using Nagios v.1.2. I've been following the Perfparse documentation when configuring and = installing Perfparse. I've choosen to use the Pipe to Perfparse method = but I'm uncertain if everything is correctly configured. There is no 6.5 = chapter in the documentation that deals with the last configuration = aspects when using Pipe to Perfparse. Could anyone explain the last steps? When I run nagios with -d switch, the following problem occurs: nagios@ksabnetmon:/usr/local/nagios/var$ /usr/local/nagios/bin/nagios -d = /usr/local/nagios/etc/nagios.cfg Can't open perl script "/usr/local/nagios/bin/p1.pl": No such file or = directory Where is the p1.pl file? It's not where it's supposed to be. Any idea? Thanks in advance! Best regards, Sebastian Bergstroem ---------------------------------------------- Sebastian Bergstroem Technical coordinator Kunskapsskolan i Sverige AB seb...@ku... -----------------------------------------------=20 |
From: Cisowski, D. <dan...@ed...> - 2005-02-03 15:07:16
|
Ben, thanks for the quick response. I didn't compile MySQL by my own, but installed a package from sunfreeware (http://www.sunfreeware.com). The include files are correct. The version of MySQL is 4.0.21 I've tried to compile PerfParse v0.105.4 downloaded today. Regards, Daniel Ben Clewett <mailto:bcl...@pe...> wrote on Thursday, February 03, 2005 2:31 PM: > Daniel, > > Can you tell me the version of MySQL you are using, and the version of > PerfParse? > > Can you also check that your MySQL Client Library '/usr/include' files > are correct for the MySQL Client Library '/usr/lib' files you have > installed? Please let me know which version this is as well. > > Regards, > > Ben Clewett. > > > Cisowski, Daniel wrote: > >> Hi folks, >> >> I'm trying to compile PerfPars on a Solaris 9 box. Unfortunately the link >> process breaks with fatal errors. Has anybody an idea what's going wrong? >> I'd be glad to receive a hint. >> >> >> After a >> >> ./configure --prefix=/usr/local/nagios --with-glib12=/usr/local >> --with-libiconv-prefix=/usr/local/lib --with-included-gettext >> --with-db=mysql --with-mysql_config_dir=/usr/local/mysql/bin >> make >> >> the following errors occure: >> >> make all-recursive >> make[1]: Entering directory >> `/local/root/tmp/nagios/addons/perfparse-0.105.4' >> Making all in intl >> [...] >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/mysql/include/mysql >> -I../libpp_mysql -I/usr/local/include/glib-1.2 >> -I/usr/local/lib/glib/include >> -I.. -I../libpp_common -I../libnagios_perfdata_parser >> -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -g -O2 -Wall -MT >> libpp_storage_mysql_la-libstorage.lo -MD -MP -MF >> .deps/libpp_storage_mysql_la-libstorage.Tpo -c libstorage.c -fPIC -DPIC -o >> .libs/libpp_storage_mysql_la-libstorage.o >> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/mysql/include/mysql >> -I../libpp_mysql -I/usr/local/include/glib-1.2 >> -I/usr/local/lib/glib/include >> -I.. -I../libpp_common -I../libnagios_perfdata_parser >> -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -g -O2 -Wall -MT >> libpp_storage_mysql_la-libstorage.lo -MD -MP -MF >> .deps/libpp_storage_mysql_la-libstorage.Tpo -c libstorage.c -o >> libpp_storage_mysql_la-libstorage.o >/dev/null 2>&1 >> /bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -o >> libpp_storage_mysql.la -rpath /usr/local/nagios/lib -module >> libpp_storage_mysql_la-storage_mysql.lo >> libpp_storage_mysql_la-libstorage.lo >> -L/usr/local/lib -R/usr/local/lib -R/usr/lib -L/usr/lib -R/usr/openwin/lib >> -L/usr/openwin/lib -L/usr/local/ssl/lib -R/usr/local/ssl/lib >> -L/usr/local/BerkeleyDB.4.2/lib -R/usr/local/BerkeleyDB.4.2/lib >> -L/usr/local/mysql/lib/mysql -lmysqlclient -lposix4 -lcrypt -lgen -lsocket >> -lnsl -lm -L../libpp_mysql -lpp_mysql -ldl -lnsl -lm -lsocket >> gcc -shared -Wl,-h -Wl,libpp_storage_mysql.so.0 -o >> .libs/libpp_storage_mysql.so.0.0.0 >> .libs/libpp_storage_mysql_la-storage_mysql.o >> .libs/libpp_storage_mysql_la-libstorage.o -z allextract >> /usr/local/mysql/lib/mysql/libmysqlclient.a -z defaultextract >> -R/local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_mysql/.libs >> -R/usr/local/nagios/lib -R/usr/local/lib -R/usr/lib -R/usr/openwin/lib >> -R/usr/local/ssl/lib -R/usr/local/BerkeleyDB.4.2/lib -L/usr/local/lib >> -L/usr/lib -L/usr/openwin/lib -L/usr/local/ssl/lib >> -L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/mysql/lib/mysql -lposix4 >> -lcrypt -lgen -L/local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_mysql >> /local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_mysql/.libs/libpp_mysq >> l.so -ldl -lnsl -lm -lsocket -lc >> Text relocation remains referenced >> against symbol offset in file >> <unknown> 0x5d0 >> /usr/local/mysql/lib/mysql/libmysqlclient.a(libmysql.o) >> <unknown> 0x5d4 >> /usr/local/mysql/lib/mysql/libmysqlclient.a(libmysql.o) >> <unknown> 0x5d8 >> /usr/local/mysql/lib/mysql/libmysqlclient.a(libmysql.o) [... 3650 lines >> later ...] __udiv64 0x1d8 >> /usr/local/mysql/lib/mysql/libmysqlclient.a(longlong2str.o) >> __mul64 0xd4c >> /usr/local/mysql/lib/mysql/libmysqlclient.a(my_getopt.o) >> __mul64 0xfe0 >> /usr/local/mysql/lib/mysql/libmysqlclient.a(my_getopt.o) >> __mul64 0x80 >> /usr/local/mysql/lib/mysql/libmysqlclient.a(longlong2str.o) >> strtoll 0xcb8 >> /usr/local/mysql/lib/mysql/libmysqlclient.a(my_getopt.o) >> strtoll 0xe8c >> /usr/local/mysql/lib/mysql/libmysqlclient.a(my_getopt.o) >> vfprintf 0x20 >> /usr/local/mysql/lib/mysql/libmysqlclient.a(my_getopt.o) >> vfprintf 0x8c8 >> /usr/local/mysql/lib/mysql/libmysqlclient.a(dbug.o) >> fstat64 0x320 >> /usr/local/mysql/lib/mysql/libmysqlclient.a(my_lib.o) >> fstat64 0x324 >> /usr/local/mysql/lib/mysql/libmysqlclient.a(my_lib.o) >> opendir 0x14 >> /usr/local/mysql/lib/mysql/libmysqlclient.a(my_lib.o) >> stat64 0x25c >> /usr/local/mysql/lib/mysql/libmysqlclient.a(my_lib.o) >> readdir64 0x84 >> /usr/local/mysql/lib/mysql/libmysqlclient.a(my_lib.o) >> ld: fatal: relocations remain against allocatable but non-writable sections >> collect2: ld returned 1 exit status >> make[2]: *** [libpp_storage_mysql.la] Error 1 >> make[2]: Leaving directory >> `/local/root/tmp/nagios/addons/perfparse-0.105.4/modules' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory >> `/local/root/tmp/nagios/addons/perfparse-0.105.4' make: *** [all] Error 2 >> >> >> >> I've also tried not to use shared libraries, but it also results in >> unresolved symbols: >> >> ./configure --prefix=/usr/local/nagios --with-glib12=/usr/local >> --with-libiconv-prefix=/usr/local/lib --with-included-gettext >> --with-db=mysql --with-mysql_config_dir=/usr/local/mysql/bin >> --disable-shared >> make >> >> gcc -g -O2 -Wall -o perfparse-db-purge >> perfparse_db_purge-perfparse-db-purge.o perfparse_db_purge-convert.o >> -L/local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_common >> /local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_common/.libs/libpp_com >> mon.a -lz -L/local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_mysql >> /local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_mysql/.libs/libpp_mysq >> l.a -L/usr/local/lib -L/usr/lib -L/usr/openwin/lib -L/usr/local/ssl/lib >> -L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/mysql/lib/mysql >> /usr/local/mysql/lib/mysql/libmysqlclient.a -lposix4 -lcrypt -lgen >> /usr/local/lib/libglib.so ../intl/libintl.a /usr/local/lib/libiconv.so -ldl >> -lnsl -lm -lsocket -R/usr/local/lib -R/usr/local/lib -R/usr/lib >> -R/usr/openwin/lib -R/usr/local/ssl/lib -R/usr/local/BerkeleyDB.4.2/lib >> Undefined first referenced >> symbol in file >> pp_log >> /local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_mysql/.libs/libpp_mysq >> l.a(libpp_mysql_la-dbms.o) ld: fatal: Symbol referencing errors. No output >> written to perfparse-db-purge collect2: ld returned 1 exit status >> make[2]: *** [perfparse-db-purge] Error 1 >> make[2]: Leaving directory >> `/local/root/tmp/nagios/addons/perfparse-0.105.4/db_tools' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory >> `/local/root/tmp/nagios/addons/perfparse-0.105.4' make: *** [all] Error 2 >> >> >> >> Thanks in advance. >> >> Daniel >> >> -- >> Daniel Cisowski >> EDS Operations Services GmbH >> EAD DP >> Eisenstr. 58 (58-5-M) >> D-65428 Ruesselsheim >> Phone: +49-6142-80-1049 >> Fax: +49-6142-80-1018 >> Mobile: +49-170-792-2331 >> mailto:dan...@ed... >> jabber:dan...@ei... >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting >> Tool for open source databases. Create drag-&-drop reports. Save time >> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >> Download a FREE copy at http://www.intelliview.com/go/osdn_nl >> _______________________________________________ >> Perfparse-users mailing list >> Per...@li... >> https://lists.sourceforge.net/lists/listinfo/perfparse-users |
From: Ben C. <bcl...@pe...> - 2005-02-03 14:55:57
|
Daniel, Can you tell me the version of MySQL you are using, and the version of PerfParse? Can you also check that your MySQL Client Library '/usr/include' files are correct for the MySQL Client Library '/usr/lib' files you have installed? Please let me know which version this is as well. Regards, Ben Clewett. Cisowski, Daniel wrote: > Hi folks, > > I'm trying to compile PerfPars on a Solaris 9 box. Unfortunately the link > process breaks with fatal errors. Has anybody an idea what's going wrong? > I'd be glad to receive a hint. > > > After a > > ./configure --prefix=/usr/local/nagios --with-glib12=/usr/local > --with-libiconv-prefix=/usr/local/lib --with-included-gettext > --with-db=mysql --with-mysql_config_dir=/usr/local/mysql/bin > make > > the following errors occure: > > make all-recursive > make[1]: Entering directory > `/local/root/tmp/nagios/addons/perfparse-0.105.4' > Making all in intl > [...] > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/mysql/include/mysql > -I../libpp_mysql -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include > -I.. -I../libpp_common -I../libnagios_perfdata_parser > -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -g -O2 -Wall -MT > libpp_storage_mysql_la-libstorage.lo -MD -MP -MF > .deps/libpp_storage_mysql_la-libstorage.Tpo -c libstorage.c -fPIC -DPIC -o > .libs/libpp_storage_mysql_la-libstorage.o > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/mysql/include/mysql > -I../libpp_mysql -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include > -I.. -I../libpp_common -I../libnagios_perfdata_parser > -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -g -O2 -Wall -MT > libpp_storage_mysql_la-libstorage.lo -MD -MP -MF > .deps/libpp_storage_mysql_la-libstorage.Tpo -c libstorage.c -o > libpp_storage_mysql_la-libstorage.o >/dev/null 2>&1 > /bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -o > libpp_storage_mysql.la -rpath /usr/local/nagios/lib -module > libpp_storage_mysql_la-storage_mysql.lo libpp_storage_mysql_la-libstorage.lo > -L/usr/local/lib -R/usr/local/lib -R/usr/lib -L/usr/lib -R/usr/openwin/lib > -L/usr/openwin/lib -L/usr/local/ssl/lib -R/usr/local/ssl/lib > -L/usr/local/BerkeleyDB.4.2/lib -R/usr/local/BerkeleyDB.4.2/lib > -L/usr/local/mysql/lib/mysql -lmysqlclient -lposix4 -lcrypt -lgen -lsocket > -lnsl -lm -L../libpp_mysql -lpp_mysql -ldl -lnsl -lm -lsocket > gcc -shared -Wl,-h -Wl,libpp_storage_mysql.so.0 -o > .libs/libpp_storage_mysql.so.0.0.0 > .libs/libpp_storage_mysql_la-storage_mysql.o > .libs/libpp_storage_mysql_la-libstorage.o -z allextract > /usr/local/mysql/lib/mysql/libmysqlclient.a -z defaultextract > -R/local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_mysql/.libs > -R/usr/local/nagios/lib -R/usr/local/lib -R/usr/lib -R/usr/openwin/lib > -R/usr/local/ssl/lib -R/usr/local/BerkeleyDB.4.2/lib -L/usr/local/lib > -L/usr/lib -L/usr/openwin/lib -L/usr/local/ssl/lib > -L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/mysql/lib/mysql -lposix4 > -lcrypt -lgen -L/local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_mysql > /local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_mysql/.libs/libpp_mysq > l.so -ldl -lnsl -lm -lsocket -lc > Text relocation remains referenced > against symbol offset in file > <unknown> 0x5d0 > /usr/local/mysql/lib/mysql/libmysqlclient.a(libmysql.o) > <unknown> 0x5d4 > /usr/local/mysql/lib/mysql/libmysqlclient.a(libmysql.o) > <unknown> 0x5d8 > /usr/local/mysql/lib/mysql/libmysqlclient.a(libmysql.o) > [... 3650 lines later ...] > __udiv64 0x1d8 > /usr/local/mysql/lib/mysql/libmysqlclient.a(longlong2str.o) > __mul64 0xd4c > /usr/local/mysql/lib/mysql/libmysqlclient.a(my_getopt.o) > __mul64 0xfe0 > /usr/local/mysql/lib/mysql/libmysqlclient.a(my_getopt.o) > __mul64 0x80 > /usr/local/mysql/lib/mysql/libmysqlclient.a(longlong2str.o) > strtoll 0xcb8 > /usr/local/mysql/lib/mysql/libmysqlclient.a(my_getopt.o) > strtoll 0xe8c > /usr/local/mysql/lib/mysql/libmysqlclient.a(my_getopt.o) > vfprintf 0x20 > /usr/local/mysql/lib/mysql/libmysqlclient.a(my_getopt.o) > vfprintf 0x8c8 > /usr/local/mysql/lib/mysql/libmysqlclient.a(dbug.o) > fstat64 0x320 > /usr/local/mysql/lib/mysql/libmysqlclient.a(my_lib.o) > fstat64 0x324 > /usr/local/mysql/lib/mysql/libmysqlclient.a(my_lib.o) > opendir 0x14 > /usr/local/mysql/lib/mysql/libmysqlclient.a(my_lib.o) > stat64 0x25c > /usr/local/mysql/lib/mysql/libmysqlclient.a(my_lib.o) > readdir64 0x84 > /usr/local/mysql/lib/mysql/libmysqlclient.a(my_lib.o) > ld: fatal: relocations remain against allocatable but non-writable sections > collect2: ld returned 1 exit status > make[2]: *** [libpp_storage_mysql.la] Error 1 > make[2]: Leaving directory > `/local/root/tmp/nagios/addons/perfparse-0.105.4/modules' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/local/root/tmp/nagios/addons/perfparse-0.105.4' > make: *** [all] Error 2 > > > > I've also tried not to use shared libraries, but it also results in > unresolved symbols: > > ./configure --prefix=/usr/local/nagios --with-glib12=/usr/local > --with-libiconv-prefix=/usr/local/lib --with-included-gettext > --with-db=mysql --with-mysql_config_dir=/usr/local/mysql/bin > --disable-shared > make > > gcc -g -O2 -Wall -o perfparse-db-purge > perfparse_db_purge-perfparse-db-purge.o perfparse_db_purge-convert.o > -L/local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_common > /local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_common/.libs/libpp_com > mon.a -lz -L/local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_mysql > /local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_mysql/.libs/libpp_mysq > l.a -L/usr/local/lib -L/usr/lib -L/usr/openwin/lib -L/usr/local/ssl/lib > -L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/mysql/lib/mysql > /usr/local/mysql/lib/mysql/libmysqlclient.a -lposix4 -lcrypt -lgen > /usr/local/lib/libglib.so ../intl/libintl.a /usr/local/lib/libiconv.so -ldl > -lnsl -lm -lsocket -R/usr/local/lib -R/usr/local/lib -R/usr/lib > -R/usr/openwin/lib -R/usr/local/ssl/lib -R/usr/local/BerkeleyDB.4.2/lib > Undefined first referenced > symbol in file > pp_log > /local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_mysql/.libs/libpp_mysq > l.a(libpp_mysql_la-dbms.o) > ld: fatal: Symbol referencing errors. No output written to > perfparse-db-purge > collect2: ld returned 1 exit status > make[2]: *** [perfparse-db-purge] Error 1 > make[2]: Leaving directory > `/local/root/tmp/nagios/addons/perfparse-0.105.4/db_tools' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/local/root/tmp/nagios/addons/perfparse-0.105.4' > make: *** [all] Error 2 > > > > Thanks in advance. > > Daniel > > -- > Daniel Cisowski > EDS Operations Services GmbH > EAD DP > Eisenstr. 58 (58-5-M) > D-65428 Ruesselsheim > Phone: +49-6142-80-1049 > Fax: +49-6142-80-1018 > Mobile: +49-170-792-2331 > mailto:dan...@ed... > jabber:dan...@ei... > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Perfparse-users mailing list > Per...@li... > https://lists.sourceforge.net/lists/listinfo/perfparse-users > -- Ben Clewett bcl...@pe... PerfParse http://www.perfparse.org PP FAQ http://wiki.perfparse.org/tiki-list_faqs.php |
From: Cisowski, D. <dan...@ed...> - 2005-02-03 13:09:59
|
Hi folks, I'm trying to compile PerfPars on a Solaris 9 box. Unfortunately the link process breaks with fatal errors. Has anybody an idea what's going wrong? I'd be glad to receive a hint. After a ./configure --prefix=/usr/local/nagios --with-glib12=/usr/local --with-libiconv-prefix=/usr/local/lib --with-included-gettext --with-db=mysql --with-mysql_config_dir=/usr/local/mysql/bin make the following errors occure: make all-recursive make[1]: Entering directory `/local/root/tmp/nagios/addons/perfparse-0.105.4' Making all in intl [...] gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/mysql/include/mysql -I../libpp_mysql -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I.. -I../libpp_common -I../libnagios_perfdata_parser -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -g -O2 -Wall -MT libpp_storage_mysql_la-libstorage.lo -MD -MP -MF .deps/libpp_storage_mysql_la-libstorage.Tpo -c libstorage.c -fPIC -DPIC -o .libs/libpp_storage_mysql_la-libstorage.o gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/mysql/include/mysql -I../libpp_mysql -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -I.. -I../libpp_common -I../libnagios_perfdata_parser -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -g -O2 -Wall -MT libpp_storage_mysql_la-libstorage.lo -MD -MP -MF .deps/libpp_storage_mysql_la-libstorage.Tpo -c libstorage.c -o libpp_storage_mysql_la-libstorage.o >/dev/null 2>&1 /bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -o libpp_storage_mysql.la -rpath /usr/local/nagios/lib -module libpp_storage_mysql_la-storage_mysql.lo libpp_storage_mysql_la-libstorage.lo -L/usr/local/lib -R/usr/local/lib -R/usr/lib -L/usr/lib -R/usr/openwin/lib -L/usr/openwin/lib -L/usr/local/ssl/lib -R/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.2/lib -R/usr/local/BerkeleyDB.4.2/lib -L/usr/local/mysql/lib/mysql -lmysqlclient -lposix4 -lcrypt -lgen -lsocket -lnsl -lm -L../libpp_mysql -lpp_mysql -ldl -lnsl -lm -lsocket gcc -shared -Wl,-h -Wl,libpp_storage_mysql.so.0 -o .libs/libpp_storage_mysql.so.0.0.0 .libs/libpp_storage_mysql_la-storage_mysql.o .libs/libpp_storage_mysql_la-libstorage.o -z allextract /usr/local/mysql/lib/mysql/libmysqlclient.a -z defaultextract -R/local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_mysql/.libs -R/usr/local/nagios/lib -R/usr/local/lib -R/usr/lib -R/usr/openwin/lib -R/usr/local/ssl/lib -R/usr/local/BerkeleyDB.4.2/lib -L/usr/local/lib -L/usr/lib -L/usr/openwin/lib -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/mysql/lib/mysql -lposix4 -lcrypt -lgen -L/local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_mysql /local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_mysql/.libs/libpp_mysq l.so -ldl -lnsl -lm -lsocket -lc Text relocation remains referenced against symbol offset in file <unknown> 0x5d0 /usr/local/mysql/lib/mysql/libmysqlclient.a(libmysql.o) <unknown> 0x5d4 /usr/local/mysql/lib/mysql/libmysqlclient.a(libmysql.o) <unknown> 0x5d8 /usr/local/mysql/lib/mysql/libmysqlclient.a(libmysql.o) [... 3650 lines later ...] __udiv64 0x1d8 /usr/local/mysql/lib/mysql/libmysqlclient.a(longlong2str.o) __mul64 0xd4c /usr/local/mysql/lib/mysql/libmysqlclient.a(my_getopt.o) __mul64 0xfe0 /usr/local/mysql/lib/mysql/libmysqlclient.a(my_getopt.o) __mul64 0x80 /usr/local/mysql/lib/mysql/libmysqlclient.a(longlong2str.o) strtoll 0xcb8 /usr/local/mysql/lib/mysql/libmysqlclient.a(my_getopt.o) strtoll 0xe8c /usr/local/mysql/lib/mysql/libmysqlclient.a(my_getopt.o) vfprintf 0x20 /usr/local/mysql/lib/mysql/libmysqlclient.a(my_getopt.o) vfprintf 0x8c8 /usr/local/mysql/lib/mysql/libmysqlclient.a(dbug.o) fstat64 0x320 /usr/local/mysql/lib/mysql/libmysqlclient.a(my_lib.o) fstat64 0x324 /usr/local/mysql/lib/mysql/libmysqlclient.a(my_lib.o) opendir 0x14 /usr/local/mysql/lib/mysql/libmysqlclient.a(my_lib.o) stat64 0x25c /usr/local/mysql/lib/mysql/libmysqlclient.a(my_lib.o) readdir64 0x84 /usr/local/mysql/lib/mysql/libmysqlclient.a(my_lib.o) ld: fatal: relocations remain against allocatable but non-writable sections collect2: ld returned 1 exit status make[2]: *** [libpp_storage_mysql.la] Error 1 make[2]: Leaving directory `/local/root/tmp/nagios/addons/perfparse-0.105.4/modules' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/local/root/tmp/nagios/addons/perfparse-0.105.4' make: *** [all] Error 2 I've also tried not to use shared libraries, but it also results in unresolved symbols: ./configure --prefix=/usr/local/nagios --with-glib12=/usr/local --with-libiconv-prefix=/usr/local/lib --with-included-gettext --with-db=mysql --with-mysql_config_dir=/usr/local/mysql/bin --disable-shared make gcc -g -O2 -Wall -o perfparse-db-purge perfparse_db_purge-perfparse-db-purge.o perfparse_db_purge-convert.o -L/local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_common /local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_common/.libs/libpp_com mon.a -lz -L/local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_mysql /local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_mysql/.libs/libpp_mysq l.a -L/usr/local/lib -L/usr/lib -L/usr/openwin/lib -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.2/lib -L/usr/local/mysql/lib/mysql /usr/local/mysql/lib/mysql/libmysqlclient.a -lposix4 -lcrypt -lgen /usr/local/lib/libglib.so ../intl/libintl.a /usr/local/lib/libiconv.so -ldl -lnsl -lm -lsocket -R/usr/local/lib -R/usr/local/lib -R/usr/lib -R/usr/openwin/lib -R/usr/local/ssl/lib -R/usr/local/BerkeleyDB.4.2/lib Undefined first referenced symbol in file pp_log /local/root/tmp/nagios/addons/perfparse-0.105.4/libpp_mysql/.libs/libpp_mysq l.a(libpp_mysql_la-dbms.o) ld: fatal: Symbol referencing errors. No output written to perfparse-db-purge collect2: ld returned 1 exit status make[2]: *** [perfparse-db-purge] Error 1 make[2]: Leaving directory `/local/root/tmp/nagios/addons/perfparse-0.105.4/db_tools' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/local/root/tmp/nagios/addons/perfparse-0.105.4' make: *** [all] Error 2 Thanks in advance. Daniel -- Daniel Cisowski EDS Operations Services GmbH EAD DP Eisenstr. 58 (58-5-M) D-65428 Ruesselsheim Phone: +49-6142-80-1049 Fax: +49-6142-80-1018 Mobile: +49-170-792-2331 mailto:dan...@ed... jabber:dan...@ei... |
From: Ben C. <bcl...@pe...> - 2005-02-02 16:29:26
|
Dear Users, Alex Peeters had kindly provided an example of installing PerfParse with Method 4. I have uploaded this here and hope it may be useful: http://wiki.perfparse.org/tiki-index.php?page=BuildingMethod4Example Regards, Ben. -- Ben Clewett bcl...@pe... PerfParse http://www.perfparse.org PP FAQ http://wiki.perfparse.org/tiki-list_faqs.php |
From: Ben C. <bcl...@pe...> - 2005-02-02 16:19:28
|
New version out with bug fixes and new features: http://wiki.perfparse.org/tiki-view_forum_thread.php?comments_parentId=17&forumId=2 Regards, PerfParse Development Team. -- Ben Clewett bcl...@pe... PerfParse http://www.perfparse.org PP FAQ http://wiki.perfparse.org/tiki-list_faqs.php |