Hm-m, this is strange. Is the postgres database local or on a remote server? Did you add the Nagios XI server's IP to the "trusted connections" in the "/var/lib/pgsql/data/pg_hba.conf"?
I haven't been able to recreate the issue. I am using check_postgres.pl version 2.12.0.
I have sent you the system profile to your [email protected], and let me know if you need more information.
Hi lmiltchev,
Yup, I know it's very weird. I have installed postgresql server(without implement high availability)on another host in my lab and my lab nagiosxi is successfully monitor it.
However, on the production environment the postgresql server is implemented with high availability (two host server share a virtual ip). Is it this feature causing this issue?
I think I found out the issue which causing this problem. This is due to the database password contains some special characters such as "!,$,&,(,)", you can try it on your Postgresql database and see the output.E.g."Abc1234$" as your database password.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.