monitord

Module 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§

Enums§

Constants§

Functions§

  • Check if we’re a loaded unit and if so evaluate if we’re acitive or not If we’re not Only potentially mark unhealthy for LOADED units that are not active
  • Parse state of a unit into our unit_states hash
  • Pull all units from dbus and count how system is setup and behaving
  • Async wrapper than can update uni stats when passed a locked struct