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.
Requirements
- Works only on Linux systems.
Metrics
All metrics have "logind." prefix.
Metric | Scope | Dimensions | Units |
---|---|---|---|
sessions | global | remote, local | sessions |
sessions_type | global | console, graphical, other | sessions |
sessions_state | global | online, closing, active | sessions |
users_state | global | offline, closing, online, lingering, active | users |
Configuration
No configuration required.
Troubleshooting
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, opennetdata.conf
and look for theplugins
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
Was this page helpful?
Need more help?
- Join our community
- Submit a bug or feature request for the FOSS agent
- Submit a bug or feature request for the Netdata cloud