1#!/bin/bash 2# 3# config: 123 10 4# @brief: Collect failed services information. 5# 6 7# shellcheck source=tools/dreport.d/include.d/functions 8. "$DREPORT_INCLUDE"/functions 9 10desc="failed services" 11file_name="failed-services.log" 12command="systemctl --failed" 13 14add_cmd_output "$command" "$file_name" "$desc" 15