From: <Ale...@sm...> - 2007-08-01 09:22:02
|
Hi Flo, Almost 1 year i want to help with development for Perfparse. But since since release perfparse-0.106.1 i can't compile it anymore. The latest snapshot can even ./configure anymore onto the same server. snapshot perfparse-all-07-05-03 configure: Using glib2 checking for what data source... ASNMTAP checking for what database to use... Mysql checking for your ability to administrate a database... you need more experience... checking for mysql_config... /usr/local/bin/mysql_config checking for gzopen in -lz... yes checking gd.h usability... yes checking gd.h presence... yes checking for gd.h... yes checking for gdlib-config... /usr/local/bin/gdlib-config checking for gdImageCreate in -lgd... yes checking for printw in -lncurses... no configure: error: ncurses development libraries not usable. Install ncurses development libraries and rerun configure. See config.log or FAQs for details. When do i get one answer PLEASE Onto the same machine i have: perfparse-0.105.6 and perfparse-0.106.1 perfparse-0.105.6: ... Making all in contrib make[2]: Entering directory `/export/home/nagios/installed-packages/perfparse-0.105.6-asnmtap/contr= ib' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/export/home/nagios/installed-packages/perfparse-0.105.6-asnmtap/contr= ib' Making all in po make[2]: Entering directory `/export/home/nagios/installed-packages/perfparse-0.105.6-asnmtap/po' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/export/home/nagios/installed-packages/perfparse-0.105.6-asnmtap/po' Making all in scripts make[2]: Entering directory `/export/home/nagios/installed-packages/perfparse-0.105.6-asnmtap/scrip= ts' rm -f perfparse.sh.example perfparse.sh.tmp sed -e 's,@bindir\@,/opt/asnmtap/perfparse/bin,g' -e 's,@sysconfdir\@,/opt/asnmtap/perfparse/etc,g' -e 's,@localstatedir\@,/opt/asnmtap/perfparse/var,g' -e 's,@prefix\@,/opt/asnmtap/perfparse,g' ./perfparse.sh.in >perfparse.sh.= tmp chmod +x perfparse.sh.tmp mv perfparse.sh.tmp perfparse.sh.example perfparse-0.106.1: mkdir .libs gcc -g -O2 -Wall -o .libs/perfparse-log2any perfparse_log2any-perfparse-log2any.o perfparse_log2any-perfparse-commo= n.o perfparse_log2any-log_reader.o perfparse_log2any-storage.o -L/export/home/nagios/installed-packages/perfparse-0.106.1/libpp_common= /export/home/nagios/installed-packages/perfparse-0.106.1 /libpp_common/.libs/libpp_common.so -L/usr/local/lib -L/usr/lib -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.2/lib -L/usr/openwin/lib= -L/export/home/nagios/installed-packages/perfparse-0.106.1 /libnagios_perfdata_parser /export/home/nagios/installed-packages/perfparse-0.106.1 /libnagios_perfdata_parser/.libs/libnagios_perfdata_parser.so /usr/local/lib/libglib-2.0.so ../intl/libintl.a /usr/local/lib/libiconv= .so /usr/local/lib/libgd.so -lXpm -lX11 /usr/local/lib/libjpeg.so /usr/local/lib/libfontconfig.so /usr/local/lib/libexpat.so /usr/local/lib/libfreetype.so -lpng12 -lz -lm -R/opt/asnmtap/perfparse/= lib -R/usr/local/lib Undefined first referenced symbol in file bind perfparse_log2any-log_reader.o (sy= mbol belongs to implicit dependency /usr/lib/libsocket.so.1) dlsym perfparse_log2any-storage.o (symbo= l belongs to implicit dependency /usr/lib/libdl.so.1) rpl_malloc perfparse_log2any-log_reader.o accept perfparse_log2any-log_reader.o (sy= mbol belongs to implicit dependency /usr/lib/libsocket.so.1) dlopen perfparse_log2any-storage.o (symbo= l belongs to implicit dependency /usr/lib/libdl.so.1) listen perfparse_log2any-log_reader.o (sy= mbol belongs to implicit dependency /usr/lib/libsocket.so.1) gethostbyname perfparse_log2any-log_reader.o (sy= mbol belongs to implicit dependency /usr/lib/libnsl.so.1) socket perfparse_log2any-log_reader.o (sy= mbol belongs to implicit dependency /usr/lib/libsocket.so.1) rpl_realloc perfparse_log2any-log_reader.o setsockopt perfparse_log2any-log_reader.o (sy= mbol belongs to implicit dependency /usr/lib/libsocket.so.1) connect perfparse_log2any-log_reader.o (sy= mbol belongs to implicit dependency /usr/lib/libsocket.so.1) dlerror perfparse_log2any-storage.o (symbo= l belongs to implicit dependency /usr/lib/libdl.so.1) shutdown perfparse_log2any-log_reader.o (sy= mbol belongs to implicit dependency /usr/lib/libsocket.so.1) ld: fatal: Symbol referencing errors. No output written to .libs/perfparse-log2any collect2: ld returned 1 exit status make[2]: *** [perfparse-log2any] Error 1 make[2]: Leaving directory `/export/home/nagios/installed-packages/perfparse-0.106.1/perfparse' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/export/home/nagios/installed-packages/perfparse-0.106.1' make: *** [all] Error 2 Vriendelijke Groeten, -- Alex Peeters Section Supervision & Monitoring Monitoring 02/787.59.65 _______________________________________________________________________= _______________________ Smals sluit elke aansprakelijkheid uit in verband met de juistheid, de volledigheid of het tijdig toekomen van de informatie in deze e-mail. A= an deze e-mail kunnen geen rechten worden ontleend en deze e-mail houdt in= geen geval een erkenning van welkdanige aansprakelijkheid in. Dit bericht is alleen bestemd voor de geadresseerde. Indien dit bericht= niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te mel= den en het bericht te vernietigen. Smals d=E9cline toute responsabilit=E9 quant =E0 l'exactitude, =E0 l'ex= haustivit=E9 et au d=E9lai de transmission des informations contenues dans cet e-mai= l. Aucun droit ne peut =EAtre revendiqu=E9 sur cet e-mail et cet e-mail n'= implique en aucun cas une reconnaissance de responsabilit=E9, quelle qu'elle soi= t. Ce message s'adresse uniquement au destinataire. Si ce message ne vous = est pas destin=E9, nous vous prions de nous le signaler imm=E9diatement et = de d=E9truire le message. = Florian Gleixner = <flo@bier.homeip. = net> = To Alex Peeters = 26/08/2006 14:27 <ale...@ci...> = = cc Ale...@sm... = Subj= ect Re: [Perfparse-devel] Feature = request = = = = = = = I added you as developer of pp. Welcome! I just created a ml: perfparse-cvs where all cvs commits will be mailed. Join that list if you want to. Commit often, so that we don't create too much conflicts. Flo Alex Peeters schrieb: > My sourceforge username: zxr750 > > And i speak also with my partner. We are the both developers the from= > ASNMTAP and NCPL on sourceforge and like both Perfparse and want both= a > better integration with Perfparse for Nagios and ASNMTAP. > > The only minus point is that we are both experiends Perl programmers = on the > moment, and need first some time to refresh our knowledge of C (i was= one > expert in C and assembler until 10 years ago). > > We both are very familar with mysql 4 and are evaluation version 5 because > this is much faster for inode database and have databases. > > I keep you informed. > > -- Alex Peeters > > -----Original Message----- > From: Florian Gleixner [mailto:fl...@bi...] > Sent: zaterdag 26 augustus 2006 12:51 > To: Alex Peeters > Subject: Re: [Perfparse-devel] Feature request > > > Hi, > > your experience is very worthful. What i'm doing at the moment is > exactly what you wrote about the id-fields and primary keys. At the > moment i eleminate the double occurencies of "speaking names" in tabl= es > like the host_name or service_description fields. These names will in= > future only occur in one single row of one single table. All other > tables that need a reference will not reference to "host_name" but > "host_id" and host_id will become a primary key. > > This is a massive change and i'm at the beginning of that change. > > If you want to help i can give you write access to CVS and we work > together. Any programming skills are welcome. I started with the new > schema for the mysql db-script and worked through some C-sources. I a= lso > want to modularize the storage input used in the cgi's and then i wan= t > to make a complete working php interface. Also todo: we need a databa= se > conversion script. > > So if you have a sourceforge username and if you want to help in CVS,= > send me your name. > > Flo > > Alex Peeters schrieb: >>> The question about foreign keys? >> I mean that the primary keys are defined wronly :) >> The que issue is the next. There is a field into the database for th= e >> service an host key but not used. It is for use not possible anymore= >> to add only one record to perfparse with the exe. It takes to long a= nd >> need verytime one connection to the database. Now we spool everyting= >> to a file, and every 5 minutes we add it by the crontab with the sam= e >> exe to the database, but this is not real time. I'm looking for the >> code to implement in c and perl, to write the data directly to >> perfpasre withoud the need to forking the perfparse exe, or more inf= o >> for the deamon methode. We have already 8 monitor servers that produ= ce >> perfparse data, and some test have more then 50 differend results >> regarding perfparse for one test :) >> >> >> Now we have very big problems inserting a record. You must understan= d >> that i have for the moment verey month already 3 miljoen test result= s >> to add to perfparse. >> >> En the purging takes evry day between 45 minutes and 3 hours. This i= s >> i think because the defined key fields are not used as key, but the >> text fields are, and that are long char field. >> >> I now this because when i change the text of a hostname, for the sam= e >> hostkey, that give problems, because the old data is related to a >> group and the new not. >> >> And it is sometimes needed to change a hostname of servicename, but >> when the keys are defined correctly this is no problem. >> >>> Someone told me about a library to gererate graphs. Was that you? I= f >>> yes, >> can you recall? >> Yes, chartdirector. >> I'm going to implement this library first into ASNMTAP also for the >> perfparsedata and lateron for Nagios. This will be written into perl= , >> bur because you can php, these code is easy to read and translate >> lateron to PHP >> >> -----Original Message----- >> From: Florian Gleixner [mailto:fl...@bi...] >> Sent: vrijdag 25 augustus 2006 21:19 >> To: Alex Peeters >> Subject: Re: [Perfparse-devel] Feature request >> >> >> Hi, >> >> i recently used schemaspy to generate a relationship graph (see >> attachment) of the tables (up to Version 0.106.1). The parsed data a= re >> all in the perfdata_service_bin table. perfdata_service_raw holds th= e >> unparsed lines from the plugin outputs (plugin in nagios terminology= ). >> If you want to generate avaibility reports then you should consult >> perfdata_raw_summary and perfdata_raw_summary_data. >> >> Since Yves and Ben stopped working on pp i'm alone. They designed th= e >> DB >> schema and I'm tryin to figure out how it works. Most things i read = from >> source, some things did i ask them. You may want to ask them too. >> >> At the moment i try to redesign parts of the DB-schema. Queries will= >> get >> more complicated in some parts and more easy in other. I hope i get >> faster response times and less disk resource requirements. >> >> Someone told me about a library to gererate graphs. Was that you? If= >> yes, can you recall? >> >> Question about keys? The question about foreign keys? Hmm. Never >> tried. >> I put that at the end of the todo list :-) No clue at the moment. Re= ask >> in a month. >> >> Flo >> >> >> >> >> Alex Peeters schrieb: >>> Hi Florian, >>> >>> >>> I need to generate my own graphics and need know more info how your= >>> databases are build. >>> >>> I don't know the info to find in which tables regarding PerfParse. >>> >>> Perfparse database datastructure PLEASE ? >>> >>> >>> >>> I 'am stil waiting on a question regarding the missing keys asked o= n >>> sourceforge ? >>> >>> >>> Alex Peeters >>> >>> >>> > = |
From: Florian G. <fl...@bi...> - 2007-08-01 11:13:41
|
Ale...@sm... schrieb: > Hi Flo, > > > Almost 1 year i want to help with development for Perfparse. > > > But since since release perfparse-0.106.1 i can't compile it anymore. > > > The latest snapshot can even ./configure anymore onto the same server. > > > snapshot perfparse-all-07-05-03 > > configure: Using glib2 > checking for what data source... ASNMTAP > checking for what database to use... Mysql > checking for your ability to administrate a database... you need more > experience... > checking for mysql_config... /usr/local/bin/mysql_config > checking for gzopen in -lz... yes > checking gd.h usability... yes > checking gd.h presence... yes > checking for gd.h... yes > checking for gdlib-config... /usr/local/bin/gdlib-config > checking for gdImageCreate in -lgd... yes > checking for printw in -lncurses... no > configure: error: ncurses development libraries not usable. > Install ncurses development libraries and rerun configure. > See config.log or FAQs for details. > The configure says: Install ncurses development libraries and rerun configure. You should try that. > > > When do i get one answer PLEASE > > Onto the same machine i have: > > perfparse-0.105.6 and perfparse-0.106.1 > > perfparse-0.105.6: > ... > Making all in contrib > make[2]: Entering directory > `/export/home/nagios/installed-packages/perfparse-0.105.6-asnmtap/contrib' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory > `/export/home/nagios/installed-packages/perfparse-0.105.6-asnmtap/contrib' > Making all in po > make[2]: Entering directory > `/export/home/nagios/installed-packages/perfparse-0.105.6-asnmtap/po' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory > `/export/home/nagios/installed-packages/perfparse-0.105.6-asnmtap/po' > Making all in scripts > make[2]: Entering directory > `/export/home/nagios/installed-packages/perfparse-0.105.6-asnmtap/scripts' > rm -f perfparse.sh.example perfparse.sh.tmp > sed -e 's,@bindir\@,/opt/asnmtap/perfparse/bin,g' -e > 's,@sysconfdir\@,/opt/asnmtap/perfparse/etc,g' -e > 's,@localstatedir\@,/opt/asnmtap/perfparse/var,g' -e > 's,@prefix\@,/opt/asnmtap/perfparse,g' ./perfparse.sh.in >perfparse.sh.tmp > chmod +x perfparse.sh.tmp > mv perfparse.sh.tmp perfparse.sh.example > > > perfparse-0.106.1: > > mkdir .libs > gcc -g -O2 -Wall -o .libs/perfparse-log2any > perfparse_log2any-perfparse-log2any.o perfparse_log2any-perfparse-common.o > perfparse_log2any-log_reader.o perfparse_log2any-storage.o > -L/export/home/nagios/installed-packages/perfparse-0.106.1/libpp_common > /export/home/nagios/installed-packages/perfparse-0.106.1 > /libpp_common/.libs/libpp_common.so -L/usr/local/lib -L/usr/lib > -L/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4.2/lib -L/usr/openwin/lib > -L/export/home/nagios/installed-packages/perfparse-0.106.1 > /libnagios_perfdata_parser > /export/home/nagios/installed-packages/perfparse-0.106.1 > /libnagios_perfdata_parser/.libs/libnagios_perfdata_parser.so > /usr/local/lib/libglib-2.0.so ../intl/libintl.a /usr/local/lib/libiconv.so > /usr/local/lib/libgd.so -lXpm -lX11 /usr/local/lib/libjpeg.so > /usr/local/lib/libfontconfig.so /usr/local/lib/libexpat.so > /usr/local/lib/libfreetype.so -lpng12 -lz -lm -R/opt/asnmtap/perfparse/lib > -R/usr/local/lib > Undefined first referenced > symbol in file > bind perfparse_log2any-log_reader.o (symbol > belongs to implicit dependency /usr/lib/libsocket.so.1) > dlsym perfparse_log2any-storage.o (symbol > belongs to implicit dependency /usr/lib/libdl.so.1) > rpl_malloc perfparse_log2any-log_reader.o > accept perfparse_log2any-log_reader.o (symbol > belongs to implicit dependency /usr/lib/libsocket.so.1) > dlopen perfparse_log2any-storage.o (symbol > belongs to implicit dependency /usr/lib/libdl.so.1) > listen perfparse_log2any-log_reader.o (symbol > belongs to implicit dependency /usr/lib/libsocket.so.1) > gethostbyname perfparse_log2any-log_reader.o (symbol > belongs to implicit dependency /usr/lib/libnsl.so.1) > socket perfparse_log2any-log_reader.o (symbol > belongs to implicit dependency /usr/lib/libsocket.so.1) > rpl_realloc perfparse_log2any-log_reader.o > setsockopt perfparse_log2any-log_reader.o (symbol > belongs to implicit dependency /usr/lib/libsocket.so.1) > connect perfparse_log2any-log_reader.o (symbol > belongs to implicit dependency /usr/lib/libsocket.so.1) > dlerror perfparse_log2any-storage.o (symbol > belongs to implicit dependency /usr/lib/libdl.so.1) > shutdown perfparse_log2any-log_reader.o (symbol > belongs to implicit dependency /usr/lib/libsocket.so.1) > ld: fatal: Symbol referencing errors. No output written to > .libs/perfparse-log2any > collect2: ld returned 1 exit status > make[2]: *** [perfparse-log2any] Error 1 > make[2]: Leaving directory > `/export/home/nagios/installed-packages/perfparse-0.106.1/perfparse' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory > `/export/home/nagios/installed-packages/perfparse-0.106.1' > make: *** [all] Error 2 > > Vriendelijke Groeten, > > -- Alex Peeters > What system are you using? Linux? What distro? Try: LDFLAGS="-ldl -lsocket" ./configure But configure should find that yout itself if -ldl or -lsocket are nedded. Maybe a make clean would do it too. Flo |