V
V
Vasily Pupkin2017-01-30 02:58:30
linux
Vasily Pupkin, 2017-01-30 02:58:30

Why does munin df only show /tmp?

The df plugin in the graph generated by munin shows only /tmp
I can't figure out how to fix it. Please tell me where to dig?
df settings

[df*]
env.exclude none unknown binfmt_misc debugfs devtmpfs fuse.gvfs-fuse-daemon iso9660 ramfs romfs rpc_pipefs squashfs tmpfs udf

Here is another info
[[email protected] plugins]# ./df
_dev_ploop52091p1.value 14.0424936611351
_dev_shm.value 0
_dev_ploop52091p1.value 14.0424936611351

[[email protected] plugins]# ./df config
graph_title Disk usage in percent
graph_args --upper-limit 100 -l 0
graph_vlabel %
graph_scale no
graph_category disk
_dev_ploop52091p1.label /
_dev_ploop52091p1.warning 92
_dev_ploop52091p1.critical 98
_dev_shm.label /dev/shm
_dev_shm.warning 92
_dev_shm.critical 98
_dev_ploop52091p1.label /tmp
_dev_ploop52091p1.warning 92
_dev_ploop52091p1.critical 98

[[email protected] plugins]# df -P -l
Filesystem        1024-blocks     Used Available Capacity Mounted on
/dev/ploop52091p1   103085600 14032804  85898336      15% /
none                  1048576        4   1048572       1% /dev
none                  1048576        0   1048576       0% /dev/shm
/dev/ploop52091p1   103085600 14032804  85898336      15% /tmp

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
V
Vladimir, 2017-01-30
@MechanID

What's the point of showing it? "/tmp" and "/" are the same /dev/ploop52091p1 why do you need two identical graphs?

V
Vasily Pupkin, 2017-01-30
@HectorPrima

Munin version 2.0.17 shows /, /dev, /tmp
Munin version 2.0.25 only /tmp The
plugins are the same in both versions.
Data for another server

[[email protected] /]# df -P -l
Filesystem         1024-blocks      Used Available Capacity Mounted on
/dev/simfs           206291640  51083076 145792640      26% /
none                   2097152         4   2097148       1% /dev
/dev/ploop11038p1    206291640  51083076 145792640      26% /tmp

Munin just displays the data, he doesn't decide what to show or not.

Y
Yuri Chudnovsky, 2017-01-30
@Frankenstine

You can go inside the df plugin and see why it works the way it does, and tweak it to your liking (hardcode the checked sections) before the update (i.e. most likely before the axis release upgrade)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question