Skip to content

collectors UsersCollector

Rob Smith edited this page Jun 19, 2013 · 11 revisions

UsersCollector

Collects the number of users logged in and shells per user

Dependencies

  • pyutmp or
  • [utmp] (python-utmp on Debian and derivatives)

Options - Generic Options

Setting Default Description Type
byte_unit byte Default numeric output(s) str
enabled False Enable collecting these metrics bool
measure_collector_time False Collect the collector run time in ms bool

Example Output

servers.hostname.users.kormoc 2
servers.hostname.users.root 3
servers.hostname.users.total 5

This file was generated from the python source

Please edit the source to make changes

Clone this wiki locally