How to configure Metricbeat to collect filesystem data for NFS mount?


(Rick Liu) #1

OS: Ubutnu 14.04.5
Version: Metricbeat 6.3.0

After starting Metricbeat at one of the node with NFS mount point,
the data post to elasticsearch contains only the devices of
"/dev/mapper/ubuntu--vg-root" (mount point: /) and "/dev/sda1" (mount point: /boot),

and it's missing 2 NFS mount points (comparing against 'df -h' output):
> Filesystem Size Used Avail Use% Mounted on
> udev 3.9G 4.0K 3.9G 1% /dev
> tmpfs 799M 2.0M 797M 1% /run
> /dev/dm-0 91G 24G 63G 28% /
> none 4.0K 0 4.0K 0% /sys/fs/cgroup
> none 5.0M 0 5.0M 0% /run/lock
> none 3.9G 0 3.9G 0% /run/shm
> none 100M 0 100M 0% /run/user
> /dev/sda1 236M 78M 146M 35% /boot
> 172.16.100.87:/home 25T 19T 6.4T 75% /home/images
> 172.16.100.87:/home/tests 39T 35T 4.7T 89% /home/images/tests

June 26th 2018, 16:37:01.370 metricset.name:filesystem host.name:tftp-server @timestamp:June 26th 2018, 16:37:01.370 metricset.rtt:107 metricset.module:system system.filesystem.total:235.324MB system.filesystem.device_name:/dev/sda1 system.filesystem.free:157.798MB system.filesystem.files:62,248 system.filesystem.type:ext2 system.filesystem.free_files:61,943 system.filesystem.used.pct:34.74% system.filesystem.used.bytes:77.526MB system.filesystem.mount_point:/boot system.filesystem.available:145.648MB beat.version:6.3.0 beat.name:tftp-server beat.hostname:tftp-server _id:s8Z1PmQBjNpagE0KbNT0 _type:doc _index:metricbeat-6.3.0-2018.06.26 _score: -
June 26th 2018, 16:37:01.370 metricset.name:filesystem host.name:tftp-server @timestamp:June 26th 2018, 16:37:01.370 metricset.module:system metricset.rtt:102 system.filesystem.free_files:5,907,667 system.filesystem.device_name:/dev/mapper/ubuntu--vg-root system.filesystem.available:62.155GB system.filesystem.used.pct:27.37% system.filesystem.used.bytes:23.42GB system.filesystem.type:ext4 system.filesystem.total:90.178GB system.filesystem.free:66.757GB system.filesystem.mount_point:/ system.filesystem.files:6,012,928 beat.name:tftp-server beat.hostname:tftp-server beat.version:6.3.0 _id:ssZ1PmQBjNpagE0KbNT0 _type:doc _index:metricbeat-6.3.0-2018.06.26 _score: -


(Noémi Ványi) #2

Could you please share your config and debug logs of Metricbeat (./metricbeat -e -d "*") formatted using </>?


(Rick Liu) #3

Please download the tarball from this google drive link:
https://drive.google.com/open?id=11iwj4DJmmPLiWNGrOrQRm7P7g_PCWaH-

metricbeat_debug.log is the debug log
metricbeat folder is copied from /etc/metricbeat on Ubuntu 14.04


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.