16 Apr 2018 01:56 PM - last edited on 19 May 2023 08:08 AM by Michal_Gebacki
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.
Solved! Go to Solution.
17 Apr 2018 11:28 AM
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).