Skip to content

Conversation

@Skywalker-11
Copy link

With debian bullseye (systemd 247.3-6) the systemd output has a prefix for failed units because of which the parsing of the output fails:

# systemctl --failed --no-legend 
● nagios-nrpe-server.service loaded failed failed Nagios Remote Plugin Executor

@helmo
Copy link

helmo commented Apr 27, 2023

I found a simpler solution for this just add --plain to the systemctl command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants