check_http content check replacing semicolon
Posted: Mon Jul 25, 2016 1:48 pm
When trying to check the literal string content in a check_http command, all semicolons change to encoded '%3B' which then fails the content check.
using check_xi_service_http
check_http -s 'this;is;a;check'
turns into
check_http -s 'this%3Bis%3Ba%3Bcheck'
and then fails.
We have worked around this with a regex check but this is cumbersome since there are many semicolons that need to be replaced in the matched string.
using check_xi_service_http
check_http -s 'this;is;a;check'
turns into
check_http -s 'this%3Bis%3Ba%3Bcheck'
and then fails.
We have worked around this with a regex check but this is cumbersome since there are many semicolons that need to be replaced in the matched string.