async status(req, res){
        
        //TODO: get a way to get device free space
        res.status(200);
        return res.json({ 
            hostname: os.hostname(), 
            arch: process.platform, 
            freeSpace: 0, 
            installed_plugins: 
            pluginsService.getVersions()
        });
    }
/**
    * return status agent status with basic information
    */
return status agent status with basic information
return status agent status with basic information
async status(req, res){
        res.status(200);
        return res.json({ 
            hostname: os.hostname(), 
            arch: process.platform, 
            freeSpace: 0, 
            installed_plugins: 
            pluginsService.getVersions()
        });
    }
async status ( req , res ) { res . status ( 200 ) ; return res . json ( { hostname : os . hostname ( ) , arch : process . platform , freeSpace : 0 , installed_plugins : pluginsService . getVersions ( ) } ) ; }
return status agent status with basic information
return status agent status with basic information
//TODO: get a way to get device free space