Resolving Issue #1473

Recovery Date overwritten by subsequent checks
This commit is contained in:
cigamit committed 2018-09-29 19:29:53 -05:00
1 parent 7cd6e6090d
commit c7e4dfda18
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -18,6 +18,7 @@ Cacti CHANGELOG
-issue#1421: Fix issue when SQL had all bad modes, missing variable warning was generated
-issue#1426: Fix issue where remote poller was not using unique filenames when attempting to verify files
-issue#1437: Plugin install hover message sometimes shows line breaks rather than formatted text
-issue#1473: Recovery Date overwritten by subsequent checks
-issue#1494: Unable to Deep Link/Bookmark Trees
-issue#1454: When using oid_regexp_parse, filter indexes to those that match
-issue#1503: Undefined function clearstatscache in DSSTATS
+1 -1
View File
@@ -1170,7 +1170,7 @@ function update_host_status($status, $host_id, &$hosts, &$ping, $ping_availabili
$issue_log_message = true;
/* update the recovery date only if the recovery count is 1 */
if ($ping_recovery_count == $ping_recovery_count) {
if ($hosts[$host_id]['status_event_count'] == $ping_recovery_count) {
$hosts[$host_id]['status_rec_date'] = date('Y-m-d H:i:s');
}