This repository has been archived by the owner on Jan 15, 2019. It is now read-only.
[dev.icinga.com #1978] read last_program_stop from retention.dat and use that for freshness calculations on startup instead of event_time #755
Labels
Comments
Updated by mfriedrich on 2011-11-11 15:10:51 +00:00
|
Updated by mfriedrich on 2011-12-02 15:47:02 +00:00
this is the cause for #2136, needs a proper rework and tested version. |
Updated by mfriedrich on 2011-12-08 12:26:15 +00:00 as analyzed at first glance in #2136, the program_stop+60 remains the wrong assumption in that case. possible fix below, needs deeper testing.
|
Updated by mfriedrich on 2012-08-22 16:31:06 +00:00
i don't see the need for that. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This issue has been migrated from Redmine: https://dev.icinga.com/issues/1978
Created by mfriedrich on 2011-10-06 11:23:50 +00:00
Assignee: mfriedrich
Status: Closed (closed on 2012-08-22 16:31:06 +00:00)
Target Version: (none)
Last Update: 2012-08-22 16:31:06 +00:00 (in Redmine)
this is a pretty epic idea, because long shutdown icinga cores will have the problem that the freshness checks on startup is being dependent on the expiration time.
which then results in
the main problem with this attempt - if there is no retention.dat this logic would fail then being changed in this way. a not accurate solution would be to always write retention.dat - as we need that currently. or introduce a token to indicate the program stop either way. but it should be added to the docs that retained state information now also contains the indication for the last program stop and will be therefore marked mandatory for freshness checks on passive checks (i.e. on passive slaves in distributed setups).
https://github.com/dnsmichi/nagios-fixed/commit/472d92ac81218f85c81571e31963545ebec7a988
https://github.com/dnsmichi/nagios-fixed/commit/8a8238f37a46f2ca73bebcf728a610385d49acd4
Relations:
The text was updated successfully, but these errors were encountered: