From: Alex P. <ale...@ci...> - 2006-04-05 16:49:23
|
Problem is: ./configure --prefix=3D/opt/asnmtap-3.000.xxx/perfparse --with-imagedir=3D/opt/asnmtap-3.000.xxx/applications/htmlroot/img/ --with-cgidir=3D/opt/asnmtap-3.000.xxx/applications/htmlroot/cgi-bin --with-http_image_path=3D/asnmtap/img --with-data-source=3Dasnmtap checking for what data source... Nagios should be checking for what data source... Asnmtap Then normally in the config.h should be: config.h /* Data Source is ASNMTAP */ #define USE_SOURCE_ASNMTAP 1 /* Data Source is Nagios */ /* #undef USE_SOURCE_NAGIOS */ Instead of now: config.h /* Data Source is ASNMTAP */ /* #undef USE_SOURCE_ASNMTAP */ /* Data Source is Nagios */ #define USE_SOURCE_NAGIOS 1 I mean, that when i after configure, mannualy change the config.h, = everthing is compiling OK with make and instaling with make install-strip Here you can have a look: http://asnmtap.citap.be/cgi-bin/perfparse.pl -- Alex -----Original Message----- From: Florian Gleixner [mailto:fl...@bi...]=20 Sent: dinsdag 4 april 2006 22:13 To: Alex Peeters Cc: per...@li... Subject: Re: [Perfparse-devel-int] RE: Perfparse Queation Hi, can you be more specific? I did only apply your patch and commit. I had=20 no time to build another test environment besides nagios 1.3 and nagios=20 2.0 with different perfparse methods. You can get cvs access to commit your changes. Flo Alex Peeters schrieb: > Copyright =A9 2004-2006. Program Version 0.106.1. Schema Version 0.19. >=20 >=20 > Where are mij translations when i compile with > --with-data-source=3Dasnmtap ??? >=20 > ./configure --prefix=3D/opt/asnmtap-3.000.xxx/perfparse > --with-imagedir=3D/opt/asnmtap-3.000.xxx/applications/htmlroot/img/ > --with-cgidir=3D/opt/asnmtap-3.000.xxx/applications/htmlroot/cgi-bin > --with-http_image_path=3D/asnmtap/img --with-data-source=3Dasnmtap >=20 > -- Alex >=20 > -----Original Message----- > From: Florian Gleixner [mailto:fl...@bi...] > Sent: zaterdag 1 april 2006 21:00 > To: Alex Peeters > Cc: per...@li... > Subject: Re: [Perfparse-devel-int] RE: Perfparse Queation >=20 >=20 > Hi, >=20 > 0.106.1 is not yet out. It was planned long ago but due to increased=20 > work at work i did not manage to make a release. I planned to add a=20 > full featured php gui to 0.106.1 but for now i think i'll deliver a=20 > php gui with some features missing - but with some features that the C = > cgi's lack. >=20 > You can download a cvs snapshot for now at=20 > http://wiki.perfparse.org/cvs_snapshots/ >=20 > Flo >=20 > P.S.: Any help is welcome! >=20 > Alex Peeters schrieb: >> Where can i download the latestd version 0.106.1 please >> >> -----Original Message----- >> From: Alex Peeters [mailto:ale...@ci...] >> Sent: vrijdag 10 maart 2006 22:40 >> To: 'Alex Peeters'; 'per...@li...' >> Subject: RE: Perfparse Queation >> >> >> root@chablis [/export/download/ASNMTAP-3.000.006]# >> /opt/asnmtap/perfparse/bin/perfparse-db-purge >> An error occured with the SQL: >> >> "DELETE perfdata_service FROM perfdata_service,perfdata_host WHERE=20 >> perfdata_service.host_name =3D perfdata_host.host_name AND=20 >> perfdata_host.is_deleted =3D 1" >> >> Failure Message: >> >> "Cannot delete or update a parent row: a foreign key constraint=20 >> fails" >> >> root@chablis [/export/download/ASNMTAP-3.000.006]# >> /opt/asnmtap/perfparse/bin/perfparse-db-purge >> An error occured with the SQL: >> >> "UPDATE perfdata_service SET raw_delete_policy_name =3D 'Raw = Default'=20 >> WHERE raw_delete_policy_type =3D 'template' AND = raw_delete_policy_name=20 >> IS NULL" >> >> Failure Message: >> >> "Deadlock found when trying to get lock; Try restarting >> transaction" >> >=20 --=20 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.3.5/302 - Release Date: 5/04/2006 =20 --=20 No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.3.5/302 - Release Date: 5/04/2006 =20 --=20 No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.3.5/302 - Release Date: 5/04/2006 =20 |
From: Florian G. <fl...@bi...> - 2006-04-07 14:37:45
|
I'll try to fix as soon as i have more than 5 mins time :-) If you have a fix and a sourceforge username you can have cvs write access too. Flo Alex Peeters wrote: >=20 >=20 >=20 > Problem is: >=20 > ./configure --prefix=3D/opt/asnmtap-3.000.xxx/perfparse > --with-imagedir=3D/opt/asnmtap-3.000.xxx/applications/htmlroot/img/ > --with-cgidir=3D/opt/asnmtap-3.000.xxx/applications/htmlroot/cgi-bin > --with-http_image_path=3D/asnmtap/img --with-data-source=3Dasnmtap >=20 >=20 > checking for what data source... Nagios > should be > checking for what data source... Asnmtap >=20 >=20 > Then normally in the config.h should be: >=20 >=20 > config.h >=20 > /* Data Source is ASNMTAP */ > #define USE_SOURCE_ASNMTAP 1 >=20 > /* Data Source is Nagios */ > /* #undef USE_SOURCE_NAGIOS */ >=20 >=20 > Instead of now: >=20 > config.h >=20 > /* Data Source is ASNMTAP */ > /* #undef USE_SOURCE_ASNMTAP */ >=20 > /* Data Source is Nagios */ > #define USE_SOURCE_NAGIOS 1 >=20 >=20 > I mean, that when i after configure, mannualy change the config.h, ever= thing > is compiling OK with make and instaling with make install-strip >=20 > Here you can have a look: http://asnmtap.citap.be/cgi-bin/perfparse.pl >=20 > -- Alex >=20 > -----Original Message----- > From: Florian Gleixner [mailto:fl...@bi...]=20 > Sent: dinsdag 4 april 2006 22:13 > To: Alex Peeters > Cc: per...@li... > Subject: Re: [Perfparse-devel-int] RE: Perfparse Queation >=20 >=20 >=20 > Hi, >=20 > can you be more specific? I did only apply your patch and commit. I had= =20 > no time to build another test environment besides nagios 1.3 and nagios= =20 > 2.0 with different perfparse methods. >=20 > You can get cvs access to commit your changes. >=20 > Flo >=20 > Alex Peeters schrieb: >=20 >>Copyright =A9 2004-2006. Program Version 0.106.1. Schema Version 0.19. >> >> >>Where are mij translations when i compile with >>--with-data-source=3Dasnmtap ??? >> >> ./configure --prefix=3D/opt/asnmtap-3.000.xxx/perfparse >>--with-imagedir=3D/opt/asnmtap-3.000.xxx/applications/htmlroot/img/ >>--with-cgidir=3D/opt/asnmtap-3.000.xxx/applications/htmlroot/cgi-bin >>--with-http_image_path=3D/asnmtap/img --with-data-source=3Dasnmtap >> >>-- Alex >> >>-----Original Message----- >>From: Florian Gleixner [mailto:fl...@bi...] >>Sent: zaterdag 1 april 2006 21:00 >>To: Alex Peeters >>Cc: per...@li... >>Subject: Re: [Perfparse-devel-int] RE: Perfparse Queation >> >> >>Hi, >> >>0.106.1 is not yet out. It was planned long ago but due to increased=20 >>work at work i did not manage to make a release. I planned to add a=20 >>full featured php gui to 0.106.1 but for now i think i'll deliver a=20 >>php gui with some features missing - but with some features that the C=20 >>cgi's lack. >> >>You can download a cvs snapshot for now at=20 >>http://wiki.perfparse.org/cvs_snapshots/ >> >>Flo >> >>P.S.: Any help is welcome! >> >>Alex Peeters schrieb: >> >>>Where can i download the latestd version 0.106.1 please >>> >>>-----Original Message----- >>>From: Alex Peeters [mailto:ale...@ci...] >>>Sent: vrijdag 10 maart 2006 22:40 >>>To: 'Alex Peeters'; 'per...@li...' >>>Subject: RE: Perfparse Queation >>> >>> >>>root@chablis [/export/download/ASNMTAP-3.000.006]# >>>/opt/asnmtap/perfparse/bin/perfparse-db-purge >>>An error occured with the SQL: >>> >>> "DELETE perfdata_service FROM perfdata_service,perfdata_host WHERE=20 >>>perfdata_service.host_name =3D perfdata_host.host_name AND=20 >>>perfdata_host.is_deleted =3D 1" >>> >>>Failure Message: >>> >>> "Cannot delete or update a parent row: a foreign key constraint=20 >>>fails" >>> >>>root@chablis [/export/download/ASNMTAP-3.000.006]# >>>/opt/asnmtap/perfparse/bin/perfparse-db-purge >>>An error occured with the SQL: >>> >>> "UPDATE perfdata_service SET raw_delete_policy_name =3D 'Raw Default= '=20 >>>WHERE raw_delete_policy_type =3D 'template' AND raw_delete_policy_name= =20 >>>IS NULL" >>> >>>Failure Message: >>> >>> "Deadlock found when trying to get lock; Try restarting >>>transaction" >>> >> >=20 |
From: Florian G. <fl...@bi...> - 2006-04-08 22:29:50
|
fixed in cvs. Flo |
From: Alex P. <ale...@ci...> - 2006-04-09 08:09:56
|
Thanks, i did test it, and it works :) Have a nice weekend -----Original Message----- From: Florian Gleixner [mailto:fl...@bi...] Sent: zondag 9 april 2006 0:29 To: Alex Peeters Cc: per...@li... Subject: Re: [Perfparse-devel-int] RE: Perfparse Queation fixed in cvs. Flo -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.4.0/304 - Release Date: 7/04/2006 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.4.0/305 - Release Date: 8/04/2006 |