postgresdb monitoring, out of bound error is coming

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
venkatlink
Posts: 1
Joined: Wed May 30, 2018 6:42 am

postgresdb monitoring, out of bound error is coming

Post 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?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: postgresdb monitoring, out of bound error is coming

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked