Skip to main content

systemd-logind collector

systemd-logind is a system service that manages user logins.

Monitors number of sessions and users as reported by the org.freedesktop.login1 DBus API.


  • Works only on Linux systems.


All metrics have "logind." prefix.

sessionsglobalremote, localsessions
sessions_typeglobalconsole, graphical, othersessions
sessions_stateglobalonline, closing, activesessions
users_stateglobaloffline, closing, online, lingering, activeusers


No configuration required.


To troubleshoot issues with the logind collector, run the go.d.plugin with the debug option enabled. The output should give you clues as to why the collector isn't working.

  • Navigate to the plugins.d directory, usually at /usr/libexec/netdata/plugins.d/. If that's not the case on your system, open netdata.conf and look for the plugins setting under [directories].

    cd /usr/libexec/netdata/plugins.d/
  • Switch to the netdata user.

    sudo -u netdata -s
  • Run the go.d.plugin to debug the collector:

    ./go.d.plugin -d -m logind

Do you have any feedback for this page? If so, you can open a new issue on our netdata/learn repository.