This script is the first part in a two-part series of PRs to add systemd unit polling to LibreNMS as an application. systemd.py executes the systemctl command to list all units (inactive units can be listed as well if enabled as a configuration file parameter) and scrape each unit's load, activation, and sub states.
A screenshot of what all this will look like when the upcoming application PR is submitted is attached to this PR.
This script is the first part in a two-part series of PRs to add systemd unit polling to LibreNMS as an application. systemd.py executes the systemctl command to list all units (inactive units can be listed as well if enabled as a configuration file parameter) and scrape each unit's load, activation, and sub states.
A screenshot of what all this will look like when the upcoming application PR is submitted is attached to this PR.