repmgr cluster event

Name

repmgr cluster event -- output a formatted list of cluster events

Description

Outputs a formatted list of cluster events, as stored in the repmgr.events table.

Usage

Output is in reverse chronological order, and can be filtered with the following options:

The "Details" column can be omitted by providing --terse.

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