Added support for --log-healthy (HP-UX)

Other fixes
This commit is contained in:
patvdv
2019-03-10 20:36:58 +01:00
parent 47d8fa272a
commit a2f1c51bea
45 changed files with 1290 additions and 552 deletions
@@ -172,7 +172,7 @@ CONFIG : $3 with parameters:
log_healthy=<yes|no>
and formatted stanzas:
sg:<param>=<value>
PURPOSE : Checks the status of Serviceguard cluster parameters (SG 11.16+)
PURPOSE : Checks the status of Serviceguard cluster parameters (SG 11.16+)
LOG HEALTHY : Supported
EOT
@@ -174,7 +174,7 @@ CONFIG : $3 with parameters:
log_healthy=<yes|no>
and formatted stanzas:
sg:<package_name>:<parameter>=<value>
PURPOSE : Checks the status of Serviceguard package parameters (SG 11.16+)
PURPOSE : Checks the status of Serviceguard package parameters (SG 11.16+)
LOG HEALTHY : Supported
EOT
@@ -142,6 +142,8 @@ case ${_STC} in
_MSG="could not determine status of sshd"
;;
esac
# report results
if (( _LOG_HEALTHY > 0 || _STC > 0 ))
then
log_hc "$0" ${_STC} "${_MSG}"