util.metrics-http-curl check is failing on Linux agent – Tokyo Description util.metrics-http-curl check of HTTP Entry Point Metrics Policy is failing on Linux proxy agent with following error: error getting plugin for check: error fetching asset: Get: unsupported protocol scheme "" Cause: Util.metrics-http-curl check definition has two ACC Plugins attached: Monitoring-plugin-commonMonitoring-plugin-windows (To ship curl.exe on to windows agents) Linux agents should fetch monitoring-plugin-common asset and ignore monitoring-plugin-windows asset as OS of this asset is Windows which doesn’t match with “Linux”. In Tokyo, Linux agent is not ignoring the windows and try to fetch unsupported asset. The MID is trying to find a plugin for Windows but under the linux OS and throwing below error: Error processing check "util.metrics-http-curl" for agent id="1313061f1f6fe438". No asset found for asset name:monitoring-plugin-windows os:linux platform:centos platformVersion: arch:7.6.1810. Check MID logs for more information. Thereby causing the error: error getting plugin for check: error fetching asset: Get: unsupported protocol scheme "" Steps to Reproduce Go to HTTP Entry Points Metrics PolicyClick on ‘Edit in Sandbox’ UI action Scroll down and click on the check instance: util.metrics-http-curl Under ‘Related Links’ click on Test Check (screenshot below): Check instance is populated with the corresponding check CI: https://www.servicenow.com (For example) Proxy Agent: Choose a Linux Agent No need to choose credentials Click on OK You’ll get this error message: Check failed to run. Response code: 3 error getting plugin for check: error fetching asset: Get : unsupported protocol scheme "" WorkaroundUtil.metrics-http-curl check works on Windows Agent. Incase of Linux Agent has to be used to run Util.metrics-http-curl check please follow below steps: Creating alternate of util.metrics-http-curl check definition: Create a copy of util.metrics-http-curl check definition Add check parameters and check secure parameters to new check definition exactly same as util.metrics-http-curl. Edit Plugins field of newly created copy of util.metrics-http-curl, by removing monitoring-plugin-windows from the list. Save the check definition. Note: This newly created copy of util.metrics-http-curl, does not work on a Windows Agent. Copy the Sys Id of the new check definition created in above steps, which will be used in later steps.Go to ACC Flags table by entering sn_agent_flags.list in filter navigator, then click enter.Create new ACC Flags record with following field values: Name : base64_enc_check_ci_paramHash : <sys_id of new check definition>:endpoint_url (For example : 6478407a77171a8d7767e04:endpoint_url) Click Submit. Create a new policy or Edit existing HTTP Entry Point Metrics Policy to add newly created check of util.metrics-http-curl. Once done, run a test check. As new copy check does not work on Windows Agent, under Proxy Settings section of Policy, select a Linux Agent or if Multi-proxy agents by filter option is being used set filter to select only Linux Agents.On a successful test check. Save and Republish the Policy. Related Problem: PRB1597275