Module monitord::units

source ·
Expand description

units module

All main systemd unit statistics. Counts of types of units, unit states and queued jobs. We also house service specific statistics and system unit states.

Structs

  • Selected subset of metrics collected from systemd OrgFreedesktopSystemd1Service
  • Struct with all the unit count statistics
  • Collection of a Unit active and load state: https://www.freedesktop.org/software/systemd/man/org.freedesktop.systemd1.html

Enums

Constants

Functions

  • Parse state of a unit into our unit_states hash
  • Pull all units from dbus and count how system is setup and behaving