Agent Client Collector Installation - Debian (Linux)

SK Chand Basha
Giga Sage

Agent Client Collector Installation in Ubuntu Linux Distribution

Note: Make sure to run the command without any spaces.

Step 1:
sudo wget https://install.service-
now.com/glide/distribution/builds/package/app-signed/agent-
client-collector-4.3.0-ubuntu-1804_amd64.deb
*********************
After downloading the package, we receive a path that includes
the version number
Note: If you encounter a "Permission denied" error while running
the command, you need to execute it with sudo privileges.
Step 2:
sudo dpkg -i agent-client-collector-<version number>-
<distro>_amd64.deb
Tip: After typing sudo dpkg -i agent, press Tab to auto-complete
the full package file name
Navigate to /etc/servicenow/agent-client-collector
Step 3:
sudo cp -p /etc/servicenow/agent-client-
collector/acc.yml.example /etc/servicenow/agent-client-
collector/acc.yml
***************************
Step 4:
sudo cp -p /etc/servicenow/agent-client-collector/check-allow-
list.json.default /etc/servicenow/agent-client-collector/check-
allow-list.json
***************************
Step 5:
ACC_API_KEY=92f7b21********************
ACC_MID="wss://192.168.**.**:8800/ws/events" bash -c "$(curl -L
https://demodev.service-
now.com/api/sn_agent/agents/install_agent)"
Step 6:
Verify configuration file acc.yml whether the ACC_API_KEY and
backend URL(ACC_MID) is populated correctly.
sudo vi /etc/servicenow/agent-client-collector/acc.yml
Step 7:
Configure the agent to run as a service:
sudo systemctl enable acc
Step 8:
Reload the daemon:
sudo systemctl daemon-reload
Step 9:
Start the acc service:
sudo systemctl start acc
Step 10:
Check the status of the acc service:
systemctl status acc.service
Step 11:
To Verify the logs
cd /var/log/servicenow/agent-client-collector
File is called acc.log
Step 12:
Login to the server where the ServiceNow MID Server is installed
and run the following command to verify whether the agent is
connected:

curl -Lk -H "Authorization: Key
92f7b210******************"
https://192.168.**.***:8800/api/mid/mon

 

Give this a thumbs up if it helped you with a smooth installation!

5 REPLIES 5

imoncada201
Tera Contributor

where do i find the ACC_API_KEY?

Hi @cristian_ga  @imoncada201 

 

1.Navigate to Mid Servers

2. Click on SetUp Acc listener related link

3. Enter 8800 Port Number and click ok

4. A Webscoket end point and API generates for you. 

5. Navigate to Mid webserver API key to view. 

 

I will take a look immediately (thanks my friend)

Hi @cristian_ga @imoncada201 

 

Are you able to find the API key?