/bundles/itninjaweb/img/Breadcrumb_cap_w.png

Blog Posts tagged with Dell K1000 Agent

Ask a question

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

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. 127.0.0.1 - 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\
Support/Dell/KACE/data/amp.conf
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/
Be the first to comment

KACE::Processes That Use Admin Usernames and passwords

Summary:  A list of processes that use admin usernames and passwords: 

  1. Scripting
  1. Provisioning schedules
  1. Replication
  1. File synchronization
  2. User authentication (LDAP)
  3. Proxy settings
  4. LDAP labels

 

Be the first to comment

KACE :Provisioning stuck in "Not Started" or "Running"

 

Summary:  What to do if you provisioning is stuck in "Not Started" or "Running" and never finishes.

 

To confirm this is the problem, you can go to Settings > Support > Troubleshooting Tools.

Click Edit Mode, then in the drop down box that says "Ping" under  Network Utilities, select Top, then click the Test button.

You should see a process called something like "kbrsl.7.0=amd64" several times, and WCPU is at 100%.

 

 

If this is the case, follow the below steps:

 

 

  1. Delete all the currently running configurations by either:
    1. Deleting the entire configuration itself.
    2. Deleting just the systems that are running by going to Provisioned Configurations > number of systems under respective column > Select all checkbox > Choose Action Dropdown > Delete Selected Items.

 

 

Note: 5.2 and up KBOX Agent is renamed K1000 Agent

 

 

 

2.  Reboot the KBOX.

 

What this does is stop any configuration that's trying to run, and rebooting essentially restarts the provisioning service.

Once the reboot is complete, try and provision your system again.

 

Be the first to comment

KACE:: Disabling KBOX Agent Splash Screen

Summary:  How to disable the Agent splash screen: 

Change

 

Hklm\software\kace !disablebootupsplash

to

 

0x00000001

 

"" disable login splash

 

 

View comments (3)

K1000 - Custom KBScriptRunner for 5.3

I've written an AutoIT script to force an inventory check-in (runkbot 4 0) and FS/MI processing (runkbot 6 0). The program outputs console text to custom logs (kbs_inventory.log and kbs_mi.log) in the install directory. I've added a splash screen as well, so you can tell what the script is doing (don't have to guess when it's done or look at processes).

Simply place the compiled EXE from my source code (both attached) in the Dell KACE Agent install directory, and run it under an account with local administrator rights (use RunAs if you're trying to run it under a restricted user account).

Enjoy!

 

#NoTrayIcon

;========================================================

; AutoIt version of Dell KACE KBScriptRunner.exe

;

; Written by: Andy Flesner - Systems Architect

; Original: February 20, 2012

; Last Updated: February 20, 2012

;========================================================

#Include <File.au3>

 

Global $programfiles = "C:\Program Files", $errlog = $programfiles & "\Dell\KACE\KBScriptRunner_error.log"


; Determine architecture

If @OSArch = "X64" Then

$programfiles = "C:\Program Files (x86)"

EndIf

 

; Force Dell KACE Agent Inventory

SplashTextOn("KBScriptRunner","Forcing Dell KACE Agent Inventory...",400,50)

RunWait(@ComSpec & ' /c "' & $programfiles & '\Dell\KACE\runkbot.exe" 4 0 > kbs_inventory.log',$programfiles & "\Dell\KACE",@SW_HIDE)

SplashTextOn("KBScriptRunner","Forcing Dell KACE Agent FS/MI Processing...",400,50)

RunWait(@ComSpec & ' /c "' & $programfiles & '\Dell\KACE\runkbot.exe" 6 0 > kbs_mi.log',$programfiles & "\Dell\KACE",@SW_HIDE)

SplashTextOn("KBScriptRunner","KBScriptRunner complete.",400,50)

Sleep(5000)

SplashOff()

 


Source - KBScriptRunner.au3

Compiled - KBScriptRunner.exe

Be the first to comment
Showing 1 - 5 of 23 results

Top Contributors

Talk About Kace AppDeploy Repackager