check_postgres
check_postgres copied to clipboard
Use of uninitialized value $slave in numeric eq (==) at ./check_postgres_hot_standby_delay line 4750.
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.
Is this resolved by 9be7ce345a02d912523c00462f754ab6cc07c46e?