cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

User parameter for OneAgent installation

MAkimov
Mentor

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?


11 REPLIES 11

skrystosik
DynaMight Guru
DynaMight Guru

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.

https://www.dynatrace.com/support/help/shortlink/windows-custom-installation#how-to-perform-a-silent...

Sebastian


Regards, Sebastian

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


You have use no_create option and than you will be able to add your own user in configuration.

Sebastian


Regards, Sebastian

Could you please say how to do it?

In doc is written

  • Note that using USER=no_createdisables Dynatrace OneAgent plugins functionality.

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


Regards, Sebastian

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

  • Note that using USER=no_createdisables Dynatrace OneAgent plugins functionality.

but I need the plugin to work



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.


Regards, Sebastian

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

  • Note that using USER=no_createdisables Dynatrace OneAgent plugins functionality.



The user cannot be customized, you can choose to either:

  • Use default user: dtuser
  • Do not create the user, what means that Plugins will be disabled

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?


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.


Featured Posts