mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-25 16:16:29 +00:00
"repmgr cluster events": show node name in output, if available
Nodes can be removed from repmgr.nodes, so we'll only have the historical ID available via repmgr.events.
This commit is contained in:
@@ -275,6 +275,14 @@ The following commands are available:
|
||||
* `--node-name`: restrict entries to node with this name
|
||||
* `--event`: filter specific event
|
||||
|
||||
Example:
|
||||
|
||||
$ repmgr -f /etc/repmgr.conf cluster event --event=standby_register
|
||||
Node ID | Name | Event | OK | Timestamp | Details
|
||||
---------+-------+------------------+----+---------------------+--------------------------------
|
||||
3 | node3 | standby_register | t | 2017-08-17 10:28:55 | standby registration succeeded
|
||||
2 | node2 | standby_register | t | 2017-08-17 10:28:53 | standby registration succeeded
|
||||
|
||||
|
||||
Backwards compatibility
|
||||
-----------------------
|
||||
|
||||
Reference in New Issue
Block a user