system: add disk usage task
This commit is contained in:
+1
-2
@@ -119,10 +119,9 @@ async function initializeExpressSync() {
|
||||
router.post('/api/v1/system/reboot', json, token, authorizeAdmin, routes.system.reboot);
|
||||
router.get ('/api/v1/system/metrics', token, authorizeAdmin, routes.system.getMetrics);
|
||||
router.get ('/api/v1/system/metricstream', token, authorizeAdmin, routes.system.getMetricStream);
|
||||
router.get ('/api/v1/system/disk_usage', token, authorizeAdmin, routes.system.getDiskUsage);
|
||||
router.post('/api/v1/system/disk_usage', token, authorizeAdmin, routes.system.updateDiskUsage);
|
||||
router.get ('/api/v1/system/block_devices', token, authorizeAdmin, routes.system.getBlockDevices);
|
||||
router.get ('/api/v1/system/filesystems', token, authorizeAdmin, routes.system.getFilesystems);
|
||||
router.post('/api/v1/system/filesystem_usage', token, authorizeAdmin, routes.system.getFilesystemUsage);
|
||||
router.get ('/api/v1/system/logs/:unit', token, authorizeAdmin, routes.system.getLogs);
|
||||
router.get ('/api/v1/system/logstream/:unit', token, authorizeAdmin, routes.system.getLogStream);
|
||||
// app operators require cpu and memory info for the Resources UI
|
||||
|
||||
Reference in New Issue
Block a user