From: Ben C. <bcl...@pe...> - 2005-02-15 17:30:13
|
Alex, Sorry been a while, lot to do here. New release out. I have fixed the deletion problem. Very much the same as old version. If it works there is a new configuration flag: --with-data-source=nagios|asnmtap Data Source (default=nagios) This allow you to use this code: #ifdef USE_SOURCE_NAGIOS _("Host") #elseif USE_SOURCE_ASNMTAP _("Plugin") #endif Looking at comments from users mentioning that it would be better for translation to keep with entire sentence. I wonder whether you may be able to replace entire sentence containing the word 'host' with your own wording? Hopefully leaving the existing existing wording as is, so that current translation work is still valid? I am sorry that this may mean repeating some work you have completed before. I hope that this will produce a far better quality product when completed. I look forward to seeing it, Regards, 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 >> > > |