Page 1 of 1

Clearing all Acks and Comments

Posted: Tue Jun 16, 2015 10:36 am
by lthomas987
We have some old acks and comments laying around in our system from employees who are long since gone but used the sticky and persistent options liberally. I've cleared manually all the ones I can easily find, but every once in a while a system will have an issue and the problem will be ack'd immediately by some old entry.

Where is all this data stored? Can we clear the entirity of all the acks and comments? Is there a file they're stored in? or in the database? or something? I'd like to after notifying all the users of course, purge them all and start over fresh.

Laura

Re: Clearing all Acks and Comments

Posted: Tue Jun 16, 2015 12:31 pm
by lmiltchev
You can try running the following plugin:

https://exchange.nagios.org/directory/A ... ld/details

I tried it on my test box and I was able to remove all of my acks and ack comments with one go.

Note: As always - try it in a test environment. Don't test it in production. :)

Re: Clearing all Acks and Comments

Posted: Tue Jun 16, 2015 2:38 pm
by lthomas987
Excellent! It worked great in our test environment, now to work it into prod.

Re: Clearing all Acks and Comments

Posted: Tue Jun 16, 2015 2:39 pm
by abrist
Great! Are we clear to lock the thread?

Re: Clearing all Acks and Comments

Posted: Tue Jun 16, 2015 2:53 pm
by lthomas987
Yes please!