From: Sand P. <Phi...@sy...> - 2004-08-17 11:00:30
|
Hi Ben, I'm currently using the latest perfparse version 0.99.08. Together with N= agios 2.0a1 on Fedora Core 2. The deletion policy in the cgi where set to the default values for raw an= d binary data. Which had been 30days before I changed this just a moment = ago :) I thought, that when I use the -n option with the purgetool the deletion = ploicy is overwritten... Though after running the purgetool I still had host definitions in there = which where definitly older than 30 days. Plus after running the purgetool it said, that it deleted a few million l= ines, but when I wanted to check my diskspace with df, nothing changed...= Here's my perfparse.cfg: # Database Authentication DB_User =3D "nagios" DB_Name =3D "nagios" DB_Pass =3D "XXXXXXXXXXX" DB_Host =3D "127.0.0.1" # Performance Data Log Files: Delete_Service_Log =3D "no" Service_Log =3D "/usr/local/nagios/var/serviceperf.log" Delete_Host_Log =3D "No" Host_Log =3D "/usr/local/nagios/var/hostperf.log" # Drop file for lines of log rejected: Drop_File =3D "/tmp/perfparse.drop" # Nagios file containing its PID (Necessary to delete log files) Nagios_Lock =3D "/usr/local/nagios/var/nagios.lock" # Reporting options: # Do not display completion status of perfparse: Be_Silent =3D "no" # Display a report on exit of perfparse: Do_Report =3D "yes" # Lock file for only one perfparse running at the same time Lock_File =3D "/var/lock/perfparse.lock" # misc Dummy_Hostname =3D "dummy" Accept_Odd_Chars_in_Label =3D "no" # Default user permissions in the CGI. Accepted values are (ro|rw|hide) Default_user_permissions_Policy =3D "rw" Default_user_permissions_Host_groups =3D "rw" Regards, Philipp > -----Original Message----- > From: Ben Clewett [mailto:Be...@cl...]=20 > Sent: Tuesday, August 17, 2004 11:33 AM > To: Sand Philipp > Cc: per...@li... > Subject: Re: [Perfparse-users] (no subject) >=20 > Hi Philipp, >=20 > Can you tell me which version you are now using? >=20 > My guess is that you need to check the deletion policies=20 > through the CGI interface. (Make sure you have set the=20 > permissions to view these, look at the perfparse.cfg.example=20 > in the latest version.) This is the only place where you=20 > define the length of time the data is stored. >=20 > If you want to reset all your deletion policies to some good=20 > starting value, there is an option in perfparse-db-tool to=20 > set this. Take a look at the HOWTO for more information. >=20 > The raw data in perfdata_service_raw is used to archive the=20 > raw output from the plugins, both the state and the textual=20 > output. This has no connection to the binary data used for=20 > the graph. If you want historical information of the state=20 > returned by the plugins, this will keep this. There is also=20 > a nice 'outage' report showing for each service, how much=20 > time this has been in states OK, WARN, CRITICAL and UNKNOWN. >=20 > Hope this is of some use, >=20 > Ben >=20 >=20 > Sand Philipp wrote: >=20 > > Hi, > >=20 > > I just tried out the perfparse_db_purge, and I don't know=20 > what I'm doing wrong, but I won't work properly...but without=20 > giving error messages... > > I simply start it from the command-line e.g. with=20 > > #./perfparse-db-purge -n 1 The the program seems to run and=20 > after a while it returns, that it has deleted some million=20 > lines. Looks fine i think. > > But when I commect to the Database, and do some selects on=20 > the perfdata_host, or on the perfdata_service_raw, I got a=20 > lot of Data which is older than this 1 day. > > Which Data is deleted by the perfparse-db-purge tool?=20 > > BTW, does perfdata needs the data in the=20 > perfdata_service_raw table, or can it be deleted after=20 > perfparse got its bin-data? > > Would be great if you guys could post somethng like which=20 > table got which functions, thanks! > >=20 > > Regards, > > Philipp > > =20 > >=20 > > _____________________________ > >=20 > > Philipp Sand > > OC-CC-TEC-SYS > >=20 > > SYCOR GmbH > > Heinrich-von-Stephan-Stra=DFe 1-5 > > D - 37073 G=F6ttingen > >=20 > > Telefon +49 (0) 551 / 490 - 0 > > Telefax +49 (0) 551 / 490 - 232468 > >=20 > > phi...@sy... > > www.sycor.de > > ------------------------------------------------ > >=20 > >=20 > >=20 > > ************************************************ > >=20 > > sycor plastics - die neue Branchenl=F6sung f=FCr die Kunststoffindust= rie > >=20 > > www.sycor-plastics.de > >=20 > > ************************************************ > >=20 > >=20 > >=20 > >=20 > > Diese E-Mail ist vertraulich und kann dar=FCber hinaus=20 > pers=F6nliche Informationen beinhalten. Wenn Sie nicht der=20 > bestimmungsgem=E4=DFe Empf=E4nger sind, l=F6schen Sie bitte die=20 > E-Mail und deren Anh=E4nge sofort und benachrichtigen Sie uns=20 > dar=FCber. Die Firma sycor willigt in keine Vertr=E4ge oder=20 > vertragliche Verpflichtungen ein oder =FCbermittelt=20 > rechtsverbindliche Angebote, die in Form von E-Mail versandt=20 > werden, sofern dies nicht ausdr=FCcklich in schriftlicher Form=20 > zwischen den Parteien vereinbart wurde. > >=20 > > This e-mail is confidential and may contain personal and/or=20 > privileged information. If you are not the intended recipient=20 > please delete this e-mail and all attachments immediately and=20 > inform us. The company sycor does not agree with contracts or=20 > contract obligations sent by e-mail, neither do we transmit=20 > legally binding offers by e-mail, unless this is not=20 > expressly agreed upon between the parties and documented in=20 > written form. > >=20 > >=20 > >=20 > > ------------------------------------------------------- > > SF.Net email is sponsored by Shop4tech.com-Lowest price on=20 > Blank Media=20 > > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for=20 > only $33 Save=20 > > 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > > _______________________________________________ > > Perfparse-users mailing list > > Per...@li... > > https://lists.sourceforge.net/lists/listinfo/perfparse-users > >=20 >=20 >=20 ************************************************ sycor plastics - die neue Branchenl=F6sung f=FCr die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar=FCber hinaus pers=F6nliche Info= rmationen beinhalten. Wenn Sie nicht der bestimmungsgem=E4=DFe Empf=E4nge= r sind, l=F6schen Sie bitte die E-Mail und deren Anh=E4nge sofort und ben= achrichtigen Sie uns dar=FCber. Die Firma sycor willigt in keine Vertr=E4= ge oder vertragliche Verpflichtungen ein oder =FCbermittelt rechtsverbind= liche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht= ausdr=FCcklich in schriftlicher Form zwischen den Parteien vereinbart wu= rde. This e-mail is confidential and may contain personal and/or privileged in= formation. If you are not the intended recipient please delete this e-mai= l and all attachments immediately and inform us. The company sycor does n= ot agree with contracts or contract obligations sent by e-mail, neither d= o we transmit legally binding offers by e-mail, unless this is not expres= sly agreed upon between the parties and documented in written form. |