xref: /openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/failedservices (revision 04e430c0203b499926fd85950157f407b1f4e883)
1#!/bin/bash
2#
3# config: 123 10
4# @brief: Collect failed services information.
5#
6
7. $DREPORT_INCLUDE/functions
8
9desc="failed services"
10file_name="failed-services.log"
11command="systemctl --failed"
12
13add_cmd_output "$command" "$file_name" "$desc"
14