06 Feb 2020 10:45 PM
Hello,
I have experienced an app server which uses a custom driver to mount a disk to the host. When you use `df -h`, you can see the mount, but Dynatrace does not show it in the detected disks. Is there any documentation around which disks Dynatrace lists in the host overview that may elude to why this isn't showing?
Thanks!
Solved! Go to Solution.
06 Feb 2020 10:54 PM - last edited on 29 May 2023 10:26 AM by MaciejNeumann
I'm grabbing a screenshot of df -h on the host, but the affected host is https://xxxxxx.live.dynatrace.com/#newhosts/hostdetails;id=HOST-219ADB8AE09125ED;dd=DISK;tab=TROUGHPUT;gtf=l_72_HOURS in Dynatrace SaaS.
07 Feb 2020 02:27 AM
I suppose this is all related to disks that is in documentation:
https://www.dynatrace.com/support/help/shortlink/host-measures#disk-health
We’ve seen such situation as well (sometimes disks where detected, but not all metrics were collected properly)
Sebastian
07 Feb 2020 02:30 AM
Hey Sebastian, thank you for the response!
What do you mean it’s related - I don’t see anything on that page about how we capture the metrics, just which metrics are collected.
07 Feb 2020 05:02 AM
Related to disk topic. There is nothing more
07 Feb 2020 07:38 PM
Here is a part of the df -h which includes the missing mount points:
/***/ref-fs/***
479T 83T 396T 18% /***/gridA
/***/***-fs
55T 16T 39T 29% /***/gridB
Also, they can be found in the /etc/fstab and /etc/mtab
/***/ref-fs/***/***/gridA omfs rw,username=***,password=XXXXXXX 0 2
/***/***-fs /***/gridB omfs rw,username=***,password=XXXXXXXXXX 0 2
11 Feb 2020 04:43 PM
Hello,
There are some file-system types that Dynatrace might not normally monitor, I'd suggest opening up a ticket with support to see if your file-system type falls within that category. Also I'm not sure if your directory is autofs mounted, but if it is one test you could try is to access the mount directly and see if that causes it to appear within the Dynatrace UI. Another test would be the following:
1) Access the effected host
2) Run df -k -a
3) Run echo $? to check the result code of the previous command
The echo command should return a value of 0 to indicate it ran without errors. If it returns with a value of 1 this could be an indicator that there is a problem, such as a stale file handler, that could be preventing the disk from appearing within the Dynatrace UI that needs to be taken care of.
Hope this helps!
12 Feb 2020 02:16 PM
Thank you, Justin! I'll work with my customer and see if that does the trick!
13 Feb 2020 07:02 PM
I did not accept this as the answer - someone else must've.
The customer ran the command and the return code was 0. But, the disk still isn't appearing. I will recommend them a support case to dig into this further. Thanks!
df -k -a && echo "return code was : $?"
/***/ref-fs/***
513569159928 101099555360 412469604568 20% /***/gridA
/***/***-fs
58336290184 16702970784 41633319400 29% /***/gridB
return code was : 0
22 Dec 2022 02:32 AM
I've run into this same issue, has anyone worked out a solution to this yet? 😮