mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-02-04 01:09:25 -05:00
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:
commit
d8fed188d7
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue