summaryrefslogtreecommitdiffstats
path: root/tools/dreport.d/plugins.d/failedservices
blob: 2d0113e07dc65dde48c0aad82468dfeb40e7573c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
#
# config: 123 10
# @brief: Collect failed services information.
#

. $DREPORT_INCLUDE/functions

desc="failed services"
file_name="failed-services.log"
command="systemctl --failed"

add_cmd_output "$command" "$file_name" "$desc"
OpenPOWER on IntegriCloud