[check_postgres] dbport commandline option

Greg Sabino Mullane greg at endpoint.com
Fri Feb 6 13:37:33 UTC 2009


> option -p give trouble:
> 
>   /usr/lib64/nagios/plugins/check_postgres.pl -H localhost -p 10864 -u
> superviseur -db postgres --action bloat -w '100MB' -c '200MB'
> 
>   Option p is ambiguous (perflimit, port, port2)
> 
> 
> Not a major bug as -dbport is ok...

Thanks, fixed that up so -p should work now. Keep in mind you can also
use the DBPORT environment variable.

-- 
Greg Sabino Mullane greg at endpoint.com
End Point Corporation
PGP Key: 0x14964AC8

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 226 bytes
Desc: OpenPGP digital signature
Url : https://mail.endcrypt.com/pipermail/check_postgres/attachments/20090206/4b47f9d1/attachment.bin 


More information about the Check_postgres mailing list