Merge pull request #374 from Icinga/fix/add-icingadb-webs-timestamp-behavior-change

IcingaDbState: `last_state_change` is now a DateTime Obj
This commit is contained in:
Johannes Meyer 2023-06-07 08:29:32 +02:00 committed by GitHub
commit d8fed188d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -122,7 +122,7 @@ class IcingaDbState
}
if ($row->state->last_state_change !== null) {
$node->setLastStateChange($row->state->last_state_change/1000);
$node->setLastStateChange($row->state->last_state_change->getTimestamp());
}
if ($row->state->in_downtime) {
$node->setDowntime(true);

View file

@ -2,7 +2,7 @@ Name: Businessprocess
Version: 2.4.0
Requires:
Libraries: icinga-php-library (>=0.8.0), icinga-php-thirdparty (>=0.11.0)
Modules: monitoring (>=2.9.0), icingadb (>=1.0.0)
Modules: monitoring (>=2.9.0), icingadb (>=1.1.0)
Description: A Business Process viewer and modeler
Provides a web-based process modeler for Icinga. It integrates as a module
into Icinga Web 2 and provides a plugin check command for Icinga. Tile and tree