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
Acknowledgement Data missing
Acknowledgement Data missing
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
RHEL 6 & 7
rrdcached & ramdisk optimisation
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Acknowledgement Data missing
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.
Re: Acknowledgement Data missing
From the monitors itself, all previous acknowledgement is gone from host & service history.Box293 wrote:Where abouts are you noticing all the acknowledgement data is missing. Some screenshots will help.
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
RHEL 6 & 7
rrdcached & ramdisk optimisation
Re: Acknowledgement Data missing
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.
"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.
Re: Acknowledgement Data missing
So are you saying the acknowledgement, comments are stored in retention.dat?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.
5 x Nagios 5.6.9 Enterprise Edition
RHEL 6 & 7
rrdcached & ramdisk optimisation
RHEL 6 & 7
rrdcached & ramdisk optimisation
Re: Acknowledgement Data missing
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.
"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.
Re: Acknowledgement Data missing
I recall Nagios support asked me to delete the retention.dat as part of the solution to solve the upgrade problem.abrist wrote:Yes.
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
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
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.