Ich würde die K1000 und K2000 Appliances als Altiris auf Steroiden beschreiben. Wir konnten alles, was wir brauchten, mit Altiris machen, aber dies war so viel einfacher.
Kevin George, Advanced BioHealing

How to enable debug logs on the KACE K1000 Client

Title How to enable debug logging on the Kace K1000 client deployment
Description In addition to the standard logging, there are some additional debug logs that can be enabled on a K1000 client machine.
Resolution

Agent Version 5.4

Amp.conf/log file locations:   

  • For XP: c:\documents and settings\all users\dell\kace
  • For Windows 7:  c:\programdata\dell\kace\
  • For Mac OS X: /Library/Application\ Support/Dell/KACE/data
  • For Ubuntu/SLES/RHEL: /var/dell/kace

Windows

Same as version 5.3

Mac OSX

Method 1: If the agent is not connecting to the kbox

  1. In Terminal, navigate to /Library/Application\ Support/Dell/KACE/data.
  2. Edit the amp.conf file: 
    1. sudo nano /Library/Application\ Support/Dell/KACE/data/amp.conf Add debug=true at the bottom of the file. 
    2. Press ctrl+X.
    3. Press Y to save changes.
    4. Enter to save file as amp.conf.
  3. Restart the service with:
    1. sudo /Library/Application\ Support/Dell/KACE/bin/AMPCtl stop
    2. sudo /Library/Application\ Support/Dell/KACE/bin/AMPCtl start

The log files at /Library/Application\ Support/Dell/KACE/data will now have debug info.

OR

  1. In Terminal, navigate to /Library/Application\ Support/Dell/KACE/bin
  2. Execute the AMPTools program:
    1. sudo ./AMPTools debug=true

The log files at /Library/Application\ Support/Dell/KACE/data will now have debug info.

 

Method 2: If the agent connecting to the kbox

  1. Click Scripting > Run Now, search for script called K1000 Agent Debug Log Enable (Mac).
  2. Select the specific machines as a target.
  3. Click Run Now.

Agent Version 5.3

Windows 
 
In 5.3 agents (and up) enabling debugging is much easier. Here are the steps:  

Amp.conf/log file locations: 
 

  • For XP: c:\documents and settings\all users\dell\kace
  • For Windows 7:  c:\programdata\dell\kace\
  • For Mac OS X: /Library/Application\ Support/Dell/KACE/data

Method 1: If the agent is not connecting to the kbox

  1. Open an administrative command prompt to c:\program files\dell\kace (note:32bit program files).
  2. Run amptools.exe debug=true.

OR 
 

  1. Stop the Dell Kace Agent service.
  2. Edit the amp.conf and add a line for debug=true.
  3. Start the service again.

 Method 2: If the agent connecting to the kbox

  1. Click Scripting > Run Now, search for script called K1000 Agent Debug Log Enable (Mac).
  2. Select the specific machines as a target.
  3. Click Run Now

Gather the following files and add to a zip (example: computer1_2012-08-13.zip):  

  • amp.conf
  • amp.log
  • amp1.log
  • ampinstaller.log
  • KBOT_LOG.txt
  • kcopy.log
  • kinventory.log
  • kUserALert.log
  • pluginWeb.log
  • pluginDesktopAlerts.log
  • pluginRunProcess.log
  • pluginPatching.log
  • runkbot.log
  • inventory.xml

Mac OSX

  1. In Terminal, navigate to /Library/Application\ Support/Dell/KACE/data.
  2. Edit the amp.conf file: 
    1. sudo nano /Library/Application\ Support/Dell/KACE/data/amp.conf Add debug=true at the bottom of the file. 
    2. Press ctrl+X.
    3. Press Y to save changes.
    4. Enter to save file as amp.conf.
  3. Restart the service with:
    1. sudo /Library/Application\ Support/Dell/KACE/bin/AMPCtl stop
    2. sudo /Library/Application\ Support/Dell/KACE/bin/AMPCtl start   

The log files at /Library/Application\ Support/Dell/KACE/data will now have debug info 
 


Agent Version 5.1

Amp.conf/log file locations 
 

  • For XP and Win7: c:\Program Files\Kace\Kbox
  • For Mac OSX: /var/kace/SMMP

 
The following applies to 5.1.31311 agents (and up).  

Windows

Method 1: If the agent is not connecting to the kbox via amp

  1. Open a command prompt to c:\program files\dell\kace (note:32bit program files) and run:
    1. ampreset.exe debug=true  

OR 
 

  1. Stop the Dell Kace Agent service.
  2. Edit the amp.conf located in c:\programdata\dell\kace and add a line for debug=true.
  3. Start the service again.

Method 2: If the agent connecting to the kbox

  1. Under Scripting > Run Now, search for script called K1000 Agent Debug Log Enable (Windows).
  2. Select the specific machines as a target.
  3. Click Run Now.

 
Mac OSX 

Method 1: If the agent is not connecting to the kbox via amp 

  1. Edit the amp.conf file: 
    1. sudo nano /var/kace/SMMP/SMMP.conf.
    2. Add debug=true at the bottom of the file. 
    3. Press ctrl+X.
    4. Press Y to save changes.
    5. Enter to save file as SMMP.conf. 
  2. Restart the service
    1. sudo /Library/KBOXAgent/Home/bin/SMMPctl stop
    2. sudo /Library/KBOXAgent/Home/bin/SMMPctl start 
  3. Force and inventory:   
    1. sudo ./runkbot 2 0 
      OR
    2. sudo /Library/KBOXAgent/Home/bin/runkbot 2 0

Method 2: If the agent connecting to the kbox

  1. Under Scripting > Run Now, search for script called K1000 Agent Debug Log Enable (Mac).
  2. Select the specific machines as a target.
  3. Click Run Now.