16 Apr 2018 05:56 AM - last edited on 19 May 2023 12: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.
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).