mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Define Poller Duration precision to 2 (#11271)
This commit is contained in:
@@ -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>',
|
'hostname' => "<a class='list-device' href='".generate_device_url($device, array('tab' => 'graphs', 'group' => 'poller'))."'>".format_hostname($device).'</a>',
|
||||||
'last_polled' => $device['last_polled'],
|
'last_polled' => $device['last_polled'],
|
||||||
'poller_group' => $device['group_name'],
|
'poller_group' => $device['group_name'],
|
||||||
'last_polled_timetaken' => $device['last_polled_timetaken'],
|
'last_polled_timetaken' => round($device['last_polled_timetaken'], 2),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user