Skip to content

in new versions i cant find systemd type=mount metrics #1809

Description

@dm0610

Host operating system: output of uname -a

4.14.35-1844.2.5.el7uek.x86_64 #2 SMP Mon Feb 4 18:24:45 PST 2019 x86_64 x86_64 x86_64 GNU/Linux

node_exporter version: output of node_exporter --version

node_exporter-1.0.1.linux-amd64
All version after 0.15.2

node_exporter command line flags

/opt/node_exporter/node_exporter --collector.systemd --collector.systemd.unit-whitelist=.*.mount --collector.filesystem.ignored-mount-points=^/(sys|proc|dev|run)($|/)

Are you running node_exporter in Docker?

no, on VM

What did you do that produced an error?

Perhaps this is not a mistake.
In the old version (0.15.2) I saw metrics like:
node_systemd_unit_state{name="var.mount",state="activating"} 0
node_systemd_unit_state{name="var.mount",state="active"} 1
node_systemd_unit_state{name="var.mount",state="deactivating"} 0
node_systemd_unit_state{name="var.mount",state="failed"} 0
node_systemd_unit_state{name="var.mount",state="inactive"} 0
They help me monitor network-share mounts state
But in new versions > 0.18+
There are no such metrics in the new version and i dont understand how to enable them.
node-exporter with systemd collector only shows metrics .service .socket .target

What did you expect to see?

metrics with type=mount like:
node_systemd_unit_state{name="var.mount",state="activating"} 0
node_systemd_unit_state{name="var.mount",state="active"} 1
node_systemd_unit_state{name="var.mount",state="deactivating"} 0
node_systemd_unit_state{name="var.mount",state="failed"} 0
node_systemd_unit_state{name="var.mount",state="inactive"} 0

What did you see instead?

nothing

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions