Skip to content

Feature request: detect connection error #8

@bilbolodz

Description

@bilbolodz

Now I'm fighting with:

psycopg2.OperationalError: FATAL: remaining connection slots are reserved for non-replication superuser connections"

Maybe it could be a good idea to catch that exception and "send to zabbix" some:

  • psq.connection_not_on 1

"alarm"?
Or at least return other return code on connection error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions