15 Oct 2019 12:34 PM
Hello
I tried to install OneAgent on Windows host with User parameter.
I added parameter to bat file and start installation but have error - the value provided for USER parameter is incorrect
Could someone please tell what is the problem?
Solved! Go to Solution.
15 Oct 2019 01:28 PM
Hello,
According to documentation you cannot pass this argument the way you've done it. Availabile options ar no_create od dtuser. This settings is only supported for msi command-line installer. So you have to convert your exe to msi.
Sebastian
15 Oct 2019 02:05 PM
Hello @sebastian k.
Thanks for the information, then tell me how to solve the problem correctly.
I need to create a plugin for collecting additional metrics with Active Directory.
We made OneAgent plugin for this task. It is work good.
However, upon testing, they noticed that after restarting the service, the OneAgent plugin stops working.
In the logs a message that the plugin cannot log in.
probably because, that is the host for the directory service, the agent somehow not properly use his account
15 Oct 2019 05:02 PM
You have use no_create option and than you will be able to add your own user in configuration.
Sebastian
15 Oct 2019 05:41 PM
Could you please say how to do it?
In doc is written
USER=no_create
disables Dynatrace OneAgent plugins functionality.15 Oct 2019 05:49 PM
Ok sorry, my bad, you can pass your own username using user parameter, but you have to do it on MSI installer, not exe one. As I see here on screenshot you ware using GUI to install agent, you should use commandline (according to doc).
Sebastian
15 Oct 2019 06:13 PM
I used Bat file (not GUI), simple it will be without parameter silent installation
I can install with USER=no_create
But In doc is written
USER=no_create
disables Dynatrace OneAgent plugins functionality.but I need the plugin to work
15 Oct 2019 08:00 PM
On screen there is no silent installation I see installer. You have to create msi from exe and use commandline then. And as I said, you have to pass user here different than default because as you said, no_create will disable plugins.
16 Oct 2019 08:00 AM
Hello @sebastian k.
you said that I must have use no_create option
Ok, I do not have problems whit it. I can install with whis parameter.
Next you said than you will be able to add your own user in configuration
I do not quite understand how to do it right. Could you tell how to do it right?
I need to have my working plugin.
But In doc is written
USER=no_create
disables Dynatrace OneAgent plugins functionality.16 Oct 2019 08:26 AM
The user cannot be customized, you can choose to either:
16 Oct 2019 08:34 AM
Ok, Thank you @Tomasz G.
Сould you please tell me, in other words, I cannot use the OneAgent plugin to collect metrics from Active Direcroty since dtuser will propagation of across the domain, which can cause interference with existing dtuser accounts on hosts that have Dynatrace installed?
16 Oct 2019 10:22 AM - last edited on 16 Oct 2023 03:37 PM by random_user
Yes, that is correct.
There is already a Product Idea to improve it https://community.dynatrace.com/idea/198583/dtuser-domain-controller-support-ad-current-only-l.html
Feel free to share your feedback there.