Purges monitoring history from the repmgr.monitoring_history table to prevent excessive table growth. Use the -k/--keep-history to specify the number of days of monitoring history to retain. This command can be used manually or as a cronjob.
This command requires a valid repmgr.conf file for the node on which it is executed; no additional arguments are required.