Page 1 of 1
Perfdata - Can some of it be removed safely?
Posted: Tue May 10, 2011 1:32 am
by TSCAdmin
Hello,
Perfdata is taking up a huge share of disk space and we have been throwing storage space as it grows but it keeps growing.
I have a understanding that the perfdata keeps the information that is vital for generating graphs.
Is there any way to keep it compact, under control?
Thanks
Re: Perfdata - Can some of it be removed safely?
Posted: Tue May 10, 2011 9:50 am
by tonyyarusso
It can be done, yes, however we don't currently have a pretty interface for doing so. You will of course lost the ability to see graphs for anything you delete, but if you never need graphs of older than say the last month then certainly you can delete the stuff older than that without any problems. Currently this would I believe involve manually setting up a cron job with an rrdtool command, although I would imagine we should be able to add this as a feature in the web interface soon.
Re: Perfdata - Can some of it be removed safely?
Posted: Tue May 10, 2011 10:04 am
by tonyyarusso
Re: Perfdata - Can some of it be removed safely?
Posted: Tue May 10, 2011 10:21 am
by mguthrie
The actual rrd filesize is static, and it's based on how many data sets there are per check. Once a service starts receiving performance data, a new rrd file is created, and that file will be the same size as a check that's been running for a year. You could turn off performance data processing for unnecessary services, and then delete the rrd files. So I'm not sure if there's a nice and easy way around that problem....
RRD Doc on how it works.
http://oss.oetiker.ch/rrdtool/doc/rrdto ... tml#___top
Re: Perfdata - Can some of it be removed safely?
Posted: Wed May 11, 2011 1:34 am
by TSCAdmin
mguthrie, it makes sense, I got it now. It would seem that it isn't growing anymore now as you said.
Cheers guys

Re: Perfdata - Can some of it be removed safely?
Posted: Wed May 11, 2011 4:32 pm
by tonyyarusso
No problem.