Perfdata - Can some of it be removed safely?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
TSCAdmin
Posts: 155
Joined: Wed Apr 14, 2010 3:00 pm
Location: India

Perfdata - Can some of it be removed safely?

Post 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
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Perfdata - Can some of it be removed safely?

Post 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.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Perfdata - Can some of it be removed safely?

Post by tonyyarusso »

Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Perfdata - Can some of it be removed safely?

Post 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
TSCAdmin
Posts: 155
Joined: Wed Apr 14, 2010 3:00 pm
Location: India

Re: Perfdata - Can some of it be removed safely?

Post 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 :)
tonyyarusso
Posts: 1128
Joined: Wed Mar 03, 2010 12:38 pm
Location: St. Paul, MN, USA
Contact:

Re: Perfdata - Can some of it be removed safely?

Post by tonyyarusso »

No problem.
Tony Yarusso
Technical Services
___
TIES
Web: http://ties.k12.mn.us/
Locked