What does retention.dat file do?
Posted: Mon May 02, 2016 9:54 am
Hi,
I have a question regarding retention.dat file. I read the Main Configuration File Options web page about retention. For my understanding, once I stopped Nagios, the info about all hosts and services will be written into retention.dat, and once Nagios is started again, Nagios will read retention.dat for the info. So, I assume after I stopped Nagios, I could modify retention.dat file manually. For example, I stopped nagios first, then I modified the retention.dat and set notifications_enabled to 0 for host_1, then I started Nagios. At this time, I think the notification of the host_1 should be disabled. Am I wrong about this?
Thanks.
I have a question regarding retention.dat file. I read the Main Configuration File Options web page about retention. For my understanding, once I stopped Nagios, the info about all hosts and services will be written into retention.dat, and once Nagios is started again, Nagios will read retention.dat for the info. So, I assume after I stopped Nagios, I could modify retention.dat file manually. For example, I stopped nagios first, then I modified the retention.dat and set notifications_enabled to 0 for host_1, then I started Nagios. At this time, I think the notification of the host_1 should be disabled. Am I wrong about this?
Thanks.