[check_postgres] Enhancement request - configuration file

Cédric Villemain cedric.villemain at dalibo.com
Fri Aug 7 15:06:14 UTC 2009


Le vendredi 07 août 2009, Cédric Villemain a écrit :
> Le vendredi 07 août 2009, Greg Sabino Mullane a écrit :
> > > I wonder if every option are allowed in this file ?
> >
> > Yes, supposed to be.
> >
> > > I get this error using 'dbuser' or 'u' in the conffile (using
> > > 'defaultuser' is fine):
> >
> > Sorry, overlooked var. The fix was just pushed.
>
> work fine :)

I have a side effect with a conffile containing u=superviseur. Action is 
executed as if multiple connection are present when same option is on the 
command line :

$ /usr/lib/nagios/plugins/check_postgres.pl -H localhost -u superviseur --
language en --action query_time
POSTGRES_QUERY_TIME OK: (host:localhost) longest query: 0s * longest query: 0s 
| time=0.04 maxtime=0;120;300 * time=0.04 maxtime=0;120;300

$ /usr/lib/nagios/plugins/check_postgres.pl -H localhost  --language en --
action query_time
POSTGRES_QUERY_TIME OK: (host:localhost) longest query: 0s | time=0.05 
maxtime=0;120;300

----
Cédric Villemain
Administrateur de Base de Données
Cel: +33 (0)6 74 15 56 53
http://dalibo.com - http://dalibo.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : https://mail.endcrypt.com/pipermail/check_postgres/attachments/20090807/d218f01b/attachment.bin 


More information about the Check_postgres mailing list