nagios: Fix postgresql test

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>