Skip to content

Commit

Permalink
Improve systemd unit state query
Browse files Browse the repository at this point in the history
  • Loading branch information
lwindolf committed Jan 8, 2024
1 parent 7db4cc3 commit 0589caf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion probes/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
},
"systemd": {
"name" : "Systemd Problems",
"command": "systemctl list-units | /bin/egrep '( loaded (maintenance|failed)| masked )'",
"command": "systemctl --state masked --state failed --state maintenance",
"refresh": 30,
"initial": "True",
"render" : {
Expand Down

0 comments on commit 0589caf

Please sign in to comment.