Our server monitoring system alarmed that my DFM server's disk is reaching full.
I took a look at disk usage under /opt/<DFM install dir> then found /perfdata consumes 48G.
$ sudo du -s -h *
How can I decrease the perfdata directory size significantly? Could you instruct me a standard steps or give a document link explains the method?
Under /perfdata, there are old files which time stamp is older than 1.5 years but those files are quite small. The total size of filers which time stamp is about 50MB.
New time stamp files consumes the space because some of them are larger than 2GB per 1 file.
I checked NMC -> Setup -> Host -> data collection -> Edit
Most objects' setting are below. As I didn't change this setting, this is the default setting. If I change this retention period to 6 months, perfdata decrease?
sample period retention period
1 min 1.02 year
Thank you in advance.
You are correct that if you change the data collection retention that you will reduce the perfdata folder size. This can be changed in performance monitor per filer and per counter. If you look under "Data Collection" you will see what the current retention for each node and counter currently is.
Be aware also that if you have less than 10% available space where your perfdata folder is stored, that DFM will stop data collection.
The bug I referred to was 439756, but it is not applicable to any supported version (UM 5.0+):
Being on DFM 4.0 means you are both exposed to 439756 and that you need to upgrade as all versions of DFM/UM prior to 5.0 entered End Of Version Support as of 12/1/2013:
Additionally, there is a bug that prevents the command "dfm perf data list -v" from accurately representing data files larger than 4Gb (~3.98Gb).
You need to create a backup (dfm backup create) and upgrade to 5.0.2P2 or higher: