diff --git a/modules/monitoring/application/views/scripts/show/components/checkstatistics.phtml b/modules/monitoring/application/views/scripts/show/components/checkstatistics.phtml index c2338749c..aeafd42be 100644 --- a/modules/monitoring/application/views/scripts/show/components/checkstatistics.phtml +++ b/modules/monitoring/application/views/scripts/show/components/checkstatistics.phtml @@ -20,7 +20,9 @@ if ($object->getType() === $object::TYPE_HOST) { - = $this->timeAgo($object->last_check) ?> + state !== 99) { + echo $this->timeUntil($object->last_check); + } ?>