postgresdb monitoring, out of bound error is coming
Posted: Wed May 30, 2018 6:56 am
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?
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?