[check_postgres] --host2 and Friends

David E. Wheeler david at justatheory.com
Mon Mar 19 19:11:35 UTC 2012


Checkers,

It used to be that for checks of multiple databases (such as replicate_row), you specified the second host with --host2 and --port2. However, it looks like that was removed in 88568090e49e51683fc6ba86631be749677a3278. It looks as though it works to specify multiple --host parmams. So instead of this:

    check_postgres_replicate_row --host db1 --dbname bar --host2 db2 --dbname2 baz

One must now do this:

    check_postgres_replicate_row --host db --dbname bar --host db2 --dbname bad

I think that's probably okay, but since the first example is still documented in a number of places, I'm wondering:

1. Was this intentional?
2. Should we update the docs?

Thanks,

David





More information about the Check_postgres mailing list