Where to find the Mac agent if you are currently running Agent 5.3

'/Library/Application Support/Dell/KACE' will contain both the /bin and /data directories.  The applications are found in '/bin' while the logs are located in '/data'. The SMMP.conf file has been renamed to AMP.conf.

Applications listed in the bin directory:

  • AMPAgent
  • AMPctl
  • Inventory
  • kagentlogonscript
  • kagentbootupscript
  • kagentctl
  • kpatch
  • KUserAlert
  • MacInventoryU
  • pluginDesktopAlerts.so
  • pluginRunProcess.so
  • PluginWeb.so
  • runkbot

Items found in the Data directory:

  • amp.conf
  • amp.log
  • default_config.yaml
  • kbot_service.wsdl
  • kbots_cache
  • KLocalExecutionState.dat
  • kuid.txt
  • packages

Debug logs will display in the /data directory when enabled.  To enable debug, Follow these steps:

  1. sudo /Library/Application\ Support/Dell/KACE/bin/AMPctl stop
  2. Edit the Amp.conf file found in /Library/Application\ Support/Dell/KACE/data and add a new line at the bottom with debug=true (all lowercase).
  3. sudo /Library/Application\ Support/Dell/KACE/bin/AMPctl start

To edit the hosts file:

  1. Open Terminal.app found in /Applications/Utilities
  2. Type sudo nano /private/etc/hosts
  3. Type your user password when prompted.
  4. The hosts file contains some comments (lines starting with the # symbol), as well as some default hostname mappings (e.g. - localhost). Type in your new mapping IP address underneath the default ones or edit one of the default values if you know what you are doing.
  5. When done editing the hosts file, press control-o to save the file.
  6. Press enter on the filename prompt, and control-x to exit the editor.
  7. For the changes to take an immediate affect, flush the DNS cache by 'dscacheutil -flushcache'

To install the 5.3 agent by script:

hdiutil attach ./ampagent-5.3.53053-all.dmg
mkdir -p /Library/Application\ Support/Dell/KACE/data
echo host=KBOX.kace.com > /Library/Application\
sudo installer -pkg '/Volumes/Dell KACE/AMPAgent.pkg' -target /
hdiutil detach '/Volumes/Dell KACE'

To manually remove the 5.3 agent:

  1. sudo /etc/rc.d/init.d/AMPctl stop
  2. sudo rpm -e ampagent
  3. rm -rf /var/dell/kace/