Skip to main content
Question

Can i delete the comments?

  • June 9, 2022
  • 6 replies
  • 140 views

ensenada
Forum|alt.badge.img+7

Hi,

I have noticed there are a lot of commnets in Monitoring>Downtimes>Comments section

 

Can I or should I delete them?

 

Thanks,

Best regards

6 replies

sduret
Centreonian
Forum|alt.badge.img+13
  • Centreonian
  • June 9, 2022

Hello
The comments ban be related to:

  • a simple comment on a resource
  • a downtime
  • an acknowlege

If you don’t want to keep them for a long time, I invite you to set a retention parameter in “Administration  >  Parameters  >  Options”.

Regards


ensenada
Forum|alt.badge.img+7
  • Author
  • Steward ***
  • June 9, 2022

Hello
The comments ban be related to:

  • a simple comment on a resource
  • a downtime
  • an acknowlege

If you don’t want to keep them for a long time, I invite you to set a retention parameter in “Administration  >  Parameters  >  Options”.

Regards

 

I have 0 days on Retention duration for comments and Retention duration for downtimes.

I dont understand.


sduret
Centreonian
Forum|alt.badge.img+13
  • Centreonian
  • June 9, 2022

0 days means no purge


ensenada
Forum|alt.badge.img+7
  • Author
  • Steward ***
  • June 9, 2022

0 days means no purge

Ok thanks.


sduret
Centreonian
Forum|alt.badge.img+13
  • Centreonian
  • June 9, 2022

@ensenada just keep in mind that the purge sript will only delete the comments if the expiration date is old than the retention parameter.
It means it will never delete comments if they are still related to a current downtime/acknowledge


ensenada
Forum|alt.badge.img+7
  • Author
  • Steward ***
  • June 9, 2022

@ensenada just keep in mind that the purge sript will only delete the comments if the expiration date is old than the retention parameter.
It means it will never delete comments if they are still related to a current downtime/acknowledge

I understand.

I just wanna delete all comments older than a month and not related with an current downtime for example.

Thanks for help !