Skip to content

Use of uninitialized value $slave in numeric eq (==) at ./check_postgres_hot_standby_delay line 4750. #19

@MattiasGees

Description

@MattiasGees

I have an error when running the check_postgres_hot_standby_delay function. I issue the following command:
./check_postgres_hot_standby_delay --host=ipprimary --dbuser=user --dbpass=pass --host2=ipsec --dbuser2=user --dbpass2=pass --warning=50 --critical=1024
When I execute this command the response is the following.
Use of uninitialized value $slave in numeric eq (==) at ./check_postgres_hot_standby_delay line 4750.
POSTGRES_HOT_STANDBY_DELAY UNKNOWN: DB "postgres" (host:ipprimary) Invalid query returned: receive \n replay \n | time=0.23s

I hope that someone can make sens of it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions