Skip to content
Snippets Groups Projects
Commit e6ffb8d3 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

Merge branch '6010-check-pqsql' into 'master'

replication: add description

See merge request !110
parents 8c38cbf9 a39e1e9b
No related branches found
No related tags found
1 merge request!110replication: add description
...@@ -331,6 +331,8 @@ case "${sMode}" in ...@@ -331,6 +331,8 @@ case "${sMode}" in
out+=" - backup: This WAL sender is sending a backup.${NL}" out+=" - backup: This WAL sender is sending a backup.${NL}"
out+=" - stopping: This WAL sender is stopping.${NL}" out+=" - stopping: This WAL sender is stopping.${NL}"
out+="" out+=""
else
out+="OK: all replications have the state 'streaming'.${NL}"
fi fi
# --- check: max_leg # --- check: max_leg
...@@ -345,6 +347,8 @@ case "${sMode}" in ...@@ -345,6 +347,8 @@ case "${sMode}" in
ph.setStatus "warning" ph.setStatus "warning"
descr+=" ... lag warning" descr+=" ... lag warning"
out+="WARNING: !!! experimantal !!! a lag larger 1 sec was detected. Maybe a target server is out of sync.'.${NL}" out+="WARNING: !!! experimantal !!! a lag larger 1 sec was detected. Maybe a target server is out of sync.'.${NL}"
else
out+="OK: maximum lag is $MaxLag sec (below 1 sec).${NL}"
fi fi
out+=$( echo "${_out}${NL}" | tr '|' ':' ) out+=$( echo "${_out}${NL}" | tr '|' ':' )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment