Lets follow the official page : Chapter 9. Event Notifications
Each time repmgr or repmgrd perform a significant event, a record of that event is written into the repmgr.events table together with a timestamp, an indication of failure or success, and further details if appropriate.
Bash
psql -U repmgr -c "SELECT * from repmgr.events ;"
Note: We will skip the below chapters
Chapter 10. Upgrading repmgr – (we will cover this in advanced tutorials)
Chapter 11. repmgrd overview – (we will cover this in advanced tutorials)
Chapter 12. Automatic failover with repmgrd – (chapter 12 requires additional postgresql server, we will skip this. )