amp.conf Getting wiped?
Answers (10)
Workaround create a windows task by using k1000 scripting feature and have this run on all of the machine. Of course you'll have to bring the "dead agents" back online for this to work. But once you have this taken care of, you won't run into this issue in feature. Again this is a work around not fix.
Top Answer
Comments:
-
I too noticed that agents were attempting to connect to kbox even though the agent was originally pushed with the correct host name. I used your CNAME fix yesterday and >100 machines started communicating with my K1000 again. Thanks for the tip. Hopefully this gets fixed in a future release. - LHYardi 7 years ago
-
Best tip for K1000 so far! - jpankey 6 years ago
-
Finally was able to get the dns record in, and its starting to rectify PCs. Thanks very much for the tip.
What log did you see this in though? - Ouytree 6 years ago-
It's been awhile tbh, but I believe I found it in the konea.log in windows generally located C:\ProgramData\Dell\KACE - b.adams 6 years ago
HOWEVER no one has ever been able to reliably reproducethe issue and engineering is convinced that the behavior is not caused by theappliance but rather by AV solutions / firewall / proxy or simliar in certainenvironments.
A workaround, which is supposed to avoid this behavior,is planned to be implemented in the 9.0 Version of the appliance (current ETAis August 2018).
In the meantime, what you could try is something likecreate an offline script which re-sets the hostname in certain intervalls (for exampleonce per week).
For devices that are already disconnected / have an emptyamp.conf we need to replace the affected amp.conf with a working one andrestart the agent or run "amptools.exe -resetconf host=your_fqdn" inthe agent binary folder on the affected devices.
You could use psexec (as explained here: https://support.quest.com/kb/127898) or a gpo for this.
Comments:
-
Have Dell, now Quest, said anything about this? Because while it is easy to copy over a working config and restart the services, it can get very hectic with laptops etc and multiple offices around the world. It gives off a lot of false positives. - Ouytree 7 years ago
-
Without being able to replicate the issue I never entered a ticket to have them look into it. - chucksteel 7 years ago
-
Hi Chuck, We've been experiencing the same issue. Kace K1000 appliance having issue with Kace agent not reporting to appliance. When looking into the issue, the amp.conf file either goes blank or is deleted and the device stops communicating with the Kace appliance. We've uninstalled and reinstalled the agent and have noticed the issue come back on some of the same devices. We're on version 7.1.62, upgrading from previous version did not resolve the issue. We have a Dell environment with the exception of some Surface Pros and Panasonic ToughPads. Issue happens on all of the various devices. We currently have a case open with Quest Support. - MikeZ 7 years ago
Comments:
-
Hi Beth, would you be willing to share the commands/syntax you used to check the amp.conf file for the host name? Is this something that can be done via command line or powershell? I'm not sure if you'll see this because your comment is 6 months old, but I would appreciate it a ton! Thanks! - gnarliesheen 6 years ago
-
I was able to figure this out.
In case this helps anyone out, here is the batch file I came up with:
CD C:\programdata\dell\kace
findstr /c:"host=yourhostname" amp.conf
IF ERRORLEVEL 1 (
"C:\Program Files\dell\kace\AMPTools.exe" -resetconf host=yourhostname
"C:\Program Files (x86)\dell\kace\AMPTools.exe" -resetconf host=yourhostname
"C:\Program Files\Dell\Kace\runkbot.exe" 4 0
"C:\Program Files (x86)\dell\kace\runkbot.exe" 4 0
)
This works on both 32 bit and 64 bit machines.
*Don't forget to replace "yourhostname" with the host name of your kbox. i.e. k1000.companyname.com - gnarliesheen 6 years ago-
This is close to mine, Sorry, I am at KACE UserKon 2018 and it WAS AMAZING! I actually talked about this with the Quest guys and shared what I had. Just a quick note, when you upgrade your SMA to the newer version the Dell folder will be recreated as Quest, so you will need to update this. I also learned when the updated agent checks in it will run an inventory automatically, so if you keep the runkbot 4 0 command it will run it twice. If you have a large number of agents, it may have a performance hit on your SMA so there is no need for it. You can safely remove it. - Bethski 6 years ago
We are currently investigating this issue. Not all customers are facing it (which would've been easier, so we can find the root cause) It seems to happen in some environments.
No settings or programming within the Kace Agent, are established to reset or reconfigure the amp.conf file. So I was wondering, could anyone help to check AV logs, Firewall, or in case those agents are remote, review load balancer or Proxy?
FYI renaming host, is the fastest way to get around this situation in meantime the investigation completes
Use the “Amptools.exe resetconf host=x.x.x.x” in order to rename host on client machines.
The AMPTOOLS command can be found in one of the following Windows-based locations and must be performed in an elevated (Run as Administrator) command prompt:
On 32-bit systems: C:\Program Files\Dell\KACE\
On 64-bit systems: C:\Program Files (x86)\Dell\KACE\
I opened case today, as we have recently noticed this issue still occurring. We are on 7.2 of the server and 7.2 of the agent. But some PCs still on 7.1 agent also have had this issue.
It can't be AV as Symantec would delete the file not empty the file.
And in the past the agent used to have 2 paths back to the server the URL name as well as the server's IP to ensure communication would not be so easily broken. But I don''t see that any longer in the flle.
We see this on WIN 7 32 and 64 and WIN 10 64.
And while you could run the amptools fix what if you can't remote to a system in the field?
Comments:
-
I would say this is one of the top 3 issues I have seen here in ITNinja in terms of complexity...
Being honest, it is very hard to reproduce, and like other users said, this might happen to each PC from 0 to 2 times per year (at least on my environment).....
It has been improved with latest versions (I would say from 0 to 1 time per year), but like the author of the post says, the issue have been around since 6.0 versions.
Support confirmed there are no routines or modules on the code to clear amp.conf . That means something bad happens and cleans that out...
Maybe is something simple, but it doesn't happen very often and it will not leave any clues or logs pointing to the reason why.
Please post here your results from support if you have any new Data\Findings.
(in my case I have a GPO policy that will replace the file every three months, with one that is fully populated, maybe that is why I don't see that often).
(we also have a folder in Documents inside the golden Image with a bunch of BAT files for users, one of them will generate an AMP.conf file, users just have to double click the BAT file, and it will generate a brand new populated amp.conf file).
Again it doesn't happen very often, the last time one user our of many, had use the BAT file was on June 4th according to our helpdesk. - Channeler 7 years ago
No settings or programming within the Kace Agent, are established to reset or reconfigure the amp.conf file. So I was wondering, could anyone help to check AV logs, Firewall, or incase those agents are remote, review load balancer or Proxy? - greivin.venegas.molina@software.dell.com 7 years ago
And so far Dell Threat Defense also hasnt had a negative impact on KACE.
From what I can tell it seems to happen every 4-6 months it just decides to wipe some peoples config files, but I cant see anything in the kace user logs that show the agent getting wiped. Not to mention its not something you realize until a few weeks of it not checking in. - Ouytree 7 years ago
I haven't seen it in 8.0, yet.... ? (I asked two months ago if anyone with 8.0 and 8.0 agents is experiencing the same thing).
Now I always see it affecting 1,2 or 3 machines the most, out of 1000, so I guess is not an easy one....
If you are getting a good number of devices affected by this then better troubleshoot with support.
But yeah it's random, and it should not happen. - Channeler 6 years ago