fix nagios when postgres is not using replication
Merge pull request #63 from phunehehe/nagios-postgres-norep

Nagios postgres norep