Page 1 of 1
Performance Data retention period
Posted: Tue Nov 16, 2010 5:03 pm
by sholdings
Dear Sir,
2 questions regarding performance data.
1) How long does the performance data be kept in XI? Is there a way to adjust?
2) Where is performance data stored? Our user ask for raw data. How can I dump out the raw data?
Thanks.
Re: Performance Data retention period
Posted: Wed Nov 17, 2010 11:48 am
by tonyyarusso
1) How long does the performance data be kept in XI? Is there a way to adjust?
Currently, I believe it's forever, although we're working on implementing a configuration option for this in response to a similar request.
2) Where is performance data stored? Our user ask for raw data. How can I dump out the raw data?
In the 'nagios' MySQL database, specifically the 'perfdata' columns of the nagios_hostchecks and nagios_servicechecks tables. You can dump it through the method of querying MySQL of your choice, or just use mysqldump and give them the whole database to work with themselves. This is also written to RRD files, found in /usr/local/nagios/share/perfdata/ .
Re: Performance Data retention period
Posted: Wed Nov 17, 2010 12:10 pm
by sholdings
Cool. Thanks a lot. That is exactly the answer I want.
Does the data stored in /usr/local/nagios/share/perfdata/ been kept forever too?
Re: Performance Data retention period
Posted: Wed Nov 17, 2010 12:36 pm
by tonyyarusso
I think so.