https://github.com/veksh/netdata-numsessions
Collect number of logged-on users in netdata
https://github.com/veksh/netdata-numsessions
netdata
Last synced: 3 months ago
JSON representation
Collect number of logged-on users in netdata
- Host: GitHub
- URL: https://github.com/veksh/netdata-numsessions
- Owner: veksh
- Created: 2018-05-10T08:21:49.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-28T08:33:37.000Z (almost 7 years ago)
- Last Synced: 2023-12-07T17:47:23.414Z (over 1 year ago)
- Topics: netdata
- Language: Python
- Size: 2.93 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Collect number of interactive login sessions for netdata
This plugin collects a number of currently logged-in users (from `uptime` shell command),
this metric is missed from core netdata.## Manual install
- copy plugin to `python.d` plugins dir
- copy config to `/etc/netdata/python.d/`
- restart netdata, check "logins" section## Configuration
As usual, no config is required by default
- to disable plugin, set `command` to `/bin/false`
- to change check interval, set `update_every`## Compatibility
Tested on Centos 7 and Suse SLES 11. As of netdata 1.10 `python.d.plugin` is not compatible with
SLES 11 without some patching (see RPM spec in nearby repo for details).