check_postgres icon indicating copy to clipboard operation
check_postgres copied to clipboard

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

Open MattiasGees opened this issue 12 years ago • 1 comments

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 <PIPE> \n replay <PIPE> \n | time=0.23s

I hope that someone can make sens of it.

MattiasGees avatar Jan 18 '13 14:01 MattiasGees

Is this resolved by 9be7ce345a02d912523c00462f754ab6cc07c46e?

theory avatar Sep 24 '13 21:09 theory