Agent Client Collector Discovery

OMT
Giga Guru

Hello,
We currently use Horizontal IP-based discovery to discover our IT infrastructure.
We are currently planning to use an agent client collector(ACC) for discovering our Windows servers because, due to hardening of Windows, we will no longer be able to use horizontal discovery (authentification topic).

We successfully installed the agent on one server and communication with the mid-server was successful.
The open questions I have are:

1. Is it possible to schedule agent discovery like in Horizontal and how?
2. Where can we see the status of agent discovery?

3. I saw that on the host machine where the agent is installed, I cannot find acc.yml, only acc.yml.example (but I can download it from the platform).

4. I also noticed that there are no acc.log files on the host machine, why and where to find?.

5. Does anyone know the best way to use agents on cca 2500 servers and different network ranges? Should we analyse which agent is on which network and then use a different mid server for each network to communicate with those agents and bring data to the platform?

Thanks in advance, 
Br, Tahir

3 ACCEPTED SOLUTIONS

SK Chand Basha
Tera Sage

Hi @OMT 

  1. Yes, it is possible to schedule discovery using ACC similar to Horizontal Discovery.
    There is a scheduled job called “Refresh host data for Agents” which runs periodically (by default every 1 hour). Additionally, different ACC policies can be configured with different collection intervals depending on your requirements.

  2. You can check the agent discovery status from:

  • All → Agent Client Collector → Agents
    Here you can see all installed agents, their status, and the MID Server used for communication.

  • All → Agent Client Collector → Agent Health Dashboard
    This provides overall agent health and communication status.

  1. The file acc.yml is available on the server itself, but the location is hidden by default.
    Navigate to:

C:\ProgramData\ServiceNow\Agent\Config

Make sure Hidden Items are enabled in Windows Explorer because the folder is programdata hidden by default.

  1. ACC logs are available under the logs directory on the host machine.
    You can find them here:

C:\ProgramData\ServiceNow\Agent\Logs

If you do not see logs immediately, verify that the ACC service is running successfully.

  1. For around 2500 servers across different network ranges, the best approach is usually:

  • Use deployment tools such as Microsoft Intune, SCCM, or other third-party deployment tools to deploy ACC agents in bulk.

  • Use multiple MID Servers strategically based on network segmentation, firewall rules

  • Assign agents to the nearest/relevant MID Server for better scalability and communication efficiency.

 

View solution in original post

thomasbueck
Giga Contributor

@OMT 
Open one of the ootb policies and switch to the tab "scheduling"  tick "Cron-based scheduling" and you can use cron based scheduling at policy level, by this you can decide when it should run and at which day. You can easily find posts and videos which explains how to set them up.

View solution in original post

thomasbueck
Giga Contributor

Activate the plugin "Agent Client Collector for Visibility Content" - it's included in Discovery License

View solution in original post

7 REPLIES 7

Hi Thomas,

After installing ACC VC, I found the policies — thanks!
Do you know how we can find 'Discovery Status'? Does ACC support something like the Discovery Status in IP-based, where we can see which patterns have been started and what the Discovery Status is?

Br

thomasbueck
Giga Contributor

Activate the plugin "Agent Client Collector for Visibility Content" - it's included in Discovery License

thomasbueck
Giga Contributor

@OMT You have the policies and the checks listed as related list in the agent view.
You have also a form action with which you can see the latest ecc queue records from this agent.
Sometimes the "Created today" filter does not work and you need to remove this condition.
Be aware that sometimes the results of several agents can be combined in one ecc queue entry.
I can't give you more details as we don't use ACC anymore.