diff --git a/check_pg_streaming_replication b/check_pg_streaming_replication index 807fe0d..0b29aa5 100755 --- a/check_pg_streaming_replication +++ b/check_pg_streaming_replication @@ -424,6 +424,9 @@ then fi echo "OK: Hot-standby server is uptodate" + echo "Replication state: $M_CUR_SYNC_STATE" + echo "Last sent/writed LSN: '$M_CUR_SENT_LSN' / '$M_CUR_WRITED_LSN'" + [ "$LAST_RECEIVED_LSN" != "$LAST_REPLAYED_LSN" ] && echo "Replay delay: ${REPLAY_DELAY}s" exit 0 else debug "File recovery.conf not found. Master mode."