status code http monitor

Hey all!

Is there any way the status code from an HTTP Monitor to get out without tcpdump?

Can you elaborate? An HTTP monitor isn’t going to return any data, other than to mark a pool member up or down. If you want to troubleshoot an HTTP monitor, tcpdump is indeed the best way to do that.

For example: I want to see if a pool member status 200 or another status returns

A monitor can look for different status codes to base its up/down decision, so you could configure an HTTP monitor to mark nodes up if the response is a 200 and down if not. But it isn’t going to report back to you, other than node up/down status what the server returned. You could use an external monitor with cURL and have that response logged, but again if you’re just troubleshooting a monitor, your best bet is still tcpdump.