mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
feature: add get_disks function (#6058)
This commit is contained in:
@ -1472,3 +1472,9 @@ function get_oxidized_nodes_list()
|
||||
</tr>";
|
||||
}
|
||||
}
|
||||
|
||||
// fetches disks for a system
|
||||
function get_disks($device)
|
||||
{
|
||||
return dbFetchRows('SELECT * FROM `ucd_diskio` WHERE device_id = ? ORDER BY diskio_descr', array($device));
|
||||
}
|
||||
|
Reference in New Issue
Block a user