1*04e430c0SJayanth Othayoth#!/bin/bash 2*04e430c0SJayanth Othayoth# 3*04e430c0SJayanth Othayoth# config: 123 10 4*04e430c0SJayanth Othayoth# @brief: Collect failed services information. 5*04e430c0SJayanth Othayoth# 6*04e430c0SJayanth Othayoth 7*04e430c0SJayanth Othayoth. $DREPORT_INCLUDE/functions 8*04e430c0SJayanth Othayoth 9*04e430c0SJayanth Othayothdesc="failed services" 10*04e430c0SJayanth Othayothfile_name="failed-services.log" 11*04e430c0SJayanth Othayothcommand="systemctl --failed" 12*04e430c0SJayanth Othayoth 13*04e430c0SJayanth Othayothadd_cmd_output "$command" "$file_name" "$desc" 14