- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2023 11:59 PM
Hello folks,
Can anyone provide me step by step configuration of agent client collector on MAC devices.
Any quick help is appreciated.
Thanks,
Pranita Bahuguni
Solved! Go to Solution.
- Labels:
-
Discovery

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2023 12:21 AM
Hi @Pranita2 ,
Below are the various ways to install :
Install Agent Client Collector on a system that uses macOS. You can either use a single-line command script or follow a manual installation procedure if the agent is not connected to the instance or you want enhanced customization options.
_servicenow ALL= SETENV: /Library/Caches/servicenow/agent-client-collector/osquery/bin/osqueryi *, /usr/sbin/lsof
Defaults:_servicenow !requiretty
Defaults exempt_group += _servicenow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2023 06:53 AM
Are we sure this is correct? When trying to sudoers file with visudo I get:-
sudo visudo /etc/sudoers.d/01_servicenow
/etc/sudoers.d/01_servicenow:3:26: invalid operator "+=" for "exempt_group"
If you just save it anyway you get this when running any sudo commands:-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2023 02:20 PM
For this to work, I had to use this sudoers file entry:
_servicenow ALL= SETENV: /Library/Caches/servicenow/agent-client-collector/osquery/bin/osqueryi *, /usr/sbin/lsof, /usr/sbin/system_profiler
Defaults:_servicenow !requiretty
Defaults exempt_group += _servicenow
Hope this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2025 06:02 AM
Hi @Pranita2
Could you please share single line command you have used for acc installation on mac, I am using below command but its giving error.
ACC_API_KEY=<api_key> ACC_MID=wss://<mid_ip>:<websocket_port>/ws/events bash -c "$(curl -L https://<instance URL>/api/sn_agent/agents/install_agent)"