Monitoring of psql #13159

Closed
opened 2026-02-23 09:16:46 +00:00 by gwmngilfen · 4 comments
Member

Description of request

@kevin noted in chat:

postgresql dead on db-datanommer02. Just restarted it.

We should probably have some monitoring - I'm sure there's an upstream template we can use on PSQL hosts.

### Description of request @kevin noted in chat: > postgresql dead on db-datanommer02. Just restarted it. We should probably have some monitoring - I'm sure there's an upstream template we can use on PSQL hosts.
Owner

At the very least a check for the 'postgresql' service...

At the very least a check for the 'postgresql' service...
Author
Member

So a full template does exist:

https://www.zabbix.com/integrations/postgresql

This looks lovely - full monitoring of many useful things, including db discovery and monitoring for each of those. It does require a user on the DB to run the queries, and it appears to want the DB data in /var/lib/zabbix/postgresql which seems .... odd.

I've created a basic template on Staging with just a service up/down check, and a response time, which we could use - I'll investigate this further in the next sprint.

So a full template does exist: https://www.zabbix.com/integrations/postgresql This looks lovely - full monitoring of many useful things, including db discovery and monitoring for each of those. It *does* require a user on the DB to run the queries, and it *appears* to want the DB data in /var/lib/zabbix/postgresql which seems .... odd. I've created a basic template on Staging with just a service up/down check, and a response time, which we could use - I'll investigate this further in the next sprint.
Author
Member

I've tested the upstream template on a VM and then deployed it to db01.stg. Now monitoring to see if all those sql queries affect load at all

I've tested the upstream template on a VM and then deployed it to db01.stg. Now monitoring to see if all those sql queries affect load at all
Author
Member

All deployed and working

All deployed and working
Sign in to join this conversation.
No milestone
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
infra/tickets#13159
No description provided.