Subscribe

Purge history in Operations Manager

Hi,

What options exist in Operations Manager to purge history in the database that is older than a set time limit, for example six months?  I have found an option for the events purge interval, but it is unclear if this also purges other data in the database.

Thanks!

Jason

Re: Purge history in Operations Manager

Hi Jason,

The option 'eventsPurgeInterval' allows to delete only the history events in DFM. This is the interval after  which event will be automatically deleted from DFM database. This does not purge other data in the database.

Apart from this you can also purge PA data. You can use the 'dfm perf data modify' CLI to change the retention period for performance data collected by PA.

I hope this answers your question. If not, what other specific data are you looking to purge apart from the above mentioned ?

Re: Purge history in Operations Manager

This is helpful.  I'll test when I get a chance.   Thanks.

Re: Purge history in Operations Manager

If you're wondering about the historical data we use for graphs (i.e. the volume fullness graphs), I don't think there is any way to purge that.  It tends not to grow very fast after the first year -- is it a problem?

Re: Purge history in Operations Manager

Hi,

You can use the CLI "purgehistory" for this purpose.  It can purge the history in time/value range.  It is available in DFM 3.8 onwards.

* Ranganatha

Re: Purge history in Operations Manager

The idea was to purge all stats, including those that generate graphs after a set time to keep the database size from getting out of hand.

Currently running DFM version 3.7.1.

Re: Purge history in Operations Manager

Are you talking about the dfm db or the perf dir size ?

Becasue when you create db backups the size shown is including the perf dir.

Regards

adai

Delete Perf Data Filer

Is there any hidden command to delete all perf data for a filer ?

I used , dfm host delete -f hostid

This does not delete perf data

Re: Delete Perf Data Filer

There is no hidden command to delete all perf data for a filer. Can you

please submit a

burt for this issue? Ideally, "dfm host delete -f" should delete all

perf files.

Regards

Harish

Re: Delete Perf Data Filer

It looks like it deleted from this command to view data from perfdata

C:\>dfm perf data list filer1

Error: Could not list counter groups.

Reason: There is no host named 'filer1'.

C:\>dfm perf data list filer1.nylab.demo.com

Error: Could not list counter groups.

Reason: There is no host named 'filer1.nylab.demo.com'.

I was expecting to see more free  space  in perfdata folder files ,