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

Custom Plugin - which user/access rights are used to execute the plugin on Linux?

koen_derkindere
Participant

When a custom plugin (running a command) is executed, which user / access rights are used by the agent?

I need the number of open files for a specific process, but the user that runs the custom plugin returns 0. I'm assuming due to missing permissions. If I try this directly on the host with the root, I get a specific value.

Any thoughts on how to handle this would be much appreciated.

1 REPLY 1

Julius_Loman
DynaMight Legend
DynaMight Legend

If I remember that correctly, it's executed by the oneagentplugin process. This process runs as the non-privileged user (defaults to dtuser if not specified otherwise at oneagent installation time).

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

Featured Posts