/build/static/layout/Breadcrumb_cap_w.png

KACE::Familiarizing Yourself with the 5.1 KBOX Agent on a Mac

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

The 5.1 agent files are located in the '/Library/KBOXAgent/Home/bin/' and '/Library/KBOXAgent/Home/data' directory. These processes are found in the '/Library/KBOXAgent/Home/bin/' :

  • kagentd - KBOX Agent Process 
  • SMMPAgent - KBOX SMMP Process 
  • inventory - create machine.xml 
  • runallkbots - force check in (4.3) 
  • setkbox - change the KBOX host 
  • kagentctl <start|stop|restart|status|hup> 
  • SMMPctl <start|stop>

The '/Library/KBOXAgent/Home/data' contains:

/var/kace/kagentd/

  • KBOX_LOG.txt - log file 
  • kbot_config.yaml - config.xml equivalent (pre 5.0) 
  • kuid.txt - KACE id 
  • kbox_cache - scripts (2 and 3 for now) 
  • packages/ - managed installs (??)

and /var/kace/SMMP/

  • SMMP.conf - SMMP config file 
  • agent.log - SMMP log 
  • pluginPatching.log - patching log
  • patches/ - patch downloads

If the hostname needs to be changed, Follow these steps:

  1. sudo SystemStarter stop KBOXAgent 
  2. sudo /Library/KBOXAgent/Home/bin/setkbox <kboxname>
  3. sudo SystemStarter stop KBOXAgent

If debug needs to be enabled, Follow these steps:

  1. sudo touch /var/kace/kagentd/debug_agent.tag 
  2. sudo SystemStarter stop KBOXAgent
  3. Debug_agent.log will be created and used for debug logging. 
  4. AMP: 
  5. /var/kace/SMMP/SMMP.conf - add a line: debug=true 
  6. sudo SystemStarter start KBOXAgent
  7. Agent.log will be used for debug logging

Use this script to install the 5.1 agent to a Macintosh:

/usr/sbin/installer -pkg "KBOX Agent.pkg" -target / &&
/Library/KBOXAgent/Home/bin/kagentctl stop &&
/Library/KBOXAgent/Home/bin/SMMPctl stop &&
/Library/KBOXAgent/Home/bin/setkbox kbox.corp.kace.com &&
/Library/KBOXAgent/Home/bin/setssl 0

To remove the 5.1 agent installed on a Macintosh, follow these steps:

sudo SystemStarter stop KBOXAgent
sudo rm -fr /var/kace/ /Library/KBOXAgent/ /Library/StartupItems/KBOXAgent/ "/Library/Receipts/KBOX Agent.pkg"


Comments

  • Good information and thank you. - KACE_Tammy 12 years ago
This post is locked

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ