Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
[dev.icinga.com #1667] add a check for status data freshness into cgis #665
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
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
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.