diff --git a/check_psqlserver b/check_psqlserver
index 40ca1f96df2c0136efcf022b93f48125bfef9f61..043832606e2e52c9d9e1db2e7d64b06a4bf6fc6c 100755
--- a/check_psqlserver
+++ b/check_psqlserver
@@ -205,6 +205,8 @@ if [ $? -ne 0 ]; then
     ph.abort "PSQL access not possible yet. You need to install the monitoring user first: as root execute `basename $0` -i"
 fi
 
+. "${cfgfile}"
+
 # ----------------------------------------------------------------------
 
 sMode=$(ph.getValueWithParam '' m "$@")