Software installations and usage metrics Check failing - Missing config file on ACC agent devices
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
9 hours ago
Hi,
I am currently working on setting up Agent Client Collector (ACC)
on Windows devices in Test instance for Software
Asset Management (SAM) purposes specifically for software usage
metering.
I am trying to collect software usage metrics (how many times
a software was used and how long it was used) on ACC-enrolled
Windows devices using the built-in Check Definition called
"Software installations and usage metrics."
Everything is active and host data is properly getting collected. However, when doing "Test Checks" for Windows, I am encountering this issue:
This is the message output:
Check ran successfully. Output: {"installed_software_with_sam_metering":{"error_msg":"cmd_err: C:/ProgramData/ServiceNow/agent-client-collector/cache/acc-visibility-modules/bin/installed_software_with_sam_metering.rb:36:in read': No such file or directory @ rb_sysopen - C:/ProgramData/ServiceNow/agent-client-collector/cache/acc-visibility-modules/bin/../../config-files/SoftwareNameMapping.json (Errno::ENOENT)\n\tfrom C:/ProgramData/ServiceNow/agent-client-collector/cache/acc-visibility-modules/bin/installed_software_with_sam_metering.rb:36:in <main>'\n","error_backtrace":"C:/ProgramData/ServiceNow/agent-client-collector/cache/acc-f-commons/bin/command_runner.rb:63:in runCmd'\nC:/ProgramData/ServiceNow/agent-client-collector/cache/acc-f-commons/bin/command_runner.rb:9:in runModule'\nC:/ProgramData/ServiceNow/agent-client-collector/cache/acc-f-commons/bin/endpoint_discovery.rb:265:in block in <main>'\nC:/ProgramData/ServiceNow/agent-client-collector/cache/acc-f-commons/bin/endpoint_discovery.rb:253:in each'\nC:/ProgramData/ServiceNow/agent-client-collector/cache/acc-f-commons/bin/endpoint_discovery.rb:253:in `<main>'\n","failed_cmd":"ruby C:\ProgramData\ServiceNow\agent-client-collector\cache\acc-visibility-modules\bin\installed_software_with_sam_metering.rb --parent_cache_dir C:/ProgramData/ServiceNow/agent-client-collector/cache --log_level FATAL"}}
I am currently trying to get permission to access the config file on my ACC device but aside from this method, is there any way to fix this type of issue?
Thanks, and regards!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
7 hours ago
Hi @RusselRoiR,
The error indicates that the Software installations and usage metrics check is failing because it cannot locate the required configuration file SoftwareNameMapping.json
verify
- Confirm that the ACC agent version is supported for your ServiceNow release and that the required ACC capabilities/modules for software inventory and software usage are installed.
- Verify that the SoftwareNameMapping.json file exists under the ACC cache/configuration directory on the endpoint.
- Review the ACC agent logs to check whether the visibility modules and configuration files were downloaded successfully or if there were any synchronization errors.
- If you've recently upgraded ACC or enabled software metering, verify that the required ACC capabilities have been synchronized to the endpoint, then rerun the check.
software inventory and software usage metering rely on the ACC visibility modules and their associated configuration files. If a required configuration file is missing, the check cannot complete successfully.