Ben Kochie

Results 1567 comments of Ben Kochie

@hueyg I did some additional testing, it doesn't seem to matter if the stopped/disabled unit is in /etc/systemd/system or /usr/lib/systemd/system. It fails to show up when stopped/disabled.

@lucab It seems like `ListUnitsFiltered()` has the same problem. `systemctl status` says it's loaded, but when we ask for the "loaded" list, inactive/disabled are missing.

I double checked, same problem with `ListUnitsFiltered([]string{})`. "loaded" but disabled are not returned.

@lucab I was testing with CentOS 7.5 and Ubuntu 18.04 (systemd 237). Thanks, feel free to ping me on the go-systemd upstream.

Thanks, one option is we could use the list unit files function.

@miono No, I haven't started on it. Looking forward to the PoC. Thanks!

@mlushpenko The best option is to have a Prometheus `/metrics` endpoint on the service. This provides both the blackbox check and service status, eliminating the need for watching systemd at...

There is no current fix, because systemd does not provide the required information over dbus.

Thanks, in order to add this, we need parsing support for `/sys/block/*/device/...` added to https://github.com/prometheus/procfs.

Correct, the procfs library handles parsing of both procfs and sysfs files.