Drop an action script to the directory
/etc/parastation/healthcheck/testsets/all/actions
and add a symbolic link to this script with the appropriate test
set directory
(/etc/parastation/healthcheck/testsets/
testset
/actions
).
The script is called upon every run of
pshealthcheck, therefore it should inspect
the variable TS_RESULT
about the result
of all tests.
Refer to the section called “Configuring actions” for more
variables provided to the script.