Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapActiveStateForPosture ¶
MapActiveStateForPosture maps a service's reported state to running|stopped|unknown.
It has to understand two vocabularies, because two collectors write to the same field. systemd says "active" and "inactive"; the sysvinit and Upstart collector says "running" outright. Understanding only systemd's words meant a sysvinit entry mapped to "unknown", so a service the machine had plainly reported as running was dropped as unreadable.
The services collector may join substate as "active/running".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.