[check_postgres] How to monitor master master replication which is setup using Bucardo

Greg Sabino Mullane greg at endpoint.com
Thu Oct 30 17:45:32 UTC 2014


On Thu, Oct 30, 2014 at 11:58:34AM +0530, Juned Khan wrote:
> I have set up master master replication using Bucardo but when I tried to
> check the replication using check_postgres Nagios plugin then I got "ERROR:
> No slaves found"
> 
> check_postgres.pl --action=replicate_row  --host=localhost --dbname=sales
> --host2=192.168.1.15 --dbname2=sales --warning=10
> --repinfo=ip_map,id,44399,name,slon,nols
> ERROR: No slaves found

I think this is an unfortunate case of not being backwards-compatible. The 
"xxx2" format is deprecated. Try using --host=localhost --host=192.168.1.15
or simply --host=localhost,192.168.1.15

I will working on making the next version quietly accept the old style and 
change it behind the scenes to the new one.

-- 
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: 163 bytes
Desc: Digital signature
URL: <https://mail.endcrypt.com/pipermail/check_postgres/attachments/20141030/b014e958/attachment.sig>


More information about the Check_postgres mailing list