STATE_MON
@STATE_MON
#success_path read_mode warning_fail_path critical_fail_path
MODE_TERMINATE READ_ONCE 33 /specs/gp/bad_bad
#state_index warning_indicator critical_indicator
state_var hc_zero_wi hc_zero_ci
#action_code timeout
'VERIFY' 2[min]
#file_list
/specs/states/hc_zero_w
/specs/states/hc_zero_c
###########################################################################
# @STATE_MON - launch the state_mon application
# success_path - exit path for successful return from state_mon.
# Entry can be NONE, MODE_TERMINATE, RETURN, a mode
# number, a string variable or an expression
# read_mode - READ or READ_ONCE
# warning_fail_path - exit path for failure returns. Entry can be
# NONE, MODE_TERMINATE, RETURN, a mode number, a
# test procedure pathname, a string variable label,
# or an expression
#
# critical_fail_path - exit path for failure returns. Entry can be
# NONE, MODE_TERMINATE, RETURN, a mode number, a
# test procedure pathname, a string variable label,
# or an expression
# state_index - the label of an integer or sting variable which will
# contain the index for the required state definition.
# warning_indicator - the label of a logical variable which will be set
# to the EXCEPTION display state when a warning
# state exists. The variable will be created if it
# does not already exist.
# critical_indicator - the label of a logical variable which will be set
# to the EXCEPTION display state when a critical
# state exists. The variable will be created if it
# does not already exist.
# action_code - code to indicate the operational method used by
# state_mon. Entry can be VERIFY, MONITOR, IMMEDIATE
# or a string variable containing one of the above.
# Note that the action_code is a string and can
# be entered as a string literal enclosed in single
# quotes, as a label, or as a computed expression
# enclosed in double quotes
# timeout - when the action code is VERIFY, the time allowed
# for the specified state to be achieved before a
# failure is assumed.
# when the action code is MONITOR, the timeout is
# usually set to 0.0[sec] which means forever. If
# a finite time is used, the success path will be
# taken after the specified time if no failure has
# occurred.
# when the action code is IMMEDIATE, this field is
# ignored
# Entry can be a value, a variable or an expression.
# file_list - a list of one or more files to be read that specify
# the desired state of the system.
# See /specs.def/gp/stbl/stbl_CLD1_tree for an example
# "stateball" file.
@STATE_MON
#success_path read_mode warning_fail_path critical_fail_path
MODE_TERMINATE READ_ONCE 33 /specs/gp/bad_bad
#state_index warning_indicator critical_indicator
state_var hc_zero_wi hc_zero_ci
#action_code timeout
VERIFY 2[min]
#file_list
/specs/states/hc_zero_w
/specs/states/hc_zero_c