> Hello guys, I'am new to Nagios.
>
> I need to monitor the PostgreSql service in my server. But I'am
> receiving this problem:
>
> CRITICAL - no connection to 'template1' (could not connect to server:
> Connection refused
>
> thanks for your help.

Have you passed the correct parameters to check_pgsql to talk to
the correct postmaster?  If PostgreSQL isn't running on localhost,
you'll need to specify the -H parameter, at the very least.

Benny


-- 
"It makes me want to crawl back up the line and hit them in the
face with a spade."            -- Loren Wilton



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to