diff --git a/modules/monitoring/application/views/scripts/show/components/checkstatistics.phtml b/modules/monitoring/application/views/scripts/show/components/checkstatistics.phtml index 2a4e4b033..b0699c799 100644 --- a/modules/monitoring/application/views/scripts/show/components/checkstatistics.phtml +++ b/modules/monitoring/application/views/scripts/show/components/checkstatistics.phtml @@ -68,7 +68,18 @@ if ($object->getType() === $object::TYPE_HOST) { check_execution_time): ?> translate('Check execution time') ?> - check_execution_time ?>s + check_execution_time, + $matches + )) { + printf('%.3f', (float) $matches[1]); + } else { + echo $object->check_execution_time; + } + ?>s check_latency): ?>