Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

systemd_units plugin reports errors for "not-found" units #7990

Closed
squidpickles opened this issue Aug 16, 2020 · 3 comments
Closed

systemd_units plugin reports errors for "not-found" units #7990

squidpickles opened this issue Aug 16, 2020 · 3 comments
Labels
bug unexpected problem or unintended behavior

Comments

@squidpickles
Copy link
Contributor

SystemD's output when listing units changed in v245. When units are in not-found state, they include a glyph in front. Previously, using --no-legend disabled output of this glyph, but now it's included regardless of that setting.

Related bug report: systemd/systemd#15077

It appears the fix was merged, but I have encountered several systems running v246 (latest release) that still have this problem.

Adding --plain to the command invocation works across the old (pre-v245) and newer versions.

squidpickles added a commit to squidpickles/telegraf that referenced this issue Aug 16, 2020
@sjwang90 sjwang90 added the bug unexpected problem or unintended behavior label Aug 21, 2020
@srebhan
Copy link
Member

srebhan commented Nov 12, 2020

Similar fix for the problem is in PR #8381.

@srebhan
Copy link
Member

srebhan commented Nov 12, 2020

@squidpickles can you please test with current master after PR #7991 was merged!?

ssoroka pushed a commit that referenced this issue Nov 13, 2020
@squidpickles
Copy link
Contributor Author

@srebhan It works! Fantastic, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

3 participants