1f5a66f83SJayanth Othayoth#!/bin/bash 2f5a66f83SJayanth Othayoth# 3*6d7f753bSMarri Devender Rao# config: 1234 5 4f5a66f83SJayanth Othayoth# @brief: Collect Host state information. 5f5a66f83SJayanth Othayoth# 6f5a66f83SJayanth Othayoth 7f5a66f83SJayanth Othayoth. $DREPORT_INCLUDE/functions 8f5a66f83SJayanth Othayoth 9f5a66f83SJayanth Othayothdesc="Host State" 10f5a66f83SJayanth Othayothfile_name="host-state.log" 11f5a66f83SJayanth Othayothcommand="busctl get-property \ 12f5a66f83SJayanth Othayoth xyz.openbmc_project.State.Host \ 13f5a66f83SJayanth Othayoth /xyz/openbmc_project/state/host0 \ 14f5a66f83SJayanth Othayoth xyz.openbmc_project.State.Host \ 15f5a66f83SJayanth Othayoth CurrentHostState" 16f5a66f83SJayanth Othayoth 17f5a66f83SJayanth Othayothadd_cmd_output "$command" "$file_name" "$desc" 18