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

Custom Plugin - Which user/acces rights are used to execute the plugin on Linux?

koen_derkindere
Newcomer

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
Leader

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).

TEMPEST a.s., Slovakia, Dynatrace Master Partner