repmgr node statusrepmgr node statusrepmgr node statusshow overview of a node's basic information and replication statusDescription
Displays an overview of a node's basic information and replication
status. This command must be run on the local node.
Example
$ repmgr -f /etc/repmgr.conf node status
Node "node1":
PostgreSQL version: 10beta1
Total data size: 30 MB
Conninfo: host=node1 dbname=repmgr user=repmgr connect_timeout=2
Role: primary
WAL archiving: off
Archive command: (none)
Replication connections: 2 (of maximal 10)
Replication slots: 0 (of maximal 10)
Replication lag: n/aOutput format--csv: generate output in CSV format
Exit codes
Following exit codes can be emitted by repmgr node status:
No issues were detected.
One or more issues were detected.
See also
See to diagnose issues and
for an overview of all nodes in the cluster.