Skip to content
Snippets Groups Projects

replication: add description

Merged Hahn Axel (hahn) requested to merge 6010-check-pqsql into master
1 file
+ 4
0
Compare changes
  • Side-by-side
  • Inline
+ 4
0
@@ -331,6 +331,8 @@ case "${sMode}" in
out+=" - backup: This WAL sender is sending a backup.${NL}"
out+=" - stopping: This WAL sender is stopping.${NL}"
out+=""
else
out+="OK: all replications have the state 'streaming'.${NL}"
fi
# --- check: max_leg
@@ -345,6 +347,8 @@ case "${sMode}" in
ph.setStatus "warning"
descr+=" ... lag warning"
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
out+=$( echo "${_out}${NL}" | tr '|' ':' )
Loading