Hello all.

I'm try to write custom check my MsSQL servers. Now I can check they by
network ip and port. But maybe situation, then same MsSQL server is alive,
but database is down.
So, I add my check in proxy.h, cfgparse.c, and checks.c in event_srv_chk_r.
After compile HAProxy is started, but my check can't be implemented.
How I can to make my custom check? Now I was try write in "else if"
function event_srv_chk_r send_log:
send_log (s->proxy, LOG_INFO, "%s\n", "mssql check");
But this string was not gave  any effect. What am I doing wrong?

-- 
Best regards,
Anton Kiryushkin,

Reply via email to