Skip to main content
Solved

How delete old perfdata

  • February 1, 2024
  • 4 replies
  • 650 views

Forum|alt.badge.img+2

Hello the Centreon community…


I use a Centreon (IT-100) on witch I have A Windows host monitored. Temporarilly we added 32 CPU cores then return to 12 CPU. But all perfdata (for the 32 CPU) are still displayed on the graph with N/A value.

Is it possible to purge the no more used perfdata of a service and show only the 12 CPU core  ?

 

Best regards

Best answer by vcoum

Hello

You can delete the no more used perfdata from the WebUI in the Administration > Parameters > Data menu

Search for the concerned service and delete the metrics you don’t want anymore

 

Hope it helps

4 replies

vcoum
Centreon Lord Commander
Forum|alt.badge.img+13
  • Centreon Lord Commander
  • Answer
  • February 1, 2024

Hello

You can delete the no more used perfdata from the WebUI in the Administration > Parameters > Data menu

Search for the concerned service and delete the metrics you don’t want anymore

 

Hope it helps


Forum|alt.badge.img+2
  • Author
  • Steward *
  • February 1, 2024

Hey… Wonderful.

thank you very much for your feedback.

Do you think it’s possible to set a delay to auto delete unused perfdata ?


ponchoh
Centreonian
Forum|alt.badge.img+14
  • Centreonian
  • February 1, 2024

Hello @jbberthelin 

 

This?

 

“Administration  >  Parameters  >  Options”

 

 


Forum|alt.badge.img+2
  • Author
  • Steward *
  • February 22, 2024

Hi Ponchoh…

(Sorry for late reply.)

I made some tests but this parameter doesn’t seem to purge too old perfdata.


By default, the retention duration for performance data in RRDTool databases = 180, then

  • I added a new CPU on a host to create a temporary perfdata.
  • I set the parameter “RRDTool databases” to 1 day.
  • I waited the new CPU starting to be draw in the graph of the RRD database.
  • I remove the “new” CPU and wait for 1 day

=> The perfdata is still present.

 

I deleted manually the perfdata related to the new CPU, then I redo the same test with the parameter “RRDTool databases” already set to 1 day and the behaviour is same.

 

I’m not sure that this is possible that old perfdata (according to some threshold) can be automatically deleted.

 

Thank you all the same for your answer.