# OneAgent filesystem monitoring in Linux hosts

**URL:** <https://community.dynatrace.com/t/oneagent-filesystem-monitoring-in-linux-hosts/20129>\
**Category:** Open Q&A\
**Tags:** oneagent\
**Created:** [August 26, 2020, 7:06am UTC](https://community.dynatrace.com/t/oneagent-filesystem-monitoring-in-linux-hosts/20129 "2020-08-26T07:06:04Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![brenidie](https://avatars.discourse-cdn.com/v4/letter/b/779978/32.png) [@brenidie](https://community.dynatrace.com/u/brenidie)\
**Post date:** [August 26, 2020, 7:06am UTC](https://community.dynatrace.com/t/oneagent-filesystem-monitoring-in-linux-hosts/20129/1 "2020-08-26T07:06:04Z")

</div>

Can anyone share a link where can I customize **filesystem** monitoring in **Dynatrace** , if it is possible. Example for in Linux, I have **/appl/\*** directory with multiple sub directory and I wanted to have this **/appl/application\_dir** specific folder to be monitored. Will this be possible?

---

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [August 26, 2020, 8:24am UTC](https://community.dynatrace.com/t/oneagent-filesystem-monitoring-in-linux-hosts/20129/2 "2020-08-26T08:24:27Z")

</div>

This is not possible at the moment, that I know of. You coukld eventually do it with a Dynatrace OneAgent extension.

---

<div class="post-metadata">

**Author:** ![brenidie](https://avatars.discourse-cdn.com/v4/letter/b/779978/32.png) [@brenidie](https://community.dynatrace.com/u/brenidie)\
**Post date:** [August 26, 2020, 9:22am UTC](https://community.dynatrace.com/t/oneagent-filesystem-monitoring-in-linux-hosts/20129/3 "2020-08-26T09:22:17Z")

</div>

Thank you, Antonio. It clears out the question on my end.

---

<div class="post-metadata">

**Author:** ![fstekelenburg](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/fstekelenburg/32/22029_2.png) [@fstekelenburg](https://community.dynatrace.com/u/fstekelenburg)\
**Post date:** [July 25, 2023, 11:07am UTC](https://community.dynatrace.com/t/oneagent-filesystem-monitoring-in-linux-hosts/20129/4 "2023-07-25T11:07:06Z")

</div>

Nowadays this can be done through the (OneAgent) Filesystem monitoring extension.  
See it in the Dynatrace Hub:&nbsp;[Filesystem monitoring | Dynatrace Hub](https://www.dynatrace.com/hub/detail/filesystem-monitoring-extension-v2/)

---

<div class="post-metadata">

**Author:** ![sknowlton](https://avatars.discourse-cdn.com/v4/letter/s/49beb7/32.png) [@sknowlton](https://community.dynatrace.com/u/sknowlton)\
**Post date:** [November 23, 2023, 8:23pm UTC](https://community.dynatrace.com/t/oneagent-filesystem-monitoring-in-linux-hosts/20129/5 "2023-11-23T20:23:19Z")

</div>

Is there a reason that the dtuser would require execute permission?

---

<div class="post-metadata">

**Author:** ![radek\_jasinski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radek_jasinski/32/10432_2.png) [@radek\_jasinski](https://community.dynatrace.com/u/radek_jasinski)\
**Post date:** [November 23, 2023, 10:34pm UTC](https://community.dynatrace.com/t/oneagent-filesystem-monitoring-in-linux-hosts/20129/6 "2023-11-23T22:34:28Z")

</div>

Hi [@sknowlton](https://community.dynatrace.com/user/52473)

If I’m not wrong the dtuser account created during Dynatrace OneAgent installation is intended for launching unprivileged processes within Dynatrace. It’s specifically designed with limited capabilities and is not meant for general use or for executing operational commands.

Regarding the requirement for execute permissions, particularly for running commands like starting or stopping the OneAgent, these actions must be performed as the root user. This is a standard practice for services installed on Linux systems, as managing system services typically requires root privileges. Therefore, the dtuser does not require execute permission for these operations, and it’s advised not to use dtuser for purposes other than what it’s intended for by Dynatrace.

Radek

---

<div class="post-metadata">

**Author:** ![sknowlton](https://avatars.discourse-cdn.com/v4/letter/s/49beb7/32.png) [@sknowlton](https://community.dynatrace.com/u/sknowlton)\
**Post date:** [November 23, 2023, 11:13pm UTC](https://community.dynatrace.com/t/oneagent-filesystem-monitoring-in-linux-hosts/20129/7 "2023-11-23T23:13:54Z")

</div>

Hi Radek,

We are talking about the&nbsp;[Filesystem monitoring](https://www.dynatrace.com/hub/detail/filesystem-monitoring-extension-v2/)&nbsp;OneAgent extension.

The only documented requirement is to give the Dynatrace account (dtuser) permission to access the folders being monitored.

Just providing read permission did not provide any metric data.&nbsp; Providing execute permission makes this extension work nicely for the given folder.

Unfortunately, the user and group that own the folder are in IDM, whereas dtuser is a local account.&nbsp; So, we can’t add dtuser to the owner group.&nbsp; We can’t give execute permission to “everyone”.

Why should the account require execute permission?

---

<div class="post-metadata">

**Author:** ![sknowlton](https://avatars.discourse-cdn.com/v4/letter/s/49beb7/32.png) [@sknowlton](https://community.dynatrace.com/u/sknowlton)\
**Post date:** [November 27, 2023, 9:39pm UTC](https://community.dynatrace.com/t/oneagent-filesystem-monitoring-in-linux-hosts/20129/8 "2023-11-27T21:39:24Z")

</div>

It seems that the execute permission is normal for directory listing and access to file metadata.

This should be included in the Filesystem Monitoring extension documentation.
