On 17. jan. 2006, at 09.41, [EMAIL PROTECTED] wrote:
These struggles would be unncessary only if I knew how to "speak" to postgres directly...
That is the key, monit provides a connected socket for you and instead of linking in the postgres client library to ping the server, you should send data using the postgres network protocol. Unless you can find documentation for the protocol, fire up Ethereal and see what happens both ways when when you send e.g. this query to postgres "select 1;" then send and expect those packages. Look at the protocol tests for mysql and oracle for inspiration.
-- Jan-Henrik Haukeland Mobil +47 97141255 -- To unsubscribe: http://lists.nongnu.org/mailman/listinfo/monit-general
