This issue has been migrated from Redmine: https://dev.icinga.com/issues/1667
Created by mfriedrich on 2011-06-20 16:41:36 +00:00
Status: Resolved (closed on 2011-06-21 01:46:10 +00:00)
Target Version: 1.5
Last Update: 2014-12-08 09:32:35 +00:00 (in Redmine)
sometimes it may happen that the daemon remains dead, or the status.dat is still there (sigsegv). it would be worthwile having that checked during the refresh interval and telling the user if it is outdated (cfg option with value to be set, e.g. 500 sec).
2011-06-20 20:25:40 +00:00 by ricardo 487cdaa
add a check for status data freshness into cgis #1667
* gives a warining of outdated status data with a 10 second delay
2011-06-28 07:09:50 +00:00 by ricardo 8cc0b64
Updated by mfriedrich on 2011-06-20 17:05:36 +00:00
can be adapted, but needs another global variable (status_file_creation_time).
or like others scripts do, use the first 'last_check' from the hoststatus entries, which might not be sufficient ofc.
Updated by ricardo on 2011-06-20 20:31:52 +00:00
sounds very good.
added to "test/cgis"
Updated by ricardo on 2011-06-20 20:58:14 +00:00
Updated by ricardo on 2011-06-21 01:46:10 +00:00
Applied in changeset 487cdaa.
Updated by mfriedrich on 2011-06-24 08:11:03 +00:00
works like a charm, thanks!
Updated by mfriedrich on 2014-12-08 09:32:35 +00:00