Skip to content
Snippets Groups Projects
Commit 1c14f848 authored by Pablo Carranza's avatar Pablo Carranza Committed by GitLab
Browse files

Add explanation on how to run pgbadger

parent 01ef4d5e
No related branches found
No related tags found
1 merge request!190Add explanation on how to run pgbadger
Loading
Loading
@@ -125,6 +125,7 @@ The aim of this project is to have a quick guide of what to do when an emergency
* [Work with Kibana (logs view)](howto/kibana.md)
* [Work with Check_MK (Notifications, scheduled downtime, acknowledge problems)](howto/manage-checkmk.md)
* [Reload CheckMK metrics](howto/manage-checkmk.md#reload_host_metrics)
* [Run pgbadger to analyze queries](howto/postgresql.md#run-pgbadger-in-the-primary-database-server)
 
## General guidelines in an emergency
 
Loading
Loading
Loading
Loading
@@ -64,4 +64,7 @@ JOIN pg_stat_activity blockinga ON blockingl.pid = blockinga.pid
WHERE NOT blockedl.granted;
```
 
## Run pgbadger in the primary database server
 
* sudo up
* `pgbadger | /usr/bin/pgbadger -o output.txt -`
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment