Using the Filesystem metricset and only 2 host filesystem usage is being reported. I don't see the other host filesystems and also the nfs filesystem usage mounted to the server.
Following is the config i am using:
- module: system
period: 1m
metricsets:
- filesystem
#- fsstat
filesystem.ignore_types: [devpts,sysfs,cgroup,tmpfs,proc,tmpfs,autofs,mqueue,binfmt_misc]
fields:
env:xxxxxxxx
beat_type: metricbeat
fields_under_root: true
processors:
- include_fields:
fields: [ "metricset.module", "metricset.name", "env", "beat_type", "system.filesystem.device_name", "system.filesystem.mount_point", "system.filesystem.used.pct", "system.filesystem.type" ]
- drop_fields:
fields: ["host"]
OS: Red Hat Enterprise Linux Server release 7.5
Metricbeat version: 6.4.3
Please find the entries from the /etc/mtab file, i see metricbeat reporting the filesystem metric for the "/dev/mapper/rootvg-varlv" and "/dev/mapper/dockervg-dockerlv" devices and not other devices.
/dev/mapper/rootvg-rootlv / ext3 rw,relatime,data=ordered 0 0
/dev/mapper/rootvg-usrlv /usr ext3 rw,relatime,data=ordered 0 0
systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=35,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=12826 0 0
mqueue /dev/mqueue mqueue rw,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,relatime 0 0
hugetlbfs /dev/hugepages hugetlbfs rw,relatime 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,relatime 0 0
/dev/sda1 /boot ext3 rw,relatime,data=ordered 0 0
/dev/mapper/rootvg-homelv /home ext3 rw,relatime,data=ordered 0 0
/dev/mapper/rootvg-varlv /var ext3 rw,relatime,data=ordered 0 0
/dev/mapper/rootvg-tmplv /tmp ext3 rw,relatime,data=ordered 0 0
/dev/mapper/rootvg-optlv /opt ext3 rw,relatime,data=ordered 0 0
/dev/mapper/dockervg-dockerlv /var/lib/docker xfs rw,relatime,attr2,inode64,noquota 0 0
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw,relatime 0 0
o1-app-pr01-03:/k8commtrans_nonprod_car3481_nodr_pr/k8commtrans_dev_car3481 /opt/nfs/k8 nfs rw,relatime,vers=3,rsize=32768,wsize=32768,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=10.126.198.38,mountvers=3,mountport=635,mountproto=udp,local_lock=none,addr=10.126.198.38 0 0
Can you please help me on why the metricbeat is not reporting the filesystems of type "ext3" and "nfs".