Remove ack

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Remove ack

Post by bosecorp »

Hi

is there an easy way to do mass remove acknowledgement instead of doing one by one. I manage to remove all the coments, but I know I need to remove all the ack
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Remove ack

Post by lmiltchev »

There is no way to remove acks in bulk in the GUI, at least not yet. You could try removing them from the command line by running:

Code: Select all

service nagios stop
sed -i 's/problem_has_been_acknowledged=.*/problem_has_been_acknowledged=0/g' /usr/local/nagios/var/retention.dat
service nagios start
Let us know if this helped.
Be sure to check out our Knowledgebase for helpful articles and solutions!
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Remove ack

Post by bosecorp »

worked. thanks a lot
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Remove ack

Post by lmiltchev »

I am glad I could help! :)
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked