Hello all,
I need some help with a problem about my metricbeat setup.
I'm trying to monitor my elasticsearch server disks with metricbeat.
In the elasticsearch servers I created a LVM and mounted it in /var/lib/elasticsearch.
The problem is my metricbeat can't monitor it. It just get the "/" and the "/boot/efi" filesystems.
I have another server with a LVM mounted in "/work" and in this case, metricbeat can monitor that filesystem.
I figure out that metricbeat just can't monitor LVMs mounted in some "linux known" directories.
Please, could someone help me with it?
Follow my filesystems:
Filesystem Size Used Avail Use% Mounted on
devtmpfs 7.2G 0 7.2G 0% /dev
tmpfs 7.3G 0 7.3G 0% /dev/shm
tmpfs 7.3G 753M 6.5G 11% /run
tmpfs 7.3G 0 7.3G 0% /sys/fs/cgroup
/dev/sdb3 39G 7.3G 32G 19% /
/dev/sdb1 200M 8.6M 192M 5% /boot/efi
/dev/mapper/vg_elastic-lv_elastic 2.0T 374G 1.6T 20% /var/lib/elasticsearch
10.0.12.71:/elk 8.0E 1.2T 8.0E 1% /data/elk-history
tmpfs 1.5G 0 1.5G 0% /run/user/0
tmpfs 1.5G 0 1.5G 0% /run/user/993
tmpfs 1.5G 0 1.5G 0% /run/user/1000
Follow my system.yaml setup:
- module: system
period: 10s
metricsets:
- cpu
- load
- memory
- network
- process
- process_summary
- socket_summary
#- entropy
#- core
#- diskio
#- socket
#- service
#- users
process.include_top_n:
by_cpu: 5 # include top 5 processes by CPU
by_memory: 5 # include top 5 processes by memory
- module: system
period: 1m
metricsets:
- filesystem
- fsstat
processors:
- drop_event.when.regexp:
system.filesystem.mount_point: '^/(sys|cgroup|proc|dev|etc|host|lib|snap)($|/)'
- module: system
period: 15m
metricsets:
- uptime