On Wed, 29 May 2024 12:19:15 +0100,
Joel Carnat <[email protected]> wrote:
> 
> Is there a way to specify a User-Agent value for the check http or shall I 
> rather tell relayd to validate on "code 418"?

here two possible way to overstep it.

1. Use `check script /some/script` which uses curl, wget, ftp or any other
way to make HTTP call which is accepted by that server.

2. Use `check send "HEAD /health HTTP/1.1\r\nHost: host\r\nUser-Agent: 
dummy\r\n\r\n" expect "200 OK HTTP/1.1"`

(I haven't tested it, it may contains typos, but it should make an idea)

-- 
wbr, Kirill

Reply via email to