Bugzilla – Bug 1212676
munin-node: df omits some entries
Last modified: 2023-08-02 15:21:14 UTC
Since upgrading to 15.5, the df plugin (and others that rely on the output of the df command) omit some entries (like root and home). > sudo munin-run df config graph_title Disk usage in percent graph_args --upper-limit 100 -l 0 graph_vlabel % graph_scale no graph_category disk _dev_mapper_system_root.label / _dev_mapper_system_root.warning 92 _dev_mapper_system_root.critical 98 _dev_sde1.label /boot _dev_sde1.warning 92 _dev_sde1.critical 98 _dev_mapper_system_space.label /space _dev_mapper_system_space.warning 92 _dev_mapper_system_space.critical 98 _dev_mapper_raid_backup.label /raid/backup _dev_mapper_raid_backup.warning 97 _dev_mapper_raid_backup.critical 98 _dev_mapper_raid_raid.label /raid/raid _dev_mapper_raid_raid.warning 98 _dev_mapper_raid_raid.critical 99 > LANG=C df -P Filesystem 1024-blocks Used Available Capacity Mounted on devtmpfs 4096 0 4096 0% /dev tmpfs 3909096 4 3909092 1% /dev/shm tmpfs 1563640 1460 1562180 1% /run tmpfs 4096 0 4096 0% /sys/fs/cgroup /dev/mapper/system-root 65871820 33701028 31080668 53% / /dev/sde1 245578 160117 68156 71% /boot /dev/mapper/system-home 65871820 17563612 47218084 28% /home /dev/mapper/system-space 65871820 4414744 60366952 7% /space /dev/mapper/raid-backup 739619968 704760920 34580520 96% /raid/backup /dev/mapper/raid-raid 10568761248 10323823096 242387740 98% /raid/raid /dev/mapper/raid-nelson--root 12570624 11988632 581992 96% /raid/nelson/root /dev/mapper/raid-nelson--space 94323712 94280396 43316 100% /raid/nelson/space /dev/mapper/raid-nelson--home 8377344 8208380 168964 98% /raid/nelson/home tmpfs 781816 8 781808 1% /run/user/108 tmpfs 781816 8 781808 1% /run/user/1000 > rpm -qi munin-node Name : munin-node Version : 2.0.72 Release : bp155.1.5 Architecture: noarch Install Date: Sa 24 Jun 2023 15:45:08 CEST Group : System/Monitoring Size : 1511032 License : GPL-2.0-only Signature : RSA/SHA512, Mo 22 Mai 2023 12:01:08 CEST, Key ID 8a49eb0325db7ae0 Source RPM : munin-2.0.72-bp155.1.5.src.rpm Build Date : Mo 22 Mai 2023 12:00:42 CEST
Correction: / is reported, /home is not.
Cause: munin-node runs with ProtectHome=true. Solution: sudo systemctl edit munin-node.service and add [Service] ProtectHome=read-only