diff --git a/library/Businessprocess/State/IcingaDbState.php b/library/Businessprocess/State/IcingaDbState.php index 68ac45d..0eb0927 100644 --- a/library/Businessprocess/State/IcingaDbState.php +++ b/library/Businessprocess/State/IcingaDbState.php @@ -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); diff --git a/module.info b/module.info index 81092a0..2e988fa 100644 --- a/module.info +++ b/module.info @@ -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