Acknowledgement Data missing

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Acknowledgement Data missing

Post by rajasegar »

Nagios XI 2014R1.2

Yesterday we had an incident where the partition hosting Nagios became full.
Today we noticed all the acknowledgement data is missing

Please advice

1) Where is the acknowledgement, comments etc stored? If DB which table.
2) How to restore the data from backup

Thanks
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Acknowledgement Data missing

Post by Box293 »

Where abouts are you noticing all the acknowledgement data is missing. Some screenshots will help.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Acknowledgement Data missing

Post by rajasegar »

Box293 wrote:Where abouts are you noticing all the acknowledgement data is missing. Some screenshots will help.
From the monitors itself, all previous acknowledgement is gone from host & service history.
Only the ones added on that day are there.

Same thing from Incident Management->Acknowledgement & Comments.
Previous scheduled tasks history are also gone.

In short it is gone from everywhere.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Acknowledgement Data missing

Post by abrist »

If retention.dat could not be written out, runtime state data (acks,comments, etc) will be lost. As you had a partition filled, that would be my guess.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Acknowledgement Data missing

Post by rajasegar »

abrist wrote:If retention.dat could not be written out, runtime state data (acks,comments, etc) will be lost. As you had a partition filled, that would be my guess.
So are you saying the acknowledgement, comments are stored in retention.dat?
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Acknowledgement Data missing

Post by abrist »

Yes.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
rajasegar
Posts: 1018
Joined: Sun Mar 30, 2014 10:49 pm

Re: Acknowledgement Data missing

Post by rajasegar »

abrist wrote:Yes.
I recall Nagios support asked me to delete the retention.dat as part of the solution to solve the upgrade problem.
Nobody told us about the side effects. Lucky I reverted back else there would have been big time noise from the monitoring team.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Acknowledgement Data missing

Post by slansing »

That is correct, there are some issues that can be "jump-start" resolved by removing retention.dat, however, it does get re-created upon restart if it was missing. As abrist noted, it contains things such as state information, comments, and downtime so it can be used to bring your nagios system back to where it was if the main process is killed off and restarted.
Locked