Define Poller Duration precision to 2 (#11271)

This commit is contained in:
SourceDoctor
2020-03-10 23:14:43 +01:00
committed by GitHub
parent 34924f6ad3
commit cc53801e22

View File

@@ -59,7 +59,7 @@ foreach (dbFetchRows($sql, array()) as $device) {
'hostname' => "<a class='list-device' href='".generate_device_url($device, array('tab' => 'graphs', 'group' => 'poller'))."'>".format_hostname($device).'</a>',
'last_polled' => $device['last_polled'],
'poller_group' => $device['group_name'],
'last_polled_timetaken' => $device['last_polled_timetaken'],
'last_polled_timetaken' => round($device['last_polled_timetaken'], 2),
);
}