Page 1 of 1

postgresdb monitoring, out of bound error is coming

Posted: Wed May 30, 2018 6:56 am
by venkatlink
I am new to nagios xi , I am facing issues related to postgresdb monitoring
i am passing below argument

$USER1$/check_postgres.pl -H 172.22.17.30 --port=5432 --dbuser=dbuser --dbname=dbname --dbpass="Welcome" --action=backends --warning='50%' --critical='70%'

this is the error message getting in nagiosxi dashboard
"postgresql backend connection (status-unknown) getting below error in dashboard
ERROR: Critical for number of users must be a number or percentage
postgres connection status showing (Return code of 255 is out of bounds)"

is there any change in argument needed?

Re: postgresdb monitoring, out of bound error is coming

Posted: Wed May 30, 2018 8:41 am
by scottwilkerson
The command is correct, I can run it on my system.

Are you sure that postgres on 172.22.17.30 is exposed for access from the Nagios XI server? You would need to allow remote connections from the Nagios XI server